mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +00:00
Merge "CI: Use tmpfs option to Docker instead of mount."
This commit is contained in:
@@ -139,7 +139,7 @@ pipeline {
|
|||||||
def randomImage = env.DOCKER_REGISTRY + "/" + ri
|
def randomImage = env.DOCKER_REGISTRY + "/" + ri
|
||||||
/* FYI... Jenkins takes care of mouting the workspace for the container */
|
/* FYI... Jenkins takes care of mouting the workspace for the container */
|
||||||
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
||||||
" --mount type=tmpfs,tmpfs-size=1g,dst=/tmp -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
" --tmpfs /tmp:exec,size=1G -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
||||||
" --entrypoint=''"
|
" --entrypoint=''"
|
||||||
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
|
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
|
||||||
def outputdir = "tests/CI/output/Testsuite"
|
def outputdir = "tests/CI/output/Testsuite"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ pipeline {
|
|||||||
def ri = images[(int)r]
|
def ri = images[(int)r]
|
||||||
def randomImage = env.DOCKER_REGISTRY + "/" + ri
|
def randomImage = env.DOCKER_REGISTRY + "/" + ri
|
||||||
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
||||||
" --mount type=tmpfs,tmpfs-size=1g,dst=/tmp -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
" --tmpfs /tmp:exec,size=1G -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
||||||
" --entrypoint=''"
|
" --entrypoint=''"
|
||||||
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
|
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
|
||||||
def outputdir = "tests/CI/output/Testsuite"
|
def outputdir = "tests/CI/output/Testsuite"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ pipeline {
|
|||||||
def ri = images[(int)r]
|
def ri = images[(int)r]
|
||||||
def randomImage = env.DOCKER_REGISTRY + "/" + ri
|
def randomImage = env.DOCKER_REGISTRY + "/" + ri
|
||||||
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
||||||
" --mount type=tmpfs,tmpfs-size=1g,dst=/tmp -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
" --tmpfs /tmp:exec,size=1G -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
||||||
" --entrypoint=''"
|
" --entrypoint=''"
|
||||||
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
|
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
|
||||||
def outputdir = "tests/CI/output/Testsuite"
|
def outputdir = "tests/CI/output/Testsuite"
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ pipeline {
|
|||||||
def randomImage = env.DOCKER_REGISTRY + "/" + ri;
|
def randomImage = env.DOCKER_REGISTRY + "/" + ri;
|
||||||
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
|
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
|
||||||
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
||||||
" --mount type=tmpfs,tmpfs-size=1g,dst=/tmp -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
" --tmpfs /tmp:exec,size=1G -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
||||||
" --entrypoint='' --name ${bt}-build"
|
" --entrypoint='' --name ${bt}-build"
|
||||||
def outputdir = "tests/CI/output/UnitTests"
|
def outputdir = "tests/CI/output/UnitTests"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user