CI: don't use swap
authorRalph Boehme <slow@samba.org>
Sun, 3 Mar 2019 21:09:26 +0000 (22:09 +0100)
committerRalph Boehme <slow@samba.org>
Mon, 4 Mar 2019 13:59:42 +0000 (13:59 +0000)
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

.gitlab-ci.yml

index 702f43760f41f0442701a5bb496a0a29fe15d339..1e836c6f28defd7c039d7812b7b8865191ab5346 100644 (file)
@@ -19,12 +19,6 @@ variables:
   before_script:
     - uname -a
     - lsb_release -a
-    - 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
     - mount
     - df -h
     - free -h