2 # this script is managed under subversion at
3 # http://svn.one-lab.org/infrastructure/scripts/all-builds.sh
4 # it is triggered every night at 0:05 french time on build.one-lab.org aka blitz.inria.fr
6 # tuned for allowing manual re-runs, mostly for tests
8 DEFAULT_PLDISTROS="planetlab onelab"
12 # export any of these to override - this is for manual use only
13 [ -z "$PLDISTROS" ] && { PLDISTROS=$DEFAULT_PLDISTROS ; manual=true ; }
14 [ -z "$FCDISTROS" ] && { FCDISTROS=$DEFAULT_FCDISTROS ; manual=true ; }
15 [ -z "$BITS" ] && { BITS=$DEFAULT_BITS ; manual=true ; }
16 [ -n "$RETRY" ] && { extra_option="$extra_option -o" ; manual=true ; }
17 [ -n "$TEST" ] && { extra_option="$extra_option -T" ; manual=true ; }
18 [ -n "$DRY_RUN" ] && { manual=true ; }
20 for d in $PLDISTROS ; do
21 for f in $FCDISTROS ; do
24 command=/root/bin/vbuild-nightly.sh -m onelab-build@one-lab.org \
27 -b @DATE@--${d}.4.2--${f}-${bits} $test_option
28 [ -n "$manual" ] && echo $command
29 if [ -n "$DRY_RUN" ] ; then
30 echo "dry-run: skipped"
38 # centos5 : for both archs, make the vserver rpms
42 command=/root/bin/vbuild-nightly.sh -m onelab-build@one-lab.org \
43 -f centos5 -p $p -d $d \
45 -b @DATE@--${d}.4.2--c5vs-${bits} \
47 if [ -n "$manual" ] ; then
48 echo "manual: skipped"