CI: Add tmpfs to all jenkinsfiles
authorGeorge Joseph <gjoseph@digium.com>
Sun, 18 Nov 2018 16:38:40 +0000 (09:38 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Sun, 18 Nov 2018 16:39:21 +0000 (11:39 -0500)
Change-Id: Ida29d70d48d5f39aabf0b25c66b51f79324a8cba

tests/CI/periodics-daily.jenkinsfile
tests/CI/ref_debug.jenkinsfile
tests/CI/unittests.jenkinsfile

index dcd53cd..ba56665 100644 (file)
@@ -42,7 +42,7 @@ pipeline {
                                        def ri = images[(int)r]
                                        def randomImage = env.DOCKER_REGISTRY + "/" + ri
                                        def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
-                                               " -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
+                                               " --mount type=tmpfs,tmpfs-size=1g,dst=/tmp -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
                                                " --entrypoint=''"
                                        def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
                                        def outputdir = "tests/CI/output/Testsuite"
index 7b48585..2c6daf0 100644 (file)
@@ -42,7 +42,7 @@ pipeline {
                                        def ri = images[(int)r]
                                        def randomImage = env.DOCKER_REGISTRY + "/" + ri
                                        def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
-                                               " -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
+                                               " --mount type=tmpfs,tmpfs-size=1g,dst=/tmp -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
                                                " --entrypoint=''"
                                        def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
                                        def outputdir = "tests/CI/output/Testsuite"
index bdd517d..61dac70 100644 (file)
@@ -133,7 +133,7 @@ pipeline {
                                        def randomImage = env.DOCKER_REGISTRY + "/" + ri;
                                        def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
                                        def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
-                                               " -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
+                                               " --mount type=tmpfs,tmpfs-size=1g,dst=/tmp -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
                                                " --entrypoint='' --name ${bt}-build"
                                        def outputdir = "tests/CI/output/UnitTests"