jenkins-setup-build-environment: require 9GB RAM for 8GB VM

[skip ci] since this isn't used in gitlab-ci at all
This commit is contained in:
Hans-Christoph Steiner 2020-02-11 14:56:15 +01:00
parent bfe8f05de6
commit 5a6422f4f3
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ mkdir $VAGRANT_HOME
rm -rf "$WORKSPACE"/../*/.testfiles
memtotal=$(grep ^MemTotal: /proc/meminfo | awk '{print $2}')
if [ $memtotal -gt 8092876 ]; then
if [ $memtotal -gt 9437184 ]; then
memory=8192
else
memory=$(((memtotal / 1024) - 1024))