From 57e5fd66fa1c647748940dc48ba7969617a80eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 11 May 2022 10:55:00 +0200 Subject: [PATCH] ci: pin builds to hosts with specific Go version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise Go version upgrades are a pain due to randomly hitting a host with newer version of Go compiler. Signed-off-by: Jakub SokoĊ‚owski --- _assets/ci/Jenkinsfile.android | 2 +- _assets/ci/Jenkinsfile.ios | 2 +- _assets/ci/Jenkinsfile.linux | 2 +- _assets/ci/Jenkinsfile.tests | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_assets/ci/Jenkinsfile.android b/_assets/ci/Jenkinsfile.android index 581f68687..1c10d381d 100644 --- a/_assets/ci/Jenkinsfile.android +++ b/_assets/ci/Jenkinsfile.android @@ -1,7 +1,7 @@ library 'status-jenkins-lib@v1.3.3' pipeline { - agent { label 'linux' } + agent { label 'linux && x86_64 && go-1.17' } parameters { string( diff --git a/_assets/ci/Jenkinsfile.ios b/_assets/ci/Jenkinsfile.ios index ebdd7f334..cf538aca5 100644 --- a/_assets/ci/Jenkinsfile.ios +++ b/_assets/ci/Jenkinsfile.ios @@ -1,7 +1,7 @@ library 'status-jenkins-lib@v1.3.3' pipeline { - agent { label 'macos && x86_64' } + agent { label 'macos && x86_64 && go-1.17' } parameters { string( diff --git a/_assets/ci/Jenkinsfile.linux b/_assets/ci/Jenkinsfile.linux index b626fa107..cee531efa 100644 --- a/_assets/ci/Jenkinsfile.linux +++ b/_assets/ci/Jenkinsfile.linux @@ -1,7 +1,7 @@ library 'status-jenkins-lib@v1.3.3' pipeline { - agent { label 'linux' } + agent { label 'linux && x86_64 && go-1.17' } parameters { string( diff --git a/_assets/ci/Jenkinsfile.tests b/_assets/ci/Jenkinsfile.tests index df140b416..6ea1b6e87 100644 --- a/_assets/ci/Jenkinsfile.tests +++ b/_assets/ci/Jenkinsfile.tests @@ -1,7 +1,7 @@ library 'status-jenkins-lib@v1.3.3' pipeline { - agent { label 'linux' } + agent { label 'linux && x86_64 && go-1.17' } parameters { string(