test lxc16 in dual mode for more complete check_tcp
[infrastructure.git] / scripts / builds.sh
1 #!/bin/bash
2
3 # the tests flavours available
4 # -B means no test
5 # default for the tests setup is one myplc
6 # -c dual has two myplc's - pointing to each other AMs
7 # -c triangle has three - ditto
8 # -c sfamesh makes them point to SMs
9
10 function liquid () { hostname | grep -q liquid ; }
11 function reed () { hostname | grep -q reed ; }
12 function velvet () { hostname | grep -q velvet ; }
13
14 #################### lxc on f14 and f16 
15 # currently we have the following limitations with lxc
16 # tcp is not yet available for a lack of port forwarding 
17 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -X -c dual
18 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f17 -p linux64 -b @DATE@--lxc17 -X
19 # wextoolbox on f14 (gnuradio is in f14 only)
20 # DistributedRateLimiting is not built in this distro
21 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32
22 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64 
23
24
25 # f12 on reed - no SFA any more
26 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
27 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 
28
29
30 # f14 
31 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 
32 # f14-32 has sfadebug enabled (loglevel=debug) and runs in dual mode
33 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 -c dual -c sfadebug 
34 # this one is configured to run sfa in standalone mode, using flavour=void and a limited set of test steps
35 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-sfastd1 -c default -c sfadebug -c sfavoid -x sfa-standalone
36
37 ###### testing only the pg rspecs
38 # -y pg
39 ###### triangular tests
40 # -c triangle -c sfamesh
41 ###### sfa debug
42 # -c config -c sfadebug
43 ###### senslab - not much to test 
44 # sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
45
46 #################### newinterface
47 ### newinterface on f16
48 ###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 
49 ### newinterface on f14
50 ###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 
51
52 ####################
53 # wextoolbox on f16 - this one is broken - bbn won't build 
54 # OTOH T. Turletti said bbn was not crucial..
55 # see wexlxc.mk in wextoolbox (branch wexlxc)
56 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wexlxc -p linux64 -f f16 -b @DATE@--wexlxc-f16-64
57
58 ####################
59 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
60 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
61 ### same software release but built on f14 - kernel excluded as, 
62 # for some reason, we have to use the one built on f12
63 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
64
65 #################### lxc with f14 - failed ssh_slice last time this was checked on april 23 2012
66 # DONT test this with --lxc, this tends to create odd problems with gotan's date and network settings as well
67 # currently is known to fail creating slices due to cgroups mount points or something
68 #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