temporarely remove sfav3 dual build
[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
17 ### 
18 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -f f18 -p linux64 -b @DATE@--lxc18 tests-GITPATH=git://git.onelab.eu/tests.git@no-omf
19 ###summer-mode###liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux32 -b @DATE@--f12-32
20 liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--dbs -c default -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@dbsession tests-GITPATH=git://git.onelab.eu/tests.git@sfa-geni-v3
21
22 reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64
23
24 # at this point we have 2 branches for the tests, master is for the v2 API and sfa-geni-v3 is for the v3 API
25 # also we temporarily use a nodemanager tag because the latest code has the OMF rc script stalled
26 # disabled again for now :  nodemanager-GITPATH=git://git.onelab.eu/nodemanager.git@nodemanager-5.2-6
27 velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--sfav2 -c default -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 tests-GITPATH=git://git.onelab.eu/tests.git@master 
28 #velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--sfav3-dual -c dual -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 tests-GITPATH=git://git.onelab.eu/tests.git@sfa-geni-v3
29 velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--sfav3 -c default -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 tests-GITPATH=git://git.onelab.eu/tests.git@sfa-geni-v3
30
31 # debians & ubuntus for manifold and myslice - for now these are defined in onelab distro only
32 reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f wheezy  -p linux64 -b @DATE@-manifold-w ALL=manifold manifold-debian -B
33 reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f wheezy  -p linux64 -b @DATE@-myslice-w  ALL=myslice  myslice-debian  -B
34 #reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f quantal -p linux64 -b @DATE@-myslice-q  ALL=myslice  myslice-debian  -B
35 # would be interesting to build on raring aka ubuntu 13.04 but that's not yet an option ...
36 #reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.pkgs -W http://debian.onelab.eu/ -f raring  -p linux64 -b @DATE@-myslice-r  ALL=myslice  myslice-debian  -B
37
38 # debians  & ubuntus for sfa
39 #reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.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
40 ###summer-mode###reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.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
41 #reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.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
42 #reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.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
43 ###summer-mode###reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.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
44 # raring won't work yet
45 # the VS boxes will need some massaging, probably including defining a distro in util-vserver
46 # that is to say using init/style=plain and probably tweaking init-post/pre or whatever ..
47 # turning it off for now
48 #reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.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
49
50 ###summer-mode###reed   && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc    -P develsfa.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
51
52 ####################
53 # wextoolbox 
54 # bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc)
55 #  f14
56 #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
57 # f16
58 # for now this is failing because the nodeimage plain (uncompressed) package is too big, cpio seems to have a 2Gb limit
59 #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
60 # f18 - never tried yet
61
62 ###### testing only the pg rspecs
63 # -y pg
64 ###### triangular tests
65 # -c triangle -c sfamesh
66 ###### sfa debug
67 # -c config -c sfadebug
68 ###### senslab - not much to test 
69 # sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2
70
71 #################### newinterface
72 ### newinterface on f16
73 ###liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16-nint -e check_initscripts -e check_tcp plcapi-GITPATH=git://git.onelab.eu/plcapi.git@newinterface 
74 ### newinterface on f14
75 ###velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64-nint plcapi-GITPATH=git://git.onelab.eu/plcapi.git@newinterface
76
77 ####################
78 # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box
79 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B
80 ### same software release but built on f14 - kernel excluded as, 
81 # for some reason, we have to use the one built on f12
82 #liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B
83