check the build setup on gorillaz before deathvegas is taken down and
[infrastructure.git] / scripts / builds.sh
1 #!/bin/bash
2
3 # the tests flavours available
4 # -B means no test
5 # -c 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 # -c bignode is to allow one hour for the node to install
10
11 function liquid () { hostname | grep -q liquid ; }
12 function reed () { hostname | grep -q reed ; }
13 function velvet () { hostname | grep -q velvet ; }
14 function gorillaz () { hostname | grep -q gorillaz ; }
15 function deathvegas () { hostname | grep -q deathvegas ; }
16
17 #################### lxc on f14 and f16 
18 # wextoolbox on f14 (gnuradio is in f14 only)
19 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
20 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64 
21 ####################
22 # wextoolbox on f16 - this one is broken - bbn won't build 
23 # OTOH T. Turletti said bbn was not crucial..
24 # see wexlxc.mk in wextoolbox (branch wexlxc)
25 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
26
27 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -X
28 # the ability to build under f18 is quite new
29 # most probably the testing part (on an lxc-based test box, hence -X) won't work for now, but that's the goal though
30 deathvegas && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f18 -p linux64 -b @DATE@--lxc18-dvg -X
31 gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f18 -p linux64 -b @DATE@--lxc18-glz -X
32
33 ###  build only 64bits for the main devel track as this has gone very slow
34 # f12 on reed - no SFA any more
35 reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux64 -b @DATE@--f12-64
36 #reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux32 -b @DATE@--f12-32
37 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
38
39
40 # f14
41 velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64
42 #velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32
43 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
44
45
46 # debians; we use gorillaz as a precaution because it runs f14 and has a more recent debootstrap module
47 # (on f12 squeeze and wheezy VM's seemed to look exactly the same !)
48 # although the definitions of these distros for vserver essentially boiled down to adding symlinks
49 # in /usr/share/debootstrap/scripts
50 # trim down to latest debian and ubuntu
51 #gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -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
52 gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -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
53 #gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -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
54 #gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -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
55 gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -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
56
57
58 ###### testing only the pg rspecs
59 # -y pg
60 ###### triangular tests
61 # -c triangle -c sfamesh
62 ###### sfa debug
63 # -c config -c sfadebug
64 ###### senslab - not much to test 
65 # sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
66
67 #################### newinterface
68 ### newinterface on f16
69 ###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 
70 ### newinterface on f14
71 ###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
72
73 ####################
74 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
75 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
76 ### same software release but built on f14 - kernel excluded as, 
77 # for some reason, we have to use the one built on f12
78 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
79
80 #################### lxc with f14 - failed ssh_slice last time this was checked on april 23 2012
81 # DONT test this with --lxc, this tends to create odd problems with gotan's date and network settings as well
82 # currently is known to fail creating slices due to cgroups mount points or something
83 #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