jenkins: update makebuildserver.config.py based on new specs

This commit is contained in:
Hans-Christoph Steiner 2019-02-12 20:42:17 +01:00
parent 40edb1a87d
commit b3cd020edb

View file

@ -56,12 +56,14 @@ mkdir $VAGRANT_HOME
rm -rf "$WORKSPACE"/../*/.testfiles rm -rf "$WORKSPACE"/../*/.testfiles
cd $WORKSPACE cd $WORKSPACE
echo "debian_mirror = 'https://deb.debian.org/debian/'" > $WORKSPACE/makebuildserver.config.py cat <<EOF > $WORKSPACE/makebuildserver.config.py
echo "boot_timeout = 1200" >> $WORKSPACE/makebuildserver.config.py debian_mirror = 'http://deb.debian.org/debian/'"
echo "apt_package_cache = True" >> $WORKSPACE/makebuildserver.config.py boot_timeout = 1200
echo "copy_caches_from_host = True" >> $WORKSPACE/makebuildserver.config.py apt_package_cache = True
echo "memory = 6144" >> $WORKSPACE/makebuildserver.config.py copy_caches_from_host = True
echo "cpus = 2" >> $WORKSPACE/makebuildserver.config.py memory = 8192
cpus = 6
EOF
./makebuildserver -vv --clean ./makebuildserver -vv --clean
if [ -z "`vagrant box list | egrep '^buildserver\s+\((libvirt|virtualbox), [0-9]+\)$'`" ]; then if [ -z "`vagrant box list | egrep '^buildserver\s+\((libvirt|virtualbox), [0-9]+\)$'`" ]; then