X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fbuilds.sh;h=14c635bd2a9dfd70c514571ccabbee64069870f3;hb=93a7dc73b4c0fccde322f1186c4f896131c90b84;hp=6883d67ad573b8bab97694137245db861eed2418;hpb=7c351a06eb644cc17badd17b4035530c54529c7d;p=infrastructure.git diff --git a/scripts/builds.sh b/scripts/builds.sh index 6883d67..96bbf4d 100755 --- a/scripts/builds.sh +++ b/scripts/builds.sh @@ -1,66 +1,40 @@ #!/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 +# -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 -# -X : this means use an lxc box to run the vplc (default) -# -S : this means use an lxc box to run the vplc (hopefully this won't be needed) - -function liquid () { hostname | grep -q liquid ; } -function reed () { hostname | grep -q reed ; } -function velvet () { hostname | grep -q velvet ; } - - -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f18 -p linux64 -b @DATE@--lxc18 -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -# wextoolbox on f14 (gnuradio is in f14 only) -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32 -e check_system_slice -c default -c bignode -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64 -#################### -# wextoolbox on f16 -# bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc) -# for now this is failing because the nodeimage plain (uncompressed) package is too big, cpio seems to have a 2Gb limit -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wexlxc -p linux64 -f f18 -b @DATE@--wexlxc-f18-64 -c default -c bignode - - -reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64 -reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux64 -b @DATE@--f12-64 - +# -c config -c sfadebug - turn on sfa debug +# -y pg testing only the pg rspecs -velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32-sfav2-dual -c dual -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 tests-GITPATH=git://git.onelab.eu/tests.git@master -velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32-sfav3 -c default -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 tests-GITPATH=git://git.onelab.eu/tests.git@sfa-geni-v3 +# May 2018: check-initscripts is no longer part of the standard test suite +# Dec 2018: check-tcp is no longer part of the standard test suite +# Mar 2019: sfa is python3 +# Apr 2019: retrofit - default is sfa-4.0.3 i.e. python2, too much fuss otherwise -# debians & ubuntus -#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://debian.onelab.eu/ -f squeeze -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfasqueeze ALL=sfa sfa-debian -B -velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://debian.onelab.eu/ -f wheezy -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfawheezy ALL=sfa sfa-debian -B -#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://debian.onelab.eu/ -f oneiric -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaoneiric ALL=sfa sfa-debian -B -#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://debian.onelab.eu/ -f precise -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaprecise ALL=sfa sfa-debian -B -velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://debian.onelab.eu/ -f quantal -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaquantal ALL=sfa sfa-debian -B +/root/bin/lbuild-nightly.sh -f f31 -b @DATE@--f31 & +[ -n "$SINGLE" ] && exit +/root/bin/lbuild-nightly.sh -f f29 -b @DATE@--f29 & +/root/bin/lbuild-nightly.sh -f f31 -b @DATE@--f31-sfapy3 sfa-GITPATH=git://git.onelab.eu/sfa.git@python3 & +# this once just to check +#/root/bin/lbuild-nightly.sh -f f29 -b @DATE@--py2-f29 -t lxcpy2-tags.mk & +#/root/bin/lbuild-nightly.sh -f f27 -b @DATE@--py2-f27 -t lxcpy2-tags.mk & -###### 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 +### sfa from stable +# fedora=f25; branch=noslicemgr; name=${branch} +#/root/bin/lbuild-nightly.sh -f $fedora -b @DATE@--${fedora}-${name} sfa-GITPATH=git://git.onelab.eu/sfa.git@${branch} & +#/root/bin/lbuild-nightly.sh -f f27 sfa-GITPATH=git://git.onelab.eu/sfa.git@master tests-GITPATH=git://git.onelab.eu/tests.git@master -b @DATE@--f27-sfa & -#################### newinterface -### newinterface on f16 -###liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16-nint -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 -f f14 -p linux64 -b @DATE@--f14-64-nint plcapi-GITPATH=git://git.onelab.eu/plcapi.git@newinterface -#################### -# 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 -### 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 +exit # END - for my-builds +########## oldies