X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fbuilds.sh;h=3e2c194cadc4c449035084d8f221b0b6cceb94be;hb=e051c932820ea10b1f9cd13d257ad93cfa4218a7;hp=19240a74196caab535462374f8041cb0c875ab12;hpb=5b038100f00c77d7acf49d9a348759da658e1f91;p=infrastructure.git diff --git a/scripts/builds.sh b/scripts/builds.sh index 19240a7..f8dfd2a 100755 --- a/scripts/builds.sh +++ b/scripts/builds.sh @@ -1,69 +1,72 @@ #!/bin/bash +# 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 function liquid () { hostname | grep -q liquid ; } function reed () { hostname | grep -q reed ; } function velvet () { hostname | grep -q velvet ; } -#################### lxc on f14 and f16 -# currently we have the following limitations with lxc -# tcp is not yet available for a lack of port forwarding -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -X -e check_tcp -# wextoolbox on f14 (gnuradio is in f14 only) -# DistributedRateLimiting is not built in this distro -#liquid && /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 +### have each box run one main distro build +liquid && /root/bin/lbuild-nightly.sh -f f14 -b @DATE@--f14 -d onelab +reed && /root/bin/lbuild-nightly.sh -f f18 -b @DATE@--l18 -c default -c no_omf +velvet && /root/bin/lbuild-nightly.sh -f f20 -b @DATE@--l20 -c default -c no_omf + +[ -n "$SINGLE" ] && exit +### +liquid && /root/bin/lbuild-nightly.sh -f f18 -b @DATE@--sfa3 -c default -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 -# f12 on reed - no SFA any more -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 -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 -# try out the lxc-ready nodemanager on vserver -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-lxcnm nodemanager-GITPATH=git://git.planet-lab.org/nodemanager.git@lxc_devel +### focus on building again, so only wheezy for now +reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy -b @DATE@-manifold-w ALL=manifold manifold-debian -B +velvet && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy -b @DATE@-myslice-w ALL=myslice myslice-debian -B +# both in one build as myslice requires manifold +reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy -b @DATE@-mm ALL=manifold ALL+=myslice manifold-debian myslice-debian -B +#reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f jessie -b @DATE@-manifold-j ALL=manifold manifold-debian -B +#velvet && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f jessie -b @DATE@-myslice-j ALL=myslice myslice-debian -B +#reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f saucy -b @DATE@-manifold-s ALL=manifold manifold-debian -B +#velvet && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f saucy -b @DATE@-myslice-s ALL=myslice myslice-debian -B + +######################################## +# debians & ubuntus for sfa +liquid && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f raring sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 -b @DATE@-sfa3-r ALL=sfa sfa-debian -B +#reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f squeeze sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfasqueeze ALL=sfa sfa-debian -B +###summer-mode###reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfawheezy ALL=sfa sfa-debian -B +#reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f oneiric sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaoneiric ALL=sfa sfa-debian -B +#reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f precise sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaprecise ALL=sfa sfa-debian -B +###summer-mode###reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f quantal sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaquantal ALL=sfa sfa-debian -B +###summer-mode###reed && /root/bin/lbuild-nightly.sh -P develdeb.pkgs -W http://debian.onelab.eu/ -f quantal sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 -b @DATE@-sfa3quantal ALL=sfa sfa-debian -B -# f14 -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 -# f14-32 has sfadebug enabled (loglevel=debug) and runs in dual mode -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 -c default -c sfadebug -c dual -# this one is configured to run sfa in standalone mode, using flavour=void and a limited set of test steps -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-sfastd1 -c default -c sfadebug -c sfavoid -x sfa-standalone +#################### +# wextoolbox +# bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc) +# f14 +#liquid && /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 +#liquid && /root/bin/lbuild-nightly.sh -d wexlxc -f f18 -b @DATE@--wexlxc-f18-64 -c default -c bignode +# f18 - never tried yet -###### testing only the pg rspecs -# -y pg -###### triangular tests -# -c triangle -c sfamesh -###### sfa debug -# -c config -c sfadebug ###### senslab - not much to test # sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2 -#################### newinterface -### newinterface on f16 -###liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16-nint -X -e check_initscripts -e check_tcp plcapi-GITPATH=git://git.onelab.eu/plcapi.git@newinterface -### newinterface on f14 -###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-nint plcapi-GITPATH=git://git.onelab.eu/plcapi.git@newinterface - -#################### -# wextoolbox on f16 - this one is broken - bbn won't build -# OTOH T. Turletti said bbn was not crucial.. -# see wexlxc.mk in wextoolbox (branch wexlxc) -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wexlxc -p linux64 -f f16 -b @DATE@--wexlxc-f16-64 - #################### # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B +#liquid && /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 +#liquid && /root/bin/lbuild-nightly.sh -d f14 -f f14 -b @DATE@--f14-f14-64 -B -#################### lxc with f14 - failed ssh_slice last time this was checked on april 23 2012 -# DONT test this with --lxc, this tends to create odd problems with gotan's date and network settings as well -# currently is known to fail creating slices due to cgroups mount points or something -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f14 -p linux64 -b @DATE@--lxc14 -e check_initscripts -e check_tcp