# 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 ; }
+function gorillaz () { hostname | grep -q gorillaz ; }
#################### lxc on f14 and f16
-# currently we have the following limitations with lxc
-# initscripts need to be plugged into systemd
-# tcp is not yet available for a lack of port forwarding
-liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -X -e check_initscripts -e check_tcp
-liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16-sfa -X -e check_initscripts -e check_tcp sfa-GITPATH=git://git.onelab.eu/sfa.git@master
-# 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 tests-GITPATH=git://git.onelab.eu/tests.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
+#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
+
+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
+### 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 -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
-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-ipfw ipfw-GITPATH=git://git.onelab.eu/ipfw.git@lxc_devel
+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
+
+
+# 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; we use gorillaz as a precaution because it runs f14 and has a more chance to know about these
+# although the definitions of these distros for vserver essentially boiled down to adding symlinks
+# in /usr/share/debootstrap/scripts
+gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -f squeeze -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfasqueeze ALL=sfa sfa-debian -B
+gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -f wheezy -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfawheezy ALL=sfa sfa-debian -B
+gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -f oreinic -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaoreinic ALL=sfa sfa-debian -B
+gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -f precise -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaprecise ALL=sfa sfa-debian -B
+gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -f quantal -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaquantal ALL=sfa sfa-debian -B
-# 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 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 sfa-GITPATH=git://git.onelab.eu/sfa.git@master -c default -c sfadebug tests-GITPATH=git://git.onelab.eu/tests.git@master
-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 tests-GITPATH=git://git.onelab.eu/tests.git@master
###### testing only the pg rspecs
# -y pg
###### senslab - not much to test
# sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
-
-
-####################
-# 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
+#################### 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