review build policy - drop senslab - more alc
[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 
21
22 # f12 on reed
23 # triangular
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-alctri -c triangle -c sfamesh sfa-GITPATH=git://git.onelab.eu/sfa.git@sqlalchemy
25 # senslab - not much to test
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-sfasl sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
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-alc sfa-GITPATH=git://git.onelab.eu/sfa.git@sqlalchemy
28 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@sqlalchemy
29
30 # f14 - needs 2.6.32
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-mas sfa-GITPATH=git://git.onelab.eu/sfa.git@master
32 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
33 # testing only the pg rspecs
34 #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
35
36 ####################
37 # wextoolbox on f14 (gnuradio is in f14 only)
38 #reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32
39 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64
40
41 ####################
42 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
43 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
44 ### same software release but built on f14 - kernel excluded as, 
45 # for some reason, we have to use the one built on f12
46 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
47
48 ####################
49 # ### feb. 17 2012 - I'm dropping support for f8
50 # # 2.6.32 kernel on f8
51 # 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
52 # 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
53
54 ####################
55 ## f16/lxc_devel - OLD BUILD BRANCH
56 #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
57 ## f14/lxc - OLD BUILD BRANCH
58 #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