start with wtx as lxc often is stuck
[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 # wextoolbox on f14 (gnuradio is in f14 only)
16 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32
17 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64 
18
19 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -X 
20 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -t lxc-openvswitch-tags.mk -f f16 -p linux64 -b @DATE@--lxc16dev -X 
21 # 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
22 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f17 -p linux64 -b @DATE@--lxc17 -X
23
24
25 ###  build on;y 64bits for the main devel track as this has gone very slow
26 # f12 on reed - no SFA any more
27 reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux64 -b @DATE@--f12-64
28 #reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux32 -b @DATE@--f12-32
29 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
30
31
32 # f14
33 velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64
34 #velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32
35 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
36
37
38 ###### testing only the pg rspecs
39 # -y pg
40 ###### triangular tests
41 # -c triangle -c sfamesh
42 ###### sfa debug
43 # -c config -c sfadebug
44 ###### senslab - not much to test 
45 # sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
46
47 #################### newinterface
48 ### newinterface on f16
49 ###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 
50 ### newinterface on f14
51 ###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
52
53 ####################
54 # wextoolbox on f16 - this one is broken - bbn won't build 
55 # OTOH T. Turletti said bbn was not crucial..
56 # see wexlxc.mk in wextoolbox (branch wexlxc)
57 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wexlxc -p linux64 -f f16 -b @DATE@--wexlxc-f16-64
58
59 ####################
60 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
61 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
62 ### same software release but built on f14 - kernel excluded as, 
63 # for some reason, we have to use the one built on f12
64 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
65
66 #################### lxc with f14 - failed ssh_slice last time this was checked on april 23 2012
67 # DONT test this with --lxc, this tends to create odd problems with gotan's date and network settings as well
68 # currently is known to fail creating slices due to cgroups mount points or something
69 #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