Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:56015 php.qa:65936 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4806 invoked from network); 3 Nov 2011 00:46:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2011 00:46:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:55386] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/73-11739-764E1BE4 for ; Wed, 02 Nov 2011 19:46:32 -0500 Received: by ywb26 with SMTP id 26so815839ywb.29 for ; Wed, 02 Nov 2011 17:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uVk5Fznz0DbR343Xh6Q9skATbTER9NILQ67wMcuQL6c=; b=JhVNgLjL8IGVvX5hnkTmIfexHy+kWHnDKQZdq1wZIioLE37YF8P5kvfRttEaTkE8+X 0U3rtLXNShRjpyrum0u9tmp7q5Pwz4D9o6xxzkZccayEQkGnYHLqk7ObYYetMLZ6+yWq JuVs7bqbqrLjFACjPJA8ljHA8rOxnLHRFskJ8= MIME-Version: 1.0 Received: by 10.236.124.97 with SMTP id w61mr9760725yhh.106.1320281189090; Wed, 02 Nov 2011 17:46:29 -0700 (PDT) Received: by 10.146.71.16 with HTTP; Wed, 2 Nov 2011 17:46:29 -0700 (PDT) In-Reply-To: References: <4E66C906.7060402@sugarcrm.com> Date: Thu, 3 Nov 2011 01:46:29 +0100 Message-ID: To: PHP Internals , PHP QA Content-Type: multipart/alternative; boundary=20cf301b64eb47862304b0c9eb25 Subject: Re: [PHP-DEV] CI for 5.4 From: tyra3l@gmail.com (Ferenc Kovacs) --20cf301b64eb47862304b0c9eb25 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 7, 2011 at 11:29 AM, Hannes Magnusson < hannes.magnusson@gmail.com> wrote: > On Wed, Sep 7, 2011 at 03:53, Ferenc Kovacs wrote: > > On Wed, Sep 7, 2011 at 3:29 AM, Stas Malyshev > wrote: > >> Hi! > >> > >> Since we started to pay real attention to our unit tests now, I wonder > if we > >> could set up some kind of frequently-running CI system that could be > used to > >> screen commits and identify breakage early? That'd help with 5.4 > process I > >> think. > >> We have http://gcov.php.net/ but it doesn't run with the frequency I'd > like > >> and since it says the run takes 44 hours it's kind of understandable. > So I > >> wonder if we could have something that just builds it and runs unit > tests > >> and we could see it in the same format as on gcov? Ideally after each > commit > >> would be nice, but say once an hour or two (even fullest unit tests ru= n > >> should take more than that, I think) would be OK too. If we could have > two > >> of them, like Linux & Windows, it'd be even better, but at least one > would > >> be nice. > >> What do you think? > >> -- > >> Stanislav Malyshev, Software Architect > >> SugarCRM: http://www.sugarcrm.com/ > >> (408)454-6900 ext. 227 > >> > >> -- > >> PHP Internals - PHP Runtime Development Mailing List > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > > > > Hi, I also support the idea. > > I would suggest setting up a jenkins(ex-hudson) cluster, it is the > > leading CI product on the market (and a really successful open source > > project), and it is really well-known in the php community as well, > > and because I have used for my other projects in the past(not just for > > php, but for some C apps also). > > Jenkins supports having multiple slave instances running on different > > platforms, nicely bound together, so you only access the master > > instance through your browser, but the builds itself can be off-loaded > > to the slaves ( > > https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds ). > > I would be happy to help setting it up. > > We have wanted to setup some buildbots and testing environments for > years now, and I think we even have several boxes still laying around > for that purposes. > If you think you can handle the initial installation, go for it. > I'll see if I can hunt down the credentials somewhere. > > -Hannes > Hi. We ended up creating a Proof-of-concept Jenkins installation using the server which was originally planned( https://wiki.php.net/internals/buildbot ) to be used for the buildbot setup(obviously Hannes managed to get the credentials \o/), and created an RFC based on the current setup and the ways that it could be extended: https://wiki.php.net/rfc/jenkins Basically it continuously(when the are changes in SVN since the last build) builds our supported branches, runs the phpt testsuite(nicely integrated the test results with jenkins), and also executes the Symfony2 phpunit testsuite for each branch. I think that using Jenkins would be really useful, as it is takes care of the "hard" part of the CI process(distributed build support, integration with every QA tool out there), and the php community is pretty much familiar with it (at least those who are knew what the CI acronym means) plus it is easy to integrate the userland testsuites, as many of those projects already using Jenkins or phpunit, which is nicely integrated with Jenkins, thanks to Sebastian. We knew that Pierre and Dan is working on a distributed build/test environment also, so we are well aware the fact that our work is maybe redundant, or could end up as wasted, but we thought that it still worth the effort. Please check out the RFC, and if you have any question or opinion on the matter, feel free to discuss in this thread. Oh, and of course check out http://ci.qa.php.net/ --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --20cf301b64eb47862304b0c9eb25--