797a00fad2baa7c012799f44c3a3ff06dcf4dfa3
[infrastructure.git] / scripts / builds.sh
1 #!/bin/bash
2
3 # if run with -s (single) we only run one build per 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 #/root/bin/lbuild-nightly.sh -f f25 -b @DATE@--f25 -e check-initscripts plcapi-GITPATH=git://git.onelab.eu/plcapi.git@remove-xmlrpc &
19 /root/bin/lbuild-nightly.sh -f f25 -b @DATE@--f25 -e check-initscripts &
20 [ -n "$SINGLE" ] && exit
21
22 #/root/bin/lbuild-nightly.sh -f f24 -b @DATE@--f24 -e check-initscripts plcapi-GITPATH=git://git.onelab.eu/plcapi.git@newlogs &
23 /root/bin/lbuild-nightly.sh -f f24 -b @DATE@--f24 -e check-initscripts &
24 #/root/bin/lbuild-nightly.sh -f f23 -b @DATE@--f23 -e check-initscripts &
25 #/root/bin/lbuild-nightly.sh -f f14 -b @DATE@--f14 -d onelab &
26
27 # xxx when running 3 builds of 22, 23 and 23-sfataga in parallel, I observe that
28 # they all 3 trigger the tests at the exact same time, which runs into a bug of libvirt
29 # might go away once we upgrade buzzcocks to f23 ?
30 #sleep 600
31 #/root/bin/lbuild-nightly.sh -f f22 -b @DATE@--f22 -e check-initscripts &
32 #/root/bin/lbuild-nightly.sh -f f21 -b @DATE@--f21 -e check-initscripts &
33 #/root/bin/lbuild-nightly.sh -f f20 -b @DATE@--f20 -e check-initscripts &
34
35
36 ### sfa from stable
37 # xxx see above
38 #sleep 600
39 #/root/bin/lbuild-nightly.sh -f f23 -b @DATE@--f23-sfatag -e check-initscripts GITPATH=git://git.onelab.eu/sfa.git@sfa-3.1-21 &
40 #/root/bin/lbuild-nightly.sh sfa-GITPATH=git://git.onelab.eu/sfa.git@master tests-GITPATH=git://git.onelab.eu/tests.git@master -f f23 -b @DATE@--f23-sfa -e check-initscripts &
41
42 ### older fedoras
43 #/root/bin/lbuild-nightly.sh -f f18 -b @DATE@--f18 &
44 ### 32bits build for the yum arch patch - do not forget to protect this within a call to linux32
45 #linux32 /root/bin/lbuild-nightly.sh -f f14 -p linux32 -b @DATE@--f14-32 -d onelab
46
47 exit # END - for my-builds
48
49 ########## oldies
50
51 ###  sfa + manifold + myslice
52 #/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy -b @DATE@--f10n-deb-w debian -B
53 #/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f jessie -b @DATE@--f10n-deb-j debian -B
54 #/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f saucy  -b @DATE@--f10n-ubu-s debian -B
55 #/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f trusty -b @DATE@--f10n-ubu-t debian -B
56 #/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f utopic -b @DATE@--f10n-ubu-u debian -B
57 #/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f vivid  -b @DATE@--f10n-ubu-v debian -B
58 #/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f wily   -b @DATE@--f10n-ubu-w debian -B
59 /root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f xenial  -b @DATE@--f10n-ubu-x debian -B
60
61
62 ########## probably obsolete
63
64 ### nodemanager for ubuntu - giving up for now
65 #/root/bin/lbuild-nightly.sh -d lxc -f trusty -P develdeb.pkgs -W http://debian.onelab.eu/ -b @DATE@--nm-ubu-t -B nodemanager-GITPATH=git://git.onelab.eu/nodemanager.git@master ALL=nodemanager debian
66  
67 ####################
68 # wextoolbox 
69 # bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc)
70 #  f14
71 #/root/bin/lbuild-nightly.sh -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32 -e check_system_slice -c default -c bignode
72 # f16
73 # for now this is failing because the nodeimage plain (uncompressed) package is too big, cpio seems to have a 2Gb limit
74 #/root/bin/lbuild-nightly.sh -d wexlxc -f f18 -b @DATE@--wexlxc-f18-64 -c default -c bignode
75 # f18 - never tried yet
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 #/root/bin/lbuild-nightly.sh -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 #/root/bin/lbuild-nightly.sh -d f14 -f f14 -b @DATE@--f14-f14-64 -B