build mapping
[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 # -X : this means use an lxc box to run the vplc (default)
11 # -S : this means use an lxc box to run the vplc (hopefully this won't be needed)
12
13 function liquid () { hostname | grep -q liquid ; }
14 function reed () { hostname | grep -q reed ; }
15 function velvet () { hostname | grep -q velvet ; }
16 # warhol is an experimental lxc-based build box
17 function warhol () { hostname | grep -q warhol ; }
18
19 ### EXPERIMENTAL build env based on f20/lxc
20 #warhol && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -f f20 -p linux64 -b @DATE@--l20 -c default -c no_omf 
21 warhol && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d lxc    -f f20 -p linux64 -b @DATE@--l20-sd -c default -c no_omf nodemanager-GITPATH=git://git.onelab.eu/nodemanager.git@systemd
22 # debians & ubuntus for manifold and myslice  - on lxc we can now build what we want
23 warhol && /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
24 warhol && /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-w  ALL=myslice  myslice-debian  -B
25
26 ### try to have each box run one main distro build, + various miscell builds scattered around
27 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -f f18 -p linux64 -b @DATE@--l18 -c default -c no_omf 
28 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -f f18 -p linux64 -b @DATE@--l18-sd -c default -c no_omf nodemanager-GITPATH=git://git.onelab.eu/nodemanager.git@systemd
29
30 #
31 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--sfa3-dual -c dual -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 
32
33 ### 
34 reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -f f20 -p linux64 -b @DATE@--l20 -c default -c no_omf 
35
36 ### 
37 velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14
38 #
39 velvet && /root/bin/vbuild-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 
40
41 ########################################
42 # debians  & ubuntus for sfa
43 #reed   && /root/bin/vbuild-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
44 ###summer-mode###reed   && /root/bin/vbuild-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
45 #reed   && /root/bin/vbuild-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
46 #reed   && /root/bin/vbuild-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
47 ###summer-mode###reed   && /root/bin/vbuild-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
48 # raring won't work yet
49 # the VS boxes will need some massaging, probably including defining a distro in util-vserver
50 # that is to say using init/style=plain and probably tweaking init-post/pre or whatever ..
51 # turning it off for now
52 #reed   && /root/bin/vbuild-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
53
54 ###summer-mode###reed   && /root/bin/vbuild-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
55
56 ####################
57 # wextoolbox 
58 # bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc)
59 #  f14
60 #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
61 # f16
62 # for now this is failing because the nodeimage plain (uncompressed) package is too big, cpio seems to have a 2Gb limit
63 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wexlxc -p linux64 -f f18 -b @DATE@--wexlxc-f18-64 -c default -c bignode
64 # f18 - never tried yet
65
66 ###### testing only the pg rspecs
67 # -y pg
68 ###### triangular tests
69 # -c triangle -c sfamesh
70 ###### sfa debug
71 # -c config -c sfadebug
72 ###### senslab - not much to test 
73 # sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
74
75 ####################
76 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
77 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
78 ### same software release but built on f14 - kernel excluded as, 
79 # for some reason, we have to use the one built on f12
80 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
81