Apply more specific filtering CI machines

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-07-02 15:09:52 +02:00
parent ea6c7cb5f4
commit deaa3d68c3
1 changed files with 9 additions and 9 deletions

View File

@ -20,7 +20,7 @@ pipeline {
parallel {
stage('alpine') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
steps {
buildImage('alpine')
@ -28,7 +28,7 @@ pipeline {
}
stage('debian') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
steps {
buildImage('debian')
@ -55,7 +55,7 @@ pipeline {
}
stage('Generate Changelog') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
steps {
checkout scm
@ -92,7 +92,7 @@ pipeline {
}
stage('linux binary') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
steps {
checkout scm
@ -128,7 +128,7 @@ pipeline {
}
stage('alpine image') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
steps {
buildRuntimeImage('alpine')
@ -136,7 +136,7 @@ pipeline {
}
stage('debian image') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
steps {
buildRuntimeImage('debian')
@ -151,7 +151,7 @@ pipeline {
parallel {
stage('Pushing images') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
steps {
pushRuntimeImage('alpine')
@ -160,7 +160,7 @@ pipeline {
}
stage('Creating Github Release') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
environment {
GITHUB_TOKEN = credentials('github-release-token')
@ -192,7 +192,7 @@ pipeline {
}
stage('Publishing Python packages') {
agent {
label 'linux'
label 'linux && docker && ubuntu-2004'
}
environment {
PYPIRC = credentials('pypirc-docker-dsg-cibot')