try out building sfav3 on debian
[infrastructure.git] / scripts / builds.sh
index 372b73e..19e2b0e 100755 (executable)
@@ -1,59 +1,71 @@
 #!/bin/bash
 
+# the tests flavours available
+# -B means no test
+# -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 ; }
 
-# 2.6.27 kernel on f14 - this fails for now - try both archs
-# try on velvet that has a hacked util-vserver 
-velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f f14 -p linux32 -b @DATE@--k27-f14-32
-velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f f14 -p linux64 -b @DATE@--k27-f14-64
-
-# 2.6.27 kernel on f12
-liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f f12 -p linux32 -b @DATE@--k27-f12-32 -c dual
-#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f f12 -p linux64 -b @DATE@--k27-f12-64 -B
-
-#### 2.6.22 kernel on f12 - known to be broken, node won't fly
-####liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -f f12 -p linux32 -b @DATE@--k22-f12-32
-####liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -f f12 -p linux64 -b @DATE@--k22-f12-64 -B
-
-# 2.6.22 kernel on f8
-reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -f f8 -p linux32 -b @DATE@--k22-f8-32 -c dual
-#reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -f f8 -p linux64 -b @DATE@--k22-f8-64 -B
-
-# 2.6.27 kernel on f8
-reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f f8 -p linux32 -b @DATE@--k27-f8-32
-#reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f f8 -p linux64 -b @DATE@--k27-f8-64 -B
-
-#### 2.6.27 kernel on c5 - is there anyone using this ?
-####velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f centos5 -p linux32 -b @DATE@--k27-c55-32 -B
-####velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f centos5 -p linux64 -b @DATE@--k27-c55-64 -B
-
-# 2.6.22 kernel on c5
-velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -f centos5 -p linux32 -b @DATE@--k22-c55-32 
-#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -f centos5 -p linux64 -b @DATE@--k22-c55-64 -B
-
-# wextoolbox variants
-### turning this off during vacations
-#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d wextoolbox -p linux32 -f f12 -b @DATE@--wtx-f12-32
-
-########################################
-########## f12 bootstrap : 2.6.31, util-vserver and yum, for a plain fedora 12 build or test box
-########## enable on a need-by-need basis
-# velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d f12 -f f12 -p linux64 -b @DATE@--f12-f12-64 -B
-# the 32bits version is not very useful
-#### liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
-
-########################################
-########## f10 : shouldn't be needed anymore
-## 2.6.27 kernel on f10
-#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f f10 -p linux32 -b @DATE@--k27-f10-32 -B
-#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -t onelab-k27-tags.mk -f f10 -p linux64 -b @DATE@--k27-f10-64 -B
-#
-## 2.6.22 kernel on f10
-#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -f f10 -p linux32 -b @DATE@--k22-f10-32 -B
-#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d onelab -f f10 -p linux64 -b @DATE@--k22-f10-64 -B
-#
-#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d wextoolbox -p linux32 -f f10 -b @DATE@--wtx-f10-32 -B
-
-#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d wextoolbox -p linux32 -f f10 -b @DATE@--wtx-f10-32 -B
+### 
+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 onelab -f f12 -p linux32 -b @DATE@--f12-32
+
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64
+
+# sometimes we add this: tests-GITPATH=git://git.onelab.eu/tests.git@sfa-geni-v3
+velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -f f18 -p linux64 -b @DATE@--lxc18-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 lxc    -f f18 -p linux64 -b @DATE@--lxc18-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 for manifold and myslice - for now these are defined in onelab distro only
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f quantal -p linux64 -b @DATE@-manifold ALL=manifold manifold-debian -B
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f quantal -p linux64 -b @DATE@-myslice  ALL=myslice  myslice-debian  -B
+
+# debians  & ubuntus for sfa
+#reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -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
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -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
+#reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -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
+#reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -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
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -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
+
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f quantal -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 -b @DATE@-sfa3quantal ALL=sfa sfa-debian -B
+
+####################
+# wextoolbox 
+# bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc)
+#  f14
+#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
+# 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/vbuild-nightly.sh -m build@onelab.eu -d wexlxc -p linux64 -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 -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
+