tweak test scopes for lxc
[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 f16
16 # check_tcp : this needs port forwarding of some kind regardless of the fedora distro
17 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -X -f f14 -p linux64 -b @DATE@--lxc14 -e check_tcp 
18 # f16-specific issues
19 # initscripts need to be plugged into systemd
20 # plcsh_stress_test : there remains encoding issues, apparently related to 'quote' in PostgreSQL
21 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -X -f f16 -p linux64 -b @DATE@--lxc16  -e check_initscripts -e plcsh_stress_test -e check_tcp 
22
23 # f12 on reed - no SFA any more
24 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
25 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
26
27 # f14 
28 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
29 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
30 # sfaonly
31 #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-std1 sfa-GITPATH=git://git.onelab.eu/sfa.git@master -x sfa_standalone
32
33 ###### testing only the pg rspecs
34 # -y pg
35 ###### triangular tests
36 # -c triangle -c sfamesh
37 ###### sfa debug
38 # -c config -c sfadebug
39 ###### senslab - not much to test 
40 # sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
41
42
43
44 ####################
45 # wextoolbox on f14 (gnuradio is in f14 only)
46 #reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32
47 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64
48
49 ####################
50 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
51 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
52 ### same software release but built on f14 - kernel excluded as, 
53 # for some reason, we have to use the one built on f12
54 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
55
56 ####################
57 # ### feb. 17 2012 - I'm dropping support for f8
58 # # 2.6.32 kernel on f8
59 # liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f8 -p linux64 -b @DATE@--f8-64-tri -c triangle -c sfamesh sfa-GITPATH=git://git.onelab.eu/sfa.git@master
60 # liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f8 -p linux32 -b @DATE@--f8-32 sfa-GITPATH=git://git.onelab.eu/sfa.git@master
61
62 ####################
63 ## f16/lxc_devel - OLD BUILD BRANCH
64 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -s git://git.onelab.eu/build@lxc_devel -d planetlab -f f16 -p linux64 -b @DATE@--br-lxcdevel-16 -t planetlab-k32-tags.mk
65 ## f14/lxc - OLD BUILD BRANCH
66 #reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -s git://git.onelab.eu/build@lxc -d planetlab -f f14 -p linux64 -b @DATE@--br-lxc-14 -t planetlab-k32-tags.mk