TODO: DOES NOT WORK shared runners still use 2GB swap file .gitlab-ci.yml: disable...
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Feb 2019 14:14:15 +0000 (15:14 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 29 Apr 2019 09:17:14 +0000 (11:17 +0200)
.gitlab-ci.yml

index 01ef8e0e6b91a0496af7ee5d8f78efff26b48af8..275d70f69e51d6c415995c697663c82c4a6bb73e 100644 (file)
@@ -53,6 +53,9 @@ include:
     - mount
     - df -h
     - cat /proc/swaps
+    - free -h
+    - sudo swapoff -va || echo "ignore swaoff -va failure[$?]"
+    - cat /proc/swaps
     - free -h
       # See bootstrap/.gitlab-ci.yml how to generate a new image
     - echo "SAMBA_CI_CONTAINER_REGISTRY[${SAMBA_CI_CONTAINER_REGISTRY}]"