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:
parent
bfe8f05de6
commit
5a6422f4f3
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue