Skip to content

Commit

Permalink
fix: use a fixed worker type for tests (elastic#20130)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuisathaverat authored Jul 27, 2020
1 parent 1dc3294 commit e01ab42
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import groovy.transform.Field
@Field def stashedTestReports = [:]

pipeline {
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
environment {
BASE_DIR = 'src/github.com/elastic/beats'
GOX_FLAGS = "-arch amd64"
Expand Down Expand Up @@ -99,7 +99,7 @@ pipeline {
failFast false
parallel {
stage('Elastic Agent x-pack'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -143,7 +143,7 @@ pipeline {
}
}
stage('Filebeat oss'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -156,7 +156,7 @@ pipeline {
}
}
stage('Filebeat x-pack'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -231,7 +231,7 @@ pipeline {
}
}
stage('Heartbeat'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -279,7 +279,7 @@ pipeline {
}
}
stage('Auditbeat oss Linux'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -292,7 +292,7 @@ pipeline {
}
}
stage('Auditbeat crosscompile'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -336,7 +336,7 @@ pipeline {
}
}
stage('Auditbeat x-pack'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -375,7 +375,7 @@ pipeline {
}
}
stage('Libbeat'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -402,7 +402,7 @@ pipeline {
}
}
stage('Libbeat x-pack'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -415,7 +415,7 @@ pipeline {
}
}
stage('Metricbeat OSS Unit tests'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -428,7 +428,7 @@ pipeline {
}
}
stage('Metricbeat OSS Go Integration tests'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -441,7 +441,7 @@ pipeline {
}
}
stage('Metricbeat OSS Python Integration tests'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -454,7 +454,7 @@ pipeline {
}
}
stage('Metricbeat x-pack'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -464,7 +464,7 @@ pipeline {
}
stages {
stage('Prepare cloud integration tests environments'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
steps {
startCloudTestEnv('x-pack-metricbeat', [
Expand All @@ -473,7 +473,7 @@ pipeline {
}
}
stage('Metricbeat x-pack'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
steps {
withCloudTestEnv() {
Expand All @@ -489,7 +489,7 @@ pipeline {
}
}
stage('Metricbeat crosscompile'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -559,7 +559,7 @@ pipeline {
}
}
stage('Packetbeat OSS'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -607,7 +607,7 @@ pipeline {
}
}
stage('dockerlogbeat'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -624,7 +624,7 @@ pipeline {
}
}
stage('Winlogbeat'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -667,7 +667,7 @@ pipeline {
}
}
stage('Functionbeat'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -718,7 +718,7 @@ pipeline {
}
}
stage('Journalbeat'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand All @@ -735,7 +735,7 @@ pipeline {
}
}
stage('Generators'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down Expand Up @@ -795,7 +795,7 @@ pipeline {
}
}
stage('Kubernetes'){
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
Expand Down

0 comments on commit e01ab42

Please sign in to comment.