X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fbuilds.sh;h=13f1c6252174c6cd9b9356f3e00e81aa87f2856f;hb=32a385a8f6ff120473bab21983c58ed18983f45b;hp=ff0fbd6c2dd429819e0833ca5db95f5118c4dc52;hpb=81dafee05d9c49a0ce5c5999f9fd0e69303244f8;p=infrastructure.git diff --git a/scripts/builds.sh b/scripts/builds.sh index ff0fbd6..ae15a88 100755 --- a/scripts/builds.sh +++ b/scripts/builds.sh @@ -1,65 +1,74 @@ #!/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 + +# 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 ; } + +buzzcocks && /root/bin/lbuild-nightly.sh -f f20 -b @DATE@--f20 -e check-initscripts & +buzzcocks && /root/bin/lbuild-nightly.sh -f f21 -b @DATE@--f21 -e check-initscripts & +buzzcocks && /root/bin/lbuild-nightly.sh -f f22 -b @DATE@--f22 -e check-initscripts & + +[ -n "$SINGLE" ] && exit + +#buzzcocks && /root/bin/lbuild-nightly.sh -f f18 -b @DATE@--f18 & +#buzzcocks && /root/bin/lbuild-nightly.sh -f f14 -b @DATE@--f14 -d onelab & + +### sfa from branch +#buzzcocks && /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 & + +exit -function liquid () { hostname | grep -q liquid ; } -function reed () { hostname | grep -q reed ; } -function velvet () { hostname | grep -q velvet ; } - -#################### lxc on f14 and f16 -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -X -# lxc17 is broken for now - f12 vs-capable build box like liquid can't seem to create the build VMs b/c of some rpm limitations -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f17 -p linux64 -b @DATE@--lxc17 -X -# 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 - - -# 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 -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 -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-sfam -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@sfa.git@master - -###### 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 +########## oldies + +#liquid && /root/bin/lbuild-nightly.sh -f f14 -b @DATE@--f14 -d onelab +#liquid && /root/bin/lbuild-nightly.sh -f f21 -b @DATE@--f21 +#reed && /root/bin/lbuild-nightly.sh -f f20 -b @DATE@--f20 + +### 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 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 +#liquid && /root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f utopic -b @DATE@--f10n-ubu-u debian -B + +### 32bits build for the yum arch patch - do not forget to protect this within a call to linux32 +#reed && linux32 /root/bin/lbuild-nightly.sh -f f14 -p linux32 -b @DATE@--f14-32 -d onelab + +########## probably obsolete + +### 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 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 +# 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 #################### # 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 - -#################### 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 +#liquid && /root/bin/lbuild-nightly.sh -d f14 -f f14 -b @DATE@--f14-f14-64 -B