X-Git-Url: http://git.onelab.eu/?p=infrastructure.git;a=blobdiff_plain;f=scripts%2Fbuilds.sh;h=495e5ba83eccc7357ea3163d1ca63484d8b20848;hp=448b2eae5dc05b03de5407d35b000e82718c2cc2;hb=4b618b221967f2e7eb07b7266498851b3eecda1e;hpb=aa9b73b903ed7497299aa2e111e6c36444f05223 diff --git a/scripts/builds.sh b/scripts/builds.sh index 448b2ea..495e5ba 100755 --- a/scripts/builds.sh +++ b/scripts/builds.sh @@ -1,6 +1,6 @@ #!/bin/bash -# if run with -s (single) we only run one build ber box +# if run with -s (single) we only run one build per box [ "$1" == "-s" ] && { shift; SINGLE=true; } # the tests flavours available @@ -15,67 +15,57 @@ # -c config -c sfadebug - turn on sfa debug # -y pg testing only the pg rspecs -function liquid () { hostname | grep -q liquid ; } -function reed () { hostname | grep -q reed ; } -function velvet () { hostname | grep -q velvet ; } +# XXX historically we had several build boxes +#function liquid () { hostname | grep -q liquid ; } +#function reed () { hostname | grep -q reed ; } +#function buzzcocks () { hostname | grep -q buzzcocks ; } -### have each box run one main distro build -liquid && /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 -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 -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 +/root/bin/lbuild-nightly.sh -f f22 -b @DATE@--f22 -e check-initscripts & [ -n "$SINGLE" ] && exit +#/root/bin/lbuild-nightly.sh -f f14 -b @DATE@--f14 -d onelab & +#/root/bin/lbuild-nightly.sh -f f20 -b @DATE@--f20 -e check-initscripts & +#/root/bin/lbuild-nightly.sh -f f21 -b @DATE@--f21 -e check-initscripts & -### -liquid && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14 -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 -# try 1.2.1 on f18 -velvet && /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 -### f20 being the least demanding build we use this box for the debian stuff -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 -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 -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 -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 -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 -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 -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 -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 +### sfa from branch +#/root/bin/lbuild-nightly.sh sfa-GITPATH=git://git.onelab.eu/sfa.git@master tests-GITPATH=git://git.onelab.eu/tests.git@master -f f21 -b @DATE@--f21-sfa -e check-initscripts & +### older fedoras +#/root/bin/lbuild-nightly.sh -f f18 -b @DATE@--f18 & +### 32bits build for the yum arch patch - do not forget to protect this within a call to linux32 +#linux32 /root/bin/lbuild-nightly.sh -f f14 -p linux32 -b @DATE@--f14-32 -d onelab + +exit + +########## oldies + +### sfa + manifold + myslice +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f wheezy -b @DATE@--f10n-deb-w debian -B +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f jessie -b @DATE@--f10n-deb-j debian -B +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f saucy -b @DATE@--f10n-ubu-s debian -B +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f trusty -b @DATE@--f10n-ubu-t debian -B +#/root/bin/lbuild-nightly.sh -d federation -P develdeb.pkgs -W http://debian.onelab.eu/ -f utopic -b @DATE@--f10n-ubu-u debian -B - -######################################## -# debians & ubuntus for sfa -#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 -###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 -#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 -#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 -###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 -# raring won't work yet -# the VS boxes will need some massaging, probably including defining a distro in util-vserver -# that is to say using init/style=plain and probably tweaking init-post/pre or whatever .. -# turning it off for now -#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 -###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 +########## probably obsolete +### nodemanager for ubuntu - giving up for now +#/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 + #################### # wextoolbox # bbn won't build so it's taken off that build -- see wexlxc.mk in wextoolbox (branch wexlxc) # f14 -#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 +#/root/bin/lbuild-nightly.sh -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32 -e check_system_slice -c default -c bignode # f16 # for now this is failing because the nodeimage plain (uncompressed) package is too big, cpio seems to have a 2Gb limit -#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 +#/root/bin/lbuild-nightly.sh -d wexlxc -f f18 -b @DATE@--wexlxc-f18-64 -c default -c bignode # f18 - never tried yet -###### senslab - not much to test -# sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2 - #################### # build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box -#liquid && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B +#/root/bin/lbuild-nightly.sh -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B ### same software release but built on f14 - kernel excluded as, # for some reason, we have to use the one built on f12 -#liquid && /root/bin/lbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B - +#/root/bin/lbuild-nightly.sh -d f14 -f f14 -b @DATE@--f14-f14-64 -B