X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fbuilds.sh;h=71ca69bd53cc6913fa7ce30b2ff0f6f6c993ae3c;hb=ee775fad58e4fe6ad3402c91044b2d85c01cc148;hp=a14f8f79de747795c6ee923eb2e5e6785420e597;hpb=ca54d7fae0c1d32cc7532088e883f222e62d9c22;p=infrastructure.git diff --git a/scripts/builds.sh b/scripts/builds.sh index a14f8f7..44b342f 100755 --- a/scripts/builds.sh +++ b/scripts/builds.sh @@ -1,65 +1,60 @@ #!/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 -# skip the check_initscripts step -# we want to pass '-x check_initscripts' to te tests script -# but -x '-x check_initscripts' won't work well -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f14 -p linux64 -b @DATE@--lxc14 -x -x -x check_initscripts -x -x -x check_tcp -# testing on f16 is known to be broken - services won't start in the myplc vm - systemd not supported in util-vserver ? -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 - -# 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 - -# 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 sfa-GITPATH=git://git.onelab.eu/sfa.git@master -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 sfa-GITPATH=git://git.onelab.eu/sfa.git@master -c default -c sfadebug -# sfaonly -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-std1 sfa-GITPATH=git://git.onelab.eu/sfa.git@master -c sfa_standalone +### 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@--f18 +velvet && /root/bin/lbuild-nightly.sh -f f20 -b @DATE@--f20 -###### 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 +[ -n "$SINGLE" ] && exit +### sfa from branch +velvet && /root/bin/lbuild-nightly.sh sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 tests-GITPATH=git://git.onelab.eu/tests.git@master -f f18 -b @DATE@--f18-sfa3 +### sfa + manifold + myslice +liquid && /root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy -b @DATE@--f10n-deb-w debian -B +liquid && /root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f jessie -b @DATE@--f10n-deb-j debian -B +liquid && /root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f raring -b @DATE@--f10n-ubu-r debian -B +liquid && /root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f saucy -b @DATE@--f10n-ubu-s debian -B +liquid && /root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f trusty -b @DATE@--f10n-ubu-t debian -B +### nodemanager for ubuntu - giving up for now +#velvet && /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 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 +# 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 + +###### senslab - not much to test +# sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2 #################### # 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 - -#################### -# ### feb. 17 2012 - I'm dropping support for f8 -# # 2.6.32 kernel on f8 -# 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-tri -c triangle -c sfamesh sfa-GITPATH=git://git.onelab.eu/sfa.git@master -# 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 sfa-GITPATH=git://git.onelab.eu/sfa.git@master - -#################### -## f16/lxc_devel - OLD BUILD BRANCH -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -s git://git.onelab.eu/build@lxc_devel -d planetlab -f f16 -p linux64 -b @DATE@--br-lxcdevel-16 -t planetlab-k32-tags.mk -## f14/lxc - OLD BUILD BRANCH -#reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -s git://git.onelab.eu/build@lxc -d planetlab -f f14 -p linux64 -b @DATE@--br-lxc-14 -t planetlab-k32-tags.mk +#liquid && /root/bin/lbuild-nightly.sh -d f14 -f f14 -b @DATE@--f14-f14-64 -B