post-1.20-release: remove testing for release-1.18#1164
post-1.20-release: remove testing for release-1.18#1164
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
2f2ca28 to
b6fed07
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates cert-manager’s Prow job generation/config to drop testing for older cert-manager/Kubernetes versions as part of the post-v1.20 release process, including removing the release-1.18 branch from prowgen and updating generated jobs to stop targeting Kubernetes 1.31/1.32.
Changes:
- Remove the
release-1.18BranchSpecfromprowgenbranch definitions. - Update generated presubmit/periodic job matrices for
master,release-1.19, andrelease-1.20to use Kubernetes 1.33–1.35 (and adjust crons accordingly). - Regenerate job YAMLs reflecting the updated Kubernetes version targets.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 10 comments.
| File | Description |
|---|---|
| config/prowgen/prowspecs/specs.go | Removes release-1.18 branch spec and updates Kubernetes version matrices for remaining branches. |
| config/jobs/cert-manager/cert-manager/master/cert-manager-master.yaml | Updates master presubmit/periodic jobs to Kubernetes 1.33–1.35 and adjusts schedules. |
| config/jobs/cert-manager/cert-manager/release-1.19/cert-manager-release-1.19.yaml | Updates release-1.19 presubmit/periodic jobs to Kubernetes 1.33–1.35 and adjusts schedules. |
| config/jobs/cert-manager/cert-manager/release-1.20/cert-manager-release-1.20.yaml | Updates release-1.20 presubmit/periodic jobs to Kubernetes 1.33–1.35 and adjusts schedules. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
config/jobs/cert-manager/cert-manager/master/cert-manager-master.yaml
Outdated
Show resolved
Hide resolved
config/jobs/cert-manager/cert-manager/release-1.20/cert-manager-release-1.20.yaml
Outdated
Show resolved
Hide resolved
config/jobs/cert-manager/cert-manager/release-1.19/cert-manager-release-1.19.yaml
Show resolved
Hide resolved
config/jobs/cert-manager/cert-manager/release-1.20/cert-manager-release-1.20.yaml
Show resolved
Hide resolved
config/jobs/cert-manager/cert-manager/release-1.19/cert-manager-release-1.19.yaml
Show resolved
Hide resolved
config/prowgen/prowspecs/specs.go
Outdated
| primaryKubernetesVersion: "1.34", | ||
| otherKubernetesVersions: []string{"1.31", "1.32", "1.33", "1.35"}, | ||
| otherKubernetesVersions: []string{"1.33", "1.34", "1.35"}, | ||
|
|
There was a problem hiding this comment.
otherKubernetesVersions includes the primary version (1.34). This causes prowgen to generate duplicate job names (one optional + one required) for v1.34 and also duplicate periodics. Remove the primary version from otherKubernetesVersions so it only contains secondary versions.
There was a problem hiding this comment.
Ah, thanks! I'll fix this.
b6fed07 to
9403b9c
Compare
Signed-off-by: Maël Valais <mael@vls.dev>
9403b9c to
f9e1160
Compare
| --namespace cert-manager \ | ||
| --create-namespace \ | ||
| --version v1.18.2 \ | ||
| --version v1.20.0 \ |
There was a problem hiding this comment.
| --version v1.20.0 \ | |
| --version v1.20.1 \ |
Not that it matters much, but 1.20.1 is currently our latest release.
This is one of the two last steps of the release process:
I've also removed Kubernetes 1.31 and 1.32 as they are no longer supported upstream (see https://kubernetes.io/releases/).
I'll have to update the Supported Releases page too, as it mentions 1.31 and 1.32. IMO we should remove the "Supported" column and only keep the "Tested versions" in the Supported Releases page as I don't know on what basis we can say that 1.31 and 1.32 are supported since we don't test them anymore...
Parent issue: cert-manager/cert-manager#8656