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:
parent
7bd135d25d
commit
5c2a243d3e
@ -7,12 +7,7 @@ variables:
|
||||
GIT_DEPTH: "3"
|
||||
|
||||
before_script:
|
||||
- echo "Build starting (preparing swap)..."
|
||||
- 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
|
||||
- echo "Build starting..."
|
||||
|
||||
after_script:
|
||||
- tar -xf logs.tar.gz system-info.txt -O
|
||||
|
Loading…
x
Reference in New Issue
Block a user