Req #69042 [Csd]: Regular snapshot builds of php/php-src

From: Date: Wed, 25 Feb 2015 18:32:11 +0000
Subject: Req #69042 [Csd]: Regular snapshot builds of php/php-src
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190945@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69042&edit=1

 ID:                 69042
 User updated by:    hiro+php at travis-ci dot org
 Reported by:        hiro+php at travis-ci dot org
 Summary:            Regular snapshot builds of php/php-src
 Status:             Closed
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   N/A
 PHP Version:        master-Git-2015-02-12 (snap)
 Assigned To:        jacob
 Block user comment: N
 Private report:     N

 New Comment:

Hi, Jacob,

We ended up hosting the nightly build archive on our S3 bucket. (And announced it to the world
earlier today.) We'll see how much bandwidth we consume.

https://twitter.com/travisci/status/570616566171242497
http://docs.travis-ci.com/user/languages/php/#PHP-nightly-builds


Previous Comments:
------------------------------------------------------------------------
[2015-02-18 20:50:35] jacob@php.net

Hey,

Thanks for your understanding here - I know it's not always ideal to push this
sort of thing back to the end user services.

> I think we can host the archives for our use, and see how it goes.

Would love to know what you guys end up with! Let me know how you progress and
if you need any assistance, I would be happy to set some time aside for it.

------------------------------------------------------------------------
[2015-02-18 02:14:42] hiro+php at travis-ci dot org

Hi, Jacob,

Thanks for checking. I appreciate the effort you expended on our behalf. I also understand that the
dev team decided not to pursue it.

I think we can host the archives for our use, and see how it goes.

You can close this ticket now.

Thanks again!

------------------------------------------------------------------------
[2015-02-17 23:12:45] jacob@php.net

Hey,
Apologies on the delay in getting back to you on this - I've had a tough time
trying to get all of the right people online at the same time! Thanks for those
usage stats, they came in handy.

I haven't been able to get a definite answer on the uploading the php/php-src
build artifact to another source for download and from the feedback I received,
it wasn't something people were interested in using (for the development team
anyway). Outside of the internals team, the nightly build probably isn't
something we would be encouraging people to use as it's sometimes quite
unstable and prone to breakage.

I would still like to probe further into this one as I can see benefit however
I'm not sure when, if ever, this would be implemented so I would rather not
leave this ticket lingering. Are you ok for me to close this one off? Or do you
have further questions? 

NB: The references to http://snaps.php.net have been removed from
across the PHP
site to eliminate any further confusion.

------------------------------------------------------------------------
[2015-02-14 22:12:23] hiro+php at travis-ci dot org

Hi, Jacob,

We compile all other versions with php-build at image provisioning time, so we are all set for
those.

The bandwidth requirement is a bit hard to estimate; it depends on how popular "php 7
nightly" is going to be.

Currently, on .org (for public repositories) we run about 10000 PHP builds over the course of a
calendar month. Of these, I believe about 25% include builds with 5.6, which seems a good upper
bound for what we can expect to have for the "php 7 nightly". We run slightly fewer PHP
builds on .com, but I suspect that demands for the bleeding edge versions are a lot less (almost
negligible, even) there.

The archive is about 18MB, That adds up to about 450 GB of bandwidth in a month. Let's say 500
GB to overestimate the cost. Do note that about 1/3 of the builds mentioned above seem to be running
on the new container builds on EC2, so if we put stuff on S3, we'll save some bandwidth.

------------------------------------------------------------------------
[2015-02-14 05:58:45] jacob@php.net

> Thanks for looking into it. Our needs are limited; at the moment, we only need
> an archive for Ubuntu Precise (also on Trusty in the near future) on x86_64.
> (And I don't see this expanding much before PHP 7 is released.)

Could you use the 5.4[1] and 5.5[2] PPA's for Precise (and down the track
Trusty)? Or would you only be interested in the source? If you use apt-get, you
could look at using an apt cacher to only download it once but serve to multiple
builds and save bandwidth.

> Since php/php-src is building on Travis CI already, one thing we can try is to
> upload the resulting archive to a place where Travis (and perhaps some brave
> souls among your user base) can download subsequently.

Sure! Let me shoot out an email to the internals and see whether it's something
everyone can see some benefit in adding. In doing this, we may also get some
insight for your next point.

> Do you have a place suitable for such storage?

I am not sure on as most mirrors for PHP are sponsored so I would need to
investigate what is involved in getting this setup. Do you know what sort of
bandwidth this would consume?

[1]: https://launchpad.net/~ondrej/+archive/ubuntu/php5-oldstable

[2]: https://launchpad.net/~ondrej/+archive/ubuntu/php5

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=69042


--
Edit this bug report at https://bugs.php.net/bug.php?id=69042&edit=1


Thread (14 messages)

« previous php.bugs (#190945) next »