Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
test: add Kubernetes 1.25
Browse files Browse the repository at this point in the history
It replaces 1.24 as the default.
  • Loading branch information
pohly committed Sep 15, 2022
1 parent 7dd3633 commit ca5524a
Show file tree
Hide file tree
Showing 16 changed files with 6,144 additions and 6 deletions.
22 changes: 17 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,15 @@ pipeline {
// (more tests, runs longer, thus gets to use the existing worker)
stage('Testing') {
parallel {
stage('1.24') {
stage('1.25') {
steps {
// Skip production, i.e. run testing.
TestInVM("", "", "fedora", "", "1.24", "Top.Level..[[:alpha:]]*-production[[:space:]]", "")
TestInVM("", "", "fedora", "", "1.25", "Top.Level..[[:alpha:]]*-production[[:space:]]", "")
}
}

// When adding or removing coverage workers, update the "Code Coverage" step below!
stage('coverage-1.24') {
stage('coverage-1.25') {
when {
beforeAgent true
not { changeRequest() }
Expand All @@ -206,11 +206,23 @@ pipeline {
label "pmem-csi"
}
steps {
TestInVM("fedora-coverage-1.24", "coverage-", "fedora", "", "1.24", "", "${env.COVERAGE_SKIP}")
TestInVM("fedora-coverage-1.25", "coverage-", "fedora", "", "1.25", "", "${env.COVERAGE_SKIP}")
}
}

// All others set up their own worker.
stage('1.24') {
when {
beforeAgent true
not { changeRequest() }
}
agent {
label "pmem-csi"
}
steps {
TestInVM("fedora-1.24", "", "fedora", "", "1.24", "", "")
}
}
stage('1.23') {
when {
beforeAgent true
Expand Down Expand Up @@ -334,7 +346,7 @@ git push origin HEAD:master
}
steps {
// Restore <cluster>-coverage.out files.
unstash '1.24-coverage'
unstash '1.25-coverage'
unstash '1.21-coverage'

// Merge and convert to Cobertura XML.
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ KUSTOMIZE_KUBERNETES_VERSIONS = \
1.22 \
1.23 \
1.24 \
1.25 \

KUSTOMIZE += $(foreach version,$(KUSTOMIZE_KUBERNETES_VERSIONS),$(subst X.XX,$(version),$(KUSTOMIZE_KUBERNETES_OUTPUT)))

Expand Down
1 change: 1 addition & 0 deletions deploy/kubernetes-1.25/direct/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resources: [ pmem-csi.yaml ]
Loading

0 comments on commit ca5524a

Please sign in to comment.