Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
73efe864
Commit
73efe864
authored
6 years ago
by
George Joseph
Browse files
Options
Downloads
Patches
Plain Diff
CI: Mount a tmpfs on /tmp for testsuite docker containers
Change-Id: I0566d81b0852f22066cd76d58eae5f1fda5602aa
parent
a335f4c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/CI/gates.jenkinsfile
+3
-2
3 additions, 2 deletions
tests/CI/gates.jenkinsfile
with
3 additions
and
2 deletions
tests/CI/gates.jenkinsfile
+
3
−
2
View file @
73efe864
...
...
@@ -129,8 +129,9 @@ pipeline {
def
r
=
currentBuild
.
startTimeInMillis
%
images
.
length
def
ri
=
images
[(
int
)
r
]
def
randomImage
=
env
.
DOCKER_REGISTRY
+
"/"
+
ri
/* FYI... Jenkins takes care of mouting the workspace for the container */
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"
...
...
@@ -197,7 +198,7 @@ pipeline {
]
}
sh
"sudo tests/CI/runTestsuite.sh
--work-dir='${groupDir}/astroot'
--testsuite-dir='${groupDir}' --testsuite-command='${groupTestcmd}'"
sh
"sudo tests/CI/runTestsuite.sh --testsuite-dir='${groupDir}' --testsuite-command='${groupTestcmd}'"
archiveArtifacts
allowEmptyArchive:
true
,
defaultExcludes:
false
,
fingerprint:
true
,
artifacts:
"${groupDir}/asterisk-test-suite-report.xml, ${groupDir}/logs/**, ${groupDir}/core*.txt"
...
...
This diff is collapsed.
Click to expand it.
Sukru Senli
@sukrus
mentioned in commit
77e9c877
·
5 years ago
mentioned in commit
77e9c877
mentioned in commit 77e9c877b517442ba6b6ff1b7e4f16da754e003f
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment