From: George Joseph Date: Sun, 18 Nov 2018 16:38:40 +0000 (-0700) Subject: CI: Add tmpfs to all jenkinsfiles X-Git-Tag: 13.24.0-rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ec470c1ca7fe15905fc1161e74c6376611cadba;p=thirdparty%2Fasterisk.git CI: Add tmpfs to all jenkinsfiles Change-Id: Ida29d70d48d5f39aabf0b25c66b51f79324a8cba --- diff --git a/tests/CI/periodics-daily.jenkinsfile b/tests/CI/periodics-daily.jenkinsfile index dcd53cdde9..ba56665059 100644 --- a/tests/CI/periodics-daily.jenkinsfile +++ b/tests/CI/periodics-daily.jenkinsfile @@ -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" diff --git a/tests/CI/ref_debug.jenkinsfile b/tests/CI/ref_debug.jenkinsfile index 7b485859cc..2c6daf069b 100644 --- a/tests/CI/ref_debug.jenkinsfile +++ b/tests/CI/ref_debug.jenkinsfile @@ -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" diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile index bdd517dc82..61dac7002e 100644 --- a/tests/CI/unittests.jenkinsfile +++ b/tests/CI/unittests.jenkinsfile @@ -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"