On Mon, 14 Mar 2005 16:55:57 -0500, Sean Schofield
<[EMAIL PROTECTED]> wrote:
> That was the plan.  Do you mind if I take a look at your script (your
> chron script, not your maven one.)?  Also, how do you handle the file
> "rotation" issue?

For the nightly builds that I publish (Jakarta Commons, old-style
Struts ones that will likely go away), I have a cron job set up in my
home directory on the server to do the cleanups.  An example line (for
the Commons nightly builds) is:

03 04 * * * find /www/cvs.apache.org/builds/jakarta-commons/nightly
-mtime +7 -exec rm \{\} \; >/dev/null 2>&1

which runs every night and cleans out files older than seven days. 
That can be set up for whomever is actually going to do the uploads.

Craig

PS to James:  we'll want this enabled on your Maven-based nightlies as
well, to avoid issues of undue disk consumption here.




> 
> sean
> 
> 
> On Mon, 14 Mar 2005 16:47:56 -0500, James Mitchell <[EMAIL PROTECTED]> wrote:
> > Why don't you just publish the nightlies to a known location
> >
> > (for example)
> >
> >  /www/incubator.apache.org/myfaces/nightlies
> >
> > I am currently building a set of nightlies for Struts (via Maven instead of
> > Ant).
> > My script does a refresh from svn, then build, then scp (which pushes them
> > out to):
> >
> >  /www/cvs.apache.org/builds/struts/maven/dist/
> >
> >  http://svn.apache.org/builds/struts/maven/dist/
> >
> > --
> > James Mitchell
> > Software Engineer / Open Source Evangelist
> > EdgeTech, Inc.
> > 678.910.8017
> > AIM: jmitchtx
> >
> > ----- Original Message -----
> > From: "Sean Schofield" <[EMAIL PROTECTED]>
> > To: "MyFaces Development" <[email protected]>
> > Sent: Monday, March 14, 2005 3:50 PM
> > Subject: Nightly builds
> >
> > > Martin (Cooper),
> > >
> > > Have we made any progress on finding a build machine?  As we approach
> > > release time I think it would be good for us to have nightlies.  The
> > > Gump folks were unresponsive to my inquiries into using their machine.
> > >
> > > I'm going to suggest that we use Martin C's server to perform the
> > > nightly builds in the meantime.  This way we can test the release
> > > script, etc. and everyone can be working off the same nightly build
> > > when testing before release time.
> > >
> > > My proposal is to host the bootstrap.xml build on Martin's server.  (I
> > > know this is not an ASF machine but we use his server for other things
> > > already.)  We can push the nightlies up to CVS using scp (same as how
> > > Struts does it).  We can then alert the infra people and have them
> > > tweak their chron job (if necessary) that removes the files older than
> > > five days.
> > >
> > > Martin M., can you test the latest bootstrap.xml I sent to the list a
> > > few days ago?  I just want to make sure that it works on another
> > > machine.
> > >
> > > Regards,
> > > sean
> > >
> >
> >
>

Reply via email to