Skip to content

Commit

Permalink
[e2e][gke] Remove k8s 1.17, add 1.19 and 1.20 (#4623)
Browse files Browse the repository at this point in the history
  • Loading branch information
barkbay authored Jul 8, 2021
1 parent f076307 commit 00d1434
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .ci/pipelines/e2e-tests-gke-k8s-versions.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,36 @@ pipeline {
}
stage('Run tests for different k8s versions in GKE') {
parallel {
stage("1.17") {
stage("1.18") {
agent {
label 'linux'
}
steps {
unstash "source"
script {
runWith(lib, failedTests, '1.17', "eck-gke17-${BUILD_NUMBER}-e2e")
runWith(lib, failedTests, '1.18', "eck-gke18-${BUILD_NUMBER}-e2e")
}
}
}
stage("1.18") {
stage("1.19") {
agent {
label 'linux'
}
steps {
unstash "source"
script {
runWith(lib, failedTests, '1.18', "eck-gke18-${BUILD_NUMBER}-e2e")
runWith(lib, failedTests, '1.19', "eck-gke19-${BUILD_NUMBER}-e2e")
}
}
}
stage("1.20") {
agent {
label 'linux'
}
steps {
unstash "source"
script {
runWith(lib, failedTests, '1.20', "eck-gke20-${BUILD_NUMBER}-e2e")
}
}
}
Expand Down Expand Up @@ -81,7 +92,7 @@ pipeline {
}
cleanup {
script {
clusters = ["eck-gke17-${BUILD_NUMBER}-e2e", "eck-gke18-${BUILD_NUMBER}-e2e"]
clusters = ["eck-gke18-${BUILD_NUMBER}-e2e", "eck-gke19-${BUILD_NUMBER}-e2e", "eck-gke20-${BUILD_NUMBER}-e2e"]
for (int i = 0; i < clusters.size(); i++) {
build job: 'cloud-on-k8s-e2e-cleanup',
parameters: [string(name: 'JKS_PARAM_GKE_CLUSTER', value: clusters[i])],
Expand Down

0 comments on commit 00d1434

Please sign in to comment.