You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Donald Woods <dw...@apache.org> on 2009/01/09 20:37:57 UTC
Automated builds
Was wondering if there would be any interest in setting up automated
builds of trunk and the active branches, which would send out Build
Success notices to scm@openjpa and Failure notices with context around
the build failure to dev@openjpa?
We've been using such scripts on the Apache Geronimo project and it has
been very useful to quickly see when a committed change is causing a
build break or unit test failures.
I have a copy of our script from Geronimo updated to build OpenJPA and
am testing it against trunk right now. Unless someone objects or if
there is already another build system in place, I'll create a patch that
can be applied to sandboxes and will setup a machine I have to start
building trunk, branches/1.2.x and branches/1.3.x.
-Donald
Re: Automated builds
Posted by Donald Woods <dw...@apache.org>.
Short-term, I was just going to setup builds on a SUSE guest vm I have
(at IBM) to run the default "mvn install" goal and then start expanding
from there (maybe to include other DBs and a Windows/MSSQL vm.)
Longer-term, we can have the OpenJPA PMC ask the Geronimo PMC to create
a Ubuntu guest VM on one of the ASF servers (phoebe/selene.apache.org)
we use for TCK testing. Access to the vm would be limited to those who
have signed the Sun TCK NDA, as you can only access the guest VMs via
ssh from the host system (selene/phoebe.)
-Donald
Kevin Sutter wrote:
> Donald,
> This sounds quite interesting. Who provides these build systems? Would
> this processing just do the compile target, or does it perform the testing
> as well? What about the databases? Our junit bucket works with Derby, by
> default.
>
> If this type of processing could be done on Apache infrastructure servers, I
> think that's great. I was under the impression that this type of processing
> was left up to those entities that were interested. For example, Patrick
> Linskey (BEA) used to do this type of processing and communicate the results
> as needed. We have picked up some of this processing for the releases that
> we're interested in (IBM). But, having a generalized solution for any
> release would be nice.
>
> Tell me more... :-)
> Thanks,
> Kevin
>
> On Fri, Jan 9, 2009 at 1:37 PM, Donald Woods <dw...@apache.org> wrote:
>
>> Was wondering if there would be any interest in setting up automated builds
>> of trunk and the active branches, which would send out Build Success notices
>> to scm@openjpa and Failure notices with context around the build failure
>> to dev@openjpa?
>>
>> We've been using such scripts on the Apache Geronimo project and it has
>> been very useful to quickly see when a committed change is causing a build
>> break or unit test failures.
>>
>> I have a copy of our script from Geronimo updated to build OpenJPA and am
>> testing it against trunk right now. Unless someone objects or if there is
>> already another build system in place, I'll create a patch that can be
>> applied to sandboxes and will setup a machine I have to start building
>> trunk, branches/1.2.x and branches/1.3.x.
>>
>>
>>
>> -Donald
>>
>
Re: Automated builds
Posted by Kevin Sutter <kw...@gmail.com>.
Donald,
This sounds quite interesting. Who provides these build systems? Would
this processing just do the compile target, or does it perform the testing
as well? What about the databases? Our junit bucket works with Derby, by
default.
If this type of processing could be done on Apache infrastructure servers, I
think that's great. I was under the impression that this type of processing
was left up to those entities that were interested. For example, Patrick
Linskey (BEA) used to do this type of processing and communicate the results
as needed. We have picked up some of this processing for the releases that
we're interested in (IBM). But, having a generalized solution for any
release would be nice.
Tell me more... :-)
Thanks,
Kevin
On Fri, Jan 9, 2009 at 1:37 PM, Donald Woods <dw...@apache.org> wrote:
> Was wondering if there would be any interest in setting up automated builds
> of trunk and the active branches, which would send out Build Success notices
> to scm@openjpa and Failure notices with context around the build failure
> to dev@openjpa?
>
> We've been using such scripts on the Apache Geronimo project and it has
> been very useful to quickly see when a committed change is causing a build
> break or unit test failures.
>
> I have a copy of our script from Geronimo updated to build OpenJPA and am
> testing it against trunk right now. Unless someone objects or if there is
> already another build system in place, I'll create a patch that can be
> applied to sandboxes and will setup a machine I have to start building
> trunk, branches/1.2.x and branches/1.3.x.
>
>
>
> -Donald
>
Re: Automated builds
Posted by Kevin Sutter <kw...@gmail.com>.
Don,
This looks and sounds like something worthwhile to pursue.
To be honest, I am more interested in getting the builds and test buckets
run against Oracle on a regular basis. Derby gets used by everybody and we
tend to cover the IBM databases. Any chance you can set your system up to
run against Oracle?
Also, I know that access to the TCK is an issue for many of the OpenJPA
developers. So, unless someone else speaks up, I don't know if you would
get any takers on that one.
Thanks,
Kevin
On Fri, Jan 9, 2009 at 2:57 PM, Donald Woods <dw...@apache.org> wrote:
> Sample email body for a successful build -
>
>
> OpenJPA 2.0 Revision 733145 built with tests included
>
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19 minutes 58 seconds
> [INFO] Finished at: Fri Jan 09 15:51:09 EST 2009
> [INFO] Final Memory: 30M/99M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
>
> Donald Woods wrote:
>
>> Was wondering if there would be any interest in setting up automated
>> builds of trunk and the active branches, which would send out Build Success
>> notices to scm@openjpa and Failure notices with context around the build
>> failure to dev@openjpa?
>>
>> We've been using such scripts on the Apache Geronimo project and it has
>> been very useful to quickly see when a committed change is causing a build
>> break or unit test failures.
>>
>> I have a copy of our script from Geronimo updated to build OpenJPA and am
>> testing it against trunk right now. Unless someone objects or if there is
>> already another build system in place, I'll create a patch that can be
>> applied to sandboxes and will setup a machine I have to start building
>> trunk, branches/1.2.x and branches/1.3.x.
>>
>>
>>
>> -Donald
>>
>>
Re: Automated builds
Posted by Donald Woods <dw...@apache.org>.
Sample email body for a successful build -
OpenJPA 2.0 Revision 733145 built with tests included
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19 minutes 58 seconds
[INFO] Finished at: Fri Jan 09 15:51:09 EST 2009
[INFO] Final Memory: 30M/99M
[INFO]
------------------------------------------------------------------------
Donald Woods wrote:
> Was wondering if there would be any interest in setting up automated
> builds of trunk and the active branches, which would send out Build
> Success notices to scm@openjpa and Failure notices with context around
> the build failure to dev@openjpa?
>
> We've been using such scripts on the Apache Geronimo project and it has
> been very useful to quickly see when a committed change is causing a
> build break or unit test failures.
>
> I have a copy of our script from Geronimo updated to build OpenJPA and
> am testing it against trunk right now. Unless someone objects or if
> there is already another build system in place, I'll create a patch that
> can be applied to sandboxes and will setup a machine I have to start
> building trunk, branches/1.2.x and branches/1.3.x.
>
>
>
> -Donald
>