From: thierry Date: Mon, 5 May 2008 09:25:23 +0000 (+0000) Subject: do not invoke centos builds when re-testing X-Git-Tag: foo~334 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9eb1fe130511adf591a5b4622f649d1c0087d39d;p=infrastructure.git do not invoke centos builds when re-testing --- diff --git a/scripts/all-builds.sh b/scripts/all-builds.sh index 065805c..55ce3a4 100755 --- a/scripts/all-builds.sh +++ b/scripts/all-builds.sh @@ -78,19 +78,22 @@ done ############################## 4.2/centos5 # centos5 : for both archs, make the vserver rpms -f=centos5 -for d in $TRUNK_DISTRO ; do - for bits in $BITS ; do - p=linux${bits} - s=$(shortname $d) - buildname="@DATE@--tr${s}-c5vs-${bits}" -# buildname="${d}-4.2-rc2.1lab-${f}-${bits}" - command="/root/bin/vbuild-nightly.sh -m onelab-build@one-lab.org \ +# does not test, so skip if test is requested +if [ -z "$TEST" ] ; then + f=centos5 + for d in $TRUNK_DISTRO ; do + for bits in $BITS ; do + p=linux${bits} + s=$(shortname $d) + buildname="@DATE@--tr${s}-c5vs-${bits}" +# buildname="${d}-4.2-rc2.1lab-${f}-${bits}" + command="/root/bin/vbuild-nightly.sh -m onelab-build@one-lab.org \ -d $d -p $p -f $f -t ${d}-tags-4.2.mk \ -b $buildname -B vserver" - run $command + run $command + done done -done +fi ############################## TRUNK # raw - std planetlab x f8 x 32bits for deploying on alpha nodes