simpler build names
[infrastructure.git] / scripts / builds.sh
index 4cdef04..86fff7d 100755 (executable)
@@ -7,39 +7,60 @@
 # -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 ; }
+# warhol is an experimental lxc-based build box
+function warhol () { hostname | grep -q warhol ; }
 
-#################### lxc on f14 and f16 
-# 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 - 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 -X -c default -c bignode
+### EXPERIMENTAL build env based on f20/lxc
+warhol && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -f f20 -p linux64 -b @DATE@--b20l20 -c default -c no_omf -e check_initscripts
+warhol && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f wheezy  -p linux64 -b @DATE@-lxcwheezy  ALL=myslice  myslice-debian  -B
+
+### try to have each box run one main distro build, + various miscell builds scattered around
+liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -f f18 -p linux64 -b @DATE@--l18 -c default -c no_omf -e check_initscripts
+#
+#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--sfa3-dual -c dual -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 
 
-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
-liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32-sfa-upmc sfa-GITPATH=git://git.onelab.eu/sfa.git@upmc tests-GITPATH=git://git.onelab.eu/tests.git@master
+### 
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -f f20 -p linux64 -b @DATE@--l20 -c default -c no_omf -e check_initscripts
+#
+# debians & ubuntus for manifold and myslice  - can build ubuntu's only up to quantal
+reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f wheezy  -p linux64 -b @DATE@-manifold-w 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 wheezy  -p linux64 -b @DATE@-myslice-w  ALL=myslice  myslice-debian  -B
 
-###  build on;y 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
-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
-reed && /root/git-build/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -f wheezy -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@upmc -b debsfaupmc01 ALL=sfa sfa.debian 
+### 
+velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14
+#
+velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--sfa3 -c default -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 
 
+########################################
+# 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
+###summer-mode###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
+###summer-mode###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
+# raring won't work yet
+# the VS boxes will need some massaging, probably including defining a distro in util-vserver
+# that is to say using init/style=plain and probably tweaking init-post/pre or whatever ..
+# turning it off for now
+#reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f raring -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfararing ALL=sfa sfa-debian -B
 
-# 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@master
+###summer-mode###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
@@ -52,7 +73,7 @@ velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p lin
 
 #################### 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 
+###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
 
@@ -63,7 +84,3 @@ velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p lin
 # 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