X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fbuilds.sh;h=e7d6f93e515bdfeab072b8bcf14b6dcbb69498da;hb=430ee940993ef0c4eff8e10d631a31cfa1672179;hp=67efdf518cd29a968022d0ea863817f45dd21fd2;hpb=235fda6223f50141b8e3ea1e3626767d18285002;p=infrastructure.git diff --git a/scripts/builds.sh b/scripts/builds.sh index 67efdf5..f674a6b 100755 --- a/scripts/builds.sh +++ b/scripts/builds.sh @@ -1,47 +1,71 @@ #!/bin/bash -# tentatively trash all qemu instances as the pool is broken with threesome tests -manage-infrastructure.py -qrs >& /dev/null - -# test the 32 builds with a single plc, tests tend to fail with a triangle setup -# probably due to 32bits qemu machines being much slower -# another approach would be to increase the ssh_slice timeout - -function liquid () { hostname | grep -q liquid ; } -function reed () { hostname | grep -q reed ; } -function velvet () { hostname | grep -q velvet ; } +# if run with -s (single) we only run one build per box +[ "$1" == "-s" ] && { shift; SINGLE=true; } # the tests flavours available # -B means no test -# default for the tests setup is one myplc +# -e step : mark a step as exclude (do not run it at all) +# -i step : mark a step as ignore (run it, but keep going if it fails) +# -c default for the tests setup is one myplc # -c dual has two myplc's - pointing to each other AMs # -c triangle has three - ditto # -c sfamesh makes them point to SMs +# -c bignode is to allow one hour for the node to install +# -c config -c sfadebug - turn on sfa debug +# -y pg testing only the pg rspecs + +# XXX historically we had several build boxes +#function liquid () { hostname | grep -q liquid ; } +#function reed () { hostname | grep -q reed ; } +#function buzzcocks () { hostname | grep -q buzzcocks ; } + +/root/bin/lbuild-nightly.sh -f f21 -b @DATE@--f21 -e check-initscripts & + +[ -n "$SINGLE" ] && exit +/root/bin/lbuild-nightly.sh -f f22 -b @DATE@--f22 -e check-initscripts & +/root/bin/lbuild-nightly.sh -f f14 -b @DATE@--f14 -d onelab & +#/root/bin/lbuild-nightly.sh -f f20 -b @DATE@--f20 -e check-initscripts & + + +### sfa from branch +#/root/bin/lbuild-nightly.sh sfa-GITPATH=git://git.onelab.eu/sfa.git@master tests-GITPATH=git://git.onelab.eu/tests.git@master -f f21 -b @DATE@--f21-sfa -e check-initscripts & + +### older fedoras +#/root/bin/lbuild-nightly.sh -f f18 -b @DATE@--f18 & +### 32bits build for the yum arch patch - do not forget to protect this within a call to linux32 +#linux32 /root/bin/lbuild-nightly.sh -f f14 -p linux32 -b @DATE@--f14-32 -d onelab + +exit + +########## oldies + +### sfa + manifold + myslice +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy -b @DATE@--f10n-deb-w debian -B +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f jessie -b @DATE@--f10n-deb-j debian -B +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f saucy -b @DATE@--f10n-ubu-s debian -B +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f trusty -b @DATE@--f10n-ubu-t debian -B +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f utopic -b @DATE@--f10n-ubu-u debian -B + + +########## probably obsolete + +### nodemanager for ubuntu - giving up for now +#/root/bin/lbuild-nightly.sh -d lxc -f trusty -P develdeb.pkgs -W http://debian.onelab.eu/ -b @DATE@--nm-ubu-t -B nodemanager-GITPATH=git://git.onelab.eu/nodemanager.git@master ALL=nodemanager debian + +#################### +# wextoolbox +# bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc) +# f14 +#/root/bin/lbuild-nightly.sh -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32 -e check_system_slice -c default -c bignode +# f16 +# for now this is failing because the nodeimage plain (uncompressed) package is too big, cpio seems to have a 2Gb limit +#/root/bin/lbuild-nightly.sh -d wexlxc -f f18 -b @DATE@--wexlxc-f18-64 -c default -c bignode +# f18 - never tried yet -# 2.6.27 kernel on f8 -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f8 -p linux32 -b @DATE@--f8-32-testtag tests-GITPATH=git://git.planet-lab.org/tests.git@tests-5.0-29 -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f8 -p linux64 -b @DATE@--f8-64 -c triangle -c sfamesh -# 2.6.32 kernel on f15 is broken -# liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f15 -p linux64 -b @DATE@--f15-64 -B - -# 2.6.27 kernel on f12 -reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f12 -p linux32 -b @DATE@--f12-32-sfasl sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab -reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f12 -p linux64 -b @DATE@--f12-64 -c triangle -c sfamesh - -# f14 - needs 2.6.32 -velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f14 -p linux32 -b @DATE@--f14-32-sfagen sfa-GITPATH=git://git.f-lab.fr/sfa.git@generic -velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f14 -p linux64 -b @DATE@--f14-64 -c triangle -c sfamesh -# test sfa with loops -#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f14 -p linux64 -b @DATE@--k32-f14-64 -c triangle -c sfamesh - -# wextoolbox on f14 (gnuradio is in f14 only) -#reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32 -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64 - -######################################## -########## f12 bootstrap : vserver-capa2.6.32, util-vserver and yum, for a plain fedora 12 build or test box -########## enable on a need-by-need basis -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B +#################### +# build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box +#/root/bin/lbuild-nightly.sh -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B ### same software release but built on f14 - kernel excluded as, # for some reason, we have to use the one built on f12 -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B +#/root/bin/lbuild-nightly.sh -d f14 -f f14 -b @DATE@--f14-f14-64 -B