mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Jenkins: run containers with "reuseNode" to stay on the same node
This commit is contained in:
parent
27d0d96ccd
commit
38fa98af45
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -110,6 +110,7 @@ pipeline {
|
||||
}
|
||||
agent {
|
||||
dockerfile {
|
||||
reuseNode true
|
||||
filename 'Dockerfile'
|
||||
dir 'docker'
|
||||
args '--privileged --sysctl net.ipv6.conf.lo.disable_ipv6=0 -e GOSU_UID=1006 -e GOSU_GID=1006'
|
||||
|
||||
1
packages/linux-kernel/Jenkinsfile
vendored
1
packages/linux-kernel/Jenkinsfile
vendored
@ -50,6 +50,7 @@ node('Docker') {
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
reuseNode true
|
||||
args "--sysctl net.ipv6.conf.lo.disable_ipv6=0 -e GOSU_UID=1006 -e GOSU_GID=1006"
|
||||
image "${env.DOCKER_IMAGE}"
|
||||
alwaysPull true
|
||||
|
||||
@ -49,6 +49,7 @@ def call(description=null, pkgList=null, buildCmd=null) {
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
reuseNode true
|
||||
args "--sysctl net.ipv6.conf.lo.disable_ipv6=0 -e GOSU_UID=1006 -e GOSU_GID=1006"
|
||||
image "${env.DOCKER_IMAGE}"
|
||||
alwaysPull true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user