Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use a fixed worker type for tests #20130

Merged
merged 1 commit into from
Jul 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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