promote lv121
[infrastructure.git] / scripts / builds.sh
1 #!/bin/bash
2
3 # if run with -s (single) we only run one build ber box
4 [ "$1" == "-s" ] && { shift; SINGLE=true; }
5
6 # the tests flavours available
7 # -B means no test
8 # -e step : mark a step as exclude (do not run it at all)
9 # -i step : mark a step as ignore (run it, but keep going if it fails)
10 # -c default for the tests setup is one myplc
11 # -c dual has two myplc's - pointing to each other AMs
12 # -c triangle has three - ditto
13 # -c sfamesh makes them point to SMs
14 # -c bignode is to allow one hour for the node to install
15 # -c config -c sfadebug - turn on sfa debug
16 # -y pg testing only the pg rspecs
17
18 function liquid () { hostname | grep -q liquid ; }
19 function reed () { hostname | grep -q reed ; }
20 function velvet () { hostname | grep -q velvet ; }
21
22 ### have each box run one main distro build 
23 liquid && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -f f18 -p linux64 -b @DATE@--l18-lv121 -c default -c no_omf LIBVIRT=121
24 reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -f f20 -p linux64 -b @DATE@--l20-lvms  -c default -c no_omf LIBVIRT=mainstream 
25 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -f f20 -p linux64 -b @DATE@--l20-lv121 -c default -c no_omf LIBVIRT=121
26
27 [ -n "$SINGLE" ] && exit
28
29 ### 
30 liquid && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14
31 reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--sfa3 -c default -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3
32 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -f f18 -p linux64 -b @DATE@--l18-lv104 -c default -c no_omf LIBVIRT=104
33
34 ### f20 being the least demanding build we use this box for the debian stuff
35 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy  -p linux64 -b @DATE@-manifold-w ALL=manifold manifold-debian -B
36 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy  -p linux64 -b @DATE@-myslice-w  ALL=myslice  myslice-debian  -B
37 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f jessie  -p linux64 -b @DATE@-manifold-j ALL=manifold manifold-debian -B
38 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f jessie  -p linux64 -b @DATE@-myslice-j  ALL=myslice  myslice-debian  -B
39 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f raring  -p linux64 -b @DATE@-manifold-r ALL=manifold manifold-debian -B
40 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f raring  -p linux64 -b @DATE@-myslice-r  ALL=myslice  myslice-debian  -B
41 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f saucy   -p linux64 -b @DATE@-manifold-s ALL=manifold manifold-debian -B
42 velvet && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f saucy   -p linux64 -b @DATE@-myslice-s  ALL=myslice  myslice-debian  -B
43
44
45  
46 ########################################
47 # debians  & ubuntus for sfa
48 #reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.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
49 ###summer-mode###reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.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
50 #reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.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
51 #reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.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
52 ###summer-mode###reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.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
53 # raring won't work yet
54 # the VS boxes will need some massaging, probably including defining a distro in util-vserver
55 # that is to say using init/style=plain and probably tweaking init-post/pre or whatever ..
56 # turning it off for now
57 #reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f raring -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfararing ALL=sfa sfa-debian -B
58
59 ###summer-mode###reed   && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -P develdeb.pkgs -W http://debian.onelab.eu/ -f quantal -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 -b @DATE@-sfa3quantal ALL=sfa sfa-debian -B
60
61 ####################
62 # wextoolbox 
63 # bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc)
64 #  f14
65 #liquid && /root/bin/lbuild-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
66 # f16
67 # for now this is failing because the nodeimage plain (uncompressed) package is too big, cpio seems to have a 2Gb limit
68 #liquid && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d wexlxc -p linux64 -f f18 -b @DATE@--wexlxc-f18-64 -c default -c bignode
69 # f18 - never tried yet
70
71 ###### senslab - not much to test 
72 # sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
73
74 ####################
75 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
76 #liquid && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
77 ### same software release but built on f14 - kernel excluded as, 
78 # for some reason, we have to use the one built on f12
79 #liquid && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
80