1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00

CI: don't use swap

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Mar  4 13:59:42 UTC 2019 on sn-devel-144

(adapted from from commit 7798bc14fbdae3461eb30421923d53978b3f781d
by Andrew Bartlett)

Autobuild-User(v4-10-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-10-test): Mon Mar 11 11:50:37 UTC 2019 on sn-devel-144
This commit is contained in:
Ralph Boehme 2019-03-03 22:09:26 +01:00 committed by Karolin Seeger
parent 7bd135d25d
commit 5c2a243d3e

View File

@ -7,12 +7,7 @@ variables:
GIT_DEPTH: "3" GIT_DEPTH: "3"
before_script: before_script:
- echo "Build starting (preparing swap)..." - echo "Build starting..."
- if [ $(df -m / --output=avail | tail -n1) -gt 10240 ]; then
sudo dd if=/dev/zero of=/samba-swap bs=1M count=6144;
sudo mkswap /samba-swap;
sudo swapon /samba-swap;
fi
after_script: after_script:
- tar -xf logs.tar.gz system-info.txt -O - tar -xf logs.tar.gz system-info.txt -O