[Anthill-pro] old buildlife code on agent disk
Buschmann, Peter D
buschma at uhc.com
Wed Oct 21 10:03:02 CDT 2009
Our setup is that every workflow builds in its own directory:
[some]/[dir]/projects/[myproject]/[myworkflow]. For example:
projects/project1/build_trunk
projects/project1/build_branch1
projects/project2/build_trunk
This means that we always use a certain (more or less constant) amount
of disk space on this filesystem. Of course, the amount grows as we add
workflows and projects, but the disk space used is independent of the
number of build lives. This approach, though, allows us to minimize
repository checkout time, as each new build life needs only to update an
existing checkout rather than do a repository checkout from scratch.
After some time, development stops on, say, project1/branch1, and begins
on project1/branch2. For a time, then, we'll have these working
directories:
projects/project1/build_trunk
projects/project1/build_branch1
projects/project1/build_branch2
projects/project2/build_trunk
But, per my earlier note, after 'x' number of days, we recognize that
project1/build_branch1 is no longer being used, and delete it.
Locking of the working directory is implicit (as long as each agent has
its own working directory filesystem), i.e. we do nothing special to
lock the working directory for the duration of the build.
Disk use on the server is a whole other question, and has a lot to do
with quantity of build lives and cleanup (inactivate, archive and
deletion) policies.
Peter
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Wright,
Cameron
Sent: Wednesday, October 21, 2009 9:21 AM
To: AnthillPro user and support list.
Subject: RE: [Anthill-pro] old buildlife code on agent disk
I think that we are going to move to this model.
When you reuse the project-specific dir do you have to lock that
resource for the duration of the workflow?
TIA
Cameron
:::-----Original Message-----
:::From: anthill-pro-bounces at lists.urbancode.com
:::[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf :::Of
Michael Feinberg
:::Sent: Wednesday, October 21, 2009 9:01 AM
:::To: anthill-pro at lists.urbancode.com
:::Subject: [Anthill-pro] old buildlife code on agent disk
:::
:::I have configured agent to reuse "per-project-specific"
:::directory for builds (sacrificing potential possibility for
:::parallelism) - that insures that once the agent's disk space :::usage
peaks, it will stabilize and stay constant.
:::
:::What is your setup? What build-life directories are left on :::your
agents?
:::Do you have any server-side space leaks?
:::
:::thanks
:::_mike
:::
:::_______________________________________________
:::Anthill-pro mailing list
:::Anthill-pro at lists.urbancode.com
:::http://lists.urbancode.com/mailman/listinfo/anthill-pro
:::
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
More information about the Anthill-pro
mailing list