gorillaz not a buildbox anymore
[infrastructure.git] / scripts / builds.sh
index 3c4d12f..b329e49 100755 (executable)
@@ -2,51 +2,74 @@
 
 # the tests flavours available
 # -B means no test
-# default for the tests setup is one myplc
+# -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
 
 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 f14 -p linux64 -b @DATE@--lxc14 -x '-x check_initscripts'
-# 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 -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 linux64 -b @DATE@--f12-64 -c triangle -c sfamesh
-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-sfasl sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
-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-sfaonly -x sfa_standalone sfa-GITPATH=git://git.onelab.eu/sfa.git@master
+# 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
+# lxc on f16 
+liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -X
+#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 f16 -b @DATE@--wexlxc-f16-64 -X -c default -c bignode
 
-# 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 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-alc sfa-GITPATH=git://git.onelab.eu/sfa.git@sqlalchemy -c default -c sfadebug
-# testing only the pg rspecs
-#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-pg -y pg
 
-####################
-# 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
+# 
+reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f18 -p linux64 -b @DATE@--lxc18 -X
+reed && /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
+###  build only 64bits for the main devel track as this has gone very slow
+# f12 on reed - no SFA any more
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux64 -b @DATE@--f12-64
+#reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux32 -b @DATE@--f12-32
+
+
+# f14
+velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64
+#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32
+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
+
+# 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
+
+
+###### 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 -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
+#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
+#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
+#################### 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