{section: Current implementation}
-The per-commit runs are submitted from =submit-2.batlab.org= in the =/home/condorauto/per-commit= directory. A single Crondor job exists which wakes up every few minutes and checks for new commits to build. This job simply calls condor_nmi_submit to do the dirty work. Occasionally, someone will condor_rm all of condorauto's jobs, forgetting about this Crondor job. When that happens, the Crondor job will get removed too, stopping the per-commit builds from running (but don't worry - it won't lose state) and someone needs to re-submit the job (see below for instructions).
+The per-commit runs are submitted from =submit-3.batlab.org= in the =/home/condorauto/per-commit= directory. A single Crondor job exists which wakes up every few minutes and checks for new commits to build. This job simply calls condor_nmi_submit to do the dirty work. Occasionally, someone will condor_rm all of condorauto's jobs, forgetting about this Crondor job. When that happens, the Crondor job will get removed too, stopping the per-commit builds from running (but don't worry - it won't lose state) and someone needs to re-submit the job (see below for instructions).
Note that condor_nmi_submit sets the JobPrio such that the most recently submitted build (and test) has the highest priority. Because tests are slow, they usually fall behind in the course of a day, but the most recently submitted ones are started first. Even if it takes overnight for a test run to finish, it can still be very valuable when tracking backwards to find what commit broke a test.
{section: Setting up the per-commit builds}
The per-commit build "code" is in Subversion at =/p/condor/software/svn/condor/per-commit-builds=
-
Follow the README file found in that directory.
+{comment: TJ - I think it's in git now?}
{section: Re-submitting the per-commit builds}
-*: Login to =submit-2.batlab.org= and sudo to the =condorauto= user
+*: Login to =submit-3.batlab.org= and sudo to the =condorauto= user
*: =cd /home/condorauto/per-commit=
*: =condor_submit submit=
+{section: We-winding the per-commit builds for a branch}
+*: Login to =submit-3.batlab.org= and sudo to the =condorauto= user
+*: =cd /home/condorauto/per-commit=
+*: =git --git-dir=/home/condorauto/condor.git tag continuous-build-placeholder-tag-master --force master^=
+
+replace master with the name off the branch you want to rewind.
+
+
{section: Per-commit Native Package Repositories}
The per-commit builds generate RPMs and Debian packages. These are placed into repositories on mirror.batlab.org.