mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
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
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ mkdir $VAGRANT_HOME
|
||||||
rm -rf "$WORKSPACE"/../*/.testfiles
|
rm -rf "$WORKSPACE"/../*/.testfiles
|
||||||
|
|
||||||
memtotal=$(grep ^MemTotal: /proc/meminfo | awk '{print $2}')
|
memtotal=$(grep ^MemTotal: /proc/meminfo | awk '{print $2}')
|
||||||
if [ $memtotal -gt 8092876 ]; then
|
if [ $memtotal -gt 9437184 ]; then
|
||||||
memory=8192
|
memory=8192
|
||||||
else
|
else
|
||||||
memory=$(((memtotal / 1024) - 1024))
|
memory=$(((memtotal / 1024) - 1024))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue