mirror of
https://github.com/docker/compose.git
synced 2025-07-22 21:24:38 +02:00
Add cgroup1 label to Release.Jenkinsfile
Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
parent
4990a7f935
commit
7f7f1607de
@ -23,7 +23,7 @@ pipeline {
|
|||||||
parallel {
|
parallel {
|
||||||
stage('alpine') {
|
stage('alpine') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
buildImage('alpine')
|
buildImage('alpine')
|
||||||
@ -31,7 +31,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('debian') {
|
stage('debian') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
buildImage('debian')
|
buildImage('debian')
|
||||||
@ -41,7 +41,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
// TODO use declarative 1.5.0 `matrix` once available on CI
|
// TODO use declarative 1.5.0 `matrix` once available on CI
|
||||||
@ -61,7 +61,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Generate Changelog') {
|
stage('Generate Changelog') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
@ -98,7 +98,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('linux binary') {
|
stage('linux binary') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
@ -134,7 +134,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('alpine image') {
|
stage('alpine image') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
buildRuntimeImage('alpine')
|
buildRuntimeImage('alpine')
|
||||||
@ -142,7 +142,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('debian image') {
|
stage('debian image') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
buildRuntimeImage('debian')
|
buildRuntimeImage('debian')
|
||||||
@ -157,7 +157,7 @@ pipeline {
|
|||||||
parallel {
|
parallel {
|
||||||
stage('Pushing images') {
|
stage('Pushing images') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
pushRuntimeImage('alpine')
|
pushRuntimeImage('alpine')
|
||||||
@ -166,7 +166,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Creating Github Release') {
|
stage('Creating Github Release') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
GITHUB_TOKEN = credentials('github-release-token')
|
GITHUB_TOKEN = credentials('github-release-token')
|
||||||
@ -198,7 +198,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Publishing Python packages') {
|
stage('Publishing Python packages') {
|
||||||
agent {
|
agent {
|
||||||
label 'linux && docker && ubuntu-2004'
|
label 'linux && docker && ubuntu-2004 && cgroup1'
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
PYPIRC = credentials('pypirc-docker-dsg-cibot')
|
PYPIRC = credentials('pypirc-docker-dsg-cibot')
|
||||||
@ -247,7 +247,7 @@ def buildImage(baseImage) {
|
|||||||
def runTests(dockerVersion, pythonVersion, baseImage) {
|
def runTests(dockerVersion, pythonVersion, baseImage) {
|
||||||
return {
|
return {
|
||||||
stage("python=${pythonVersion} docker=${dockerVersion} ${baseImage}") {
|
stage("python=${pythonVersion} docker=${dockerVersion} ${baseImage}") {
|
||||||
node("linux && docker && ubuntu-2004") {
|
node("linux && docker && ubuntu-2004 && cgroup1") {
|
||||||
def scmvar = checkout(scm)
|
def scmvar = checkout(scm)
|
||||||
def imageName = "dockerbuildbot/compose:${baseImage}-${scmvar.GIT_COMMIT}"
|
def imageName = "dockerbuildbot/compose:${baseImage}-${scmvar.GIT_COMMIT}"
|
||||||
def storageDriver = sh(script: "docker info -f \'{{.Driver}}\'", returnStdout: true).trim()
|
def storageDriver = sh(script: "docker info -f \'{{.Driver}}\'", returnStdout: true).trim()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user