hopefully fix for skipping check_initscripts
[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 # skip the check_initscripts step
16 # we want to pass '-x check_initscripts' to te tests script
17 # but -x '-x check_initscripts' won't work well
18 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f14 -p linux64 -b @DATE@--lxc14 -x -x -x check_initscripts
19 # testing on f16 is known to be broken - services won't start in the myplc vm - systemd not supported in util-vserver ?
20 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -B
21
22 # 2.6.27 kernel on f12
23 #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 -c triangle -c sfamesh
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-sfasl sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
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-sfaonly -x sfa_standalone sfa-GITPATH=git://git.onelab.eu/sfa.git@master
26
27 # f14 - needs 2.6.32
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-alc sfa-GITPATH=git://git.onelab.eu/sfa.git@sqlalchemy -c default -c sfadebug
30 # testing only the pg rspecs
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-pg -y pg
32
33 ####################
34 # wextoolbox on f14 (gnuradio is in f14 only)
35 #reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32
36 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64
37
38 ####################
39 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
40 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
41 ### same software release but built on f14 - kernel excluded as, 
42 # for some reason, we have to use the one built on f12
43 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu   -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
44
45 ####################
46 # ### feb. 17 2012 - I'm dropping support for f8
47 # # 2.6.32 kernel on f8
48 # 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
49 # 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
50
51 ####################
52 ## f16/lxc_devel - OLD BUILD BRANCH
53 #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
54 ## f14/lxc - OLD BUILD BRANCH
55 #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