-
Notifications
You must be signed in to change notification settings - Fork 28
Add conformance tests for scs-0210-v2 version policy #488
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
88241ac
Add requirements for k8s-version-recency-check.py
martinmo a325ea9
Refactor and prepare code for additions of v2
martinmo 902f2df
Add work-in-progress support for v2 of the standard
martinmo 38756be
Bugfix
martinmo eb5fe88
Format for flake8 and fix the logging statements
martinmo 4e839b2
Use set where it is suitable
martinmo 253fb97
Update the help string and doc comments
martinmo 24d042f
Merge branch 'main' into scs-0210-v2-version-policy
martinmo 10270a3
Add proper check if supported K8s upstream branches are provided
martinmo 33320d3
Improve error handling and logging
martinmo 4400b9a
Fix faulty calculation and display of missing versions
martinmo fae25c6
Incorporate code improvements suggested by reviewers
martinmo d70f214
Merge branch 'main' into scs-0210-v2-version-policy
martinmo dd3f27c
Try to collect errors for all contexts instead of failing early
martinmo 7391507
Merge branch 'main' into scs-0210-v2-version-policy
martinmo 45983ba
Warn or bail out if EOL data is outdated
martinmo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # https://kubernetes.io/releases/patch-releases/#detailed-release-history-for-active-branches | ||
|
|
||
| - branch: '1.29' | ||
| end-of-life: '2025-02-28' | ||
| - branch: '1.28' | ||
| end-of-life: '2024-10-28' | ||
| - branch: '1.27' | ||
| end-of-life: '2024-06-28' | ||
| - branch: '1.26' | ||
| end-of-life: '2024-02-28' | ||
| - branch: '1.25' | ||
| end-of-life: '2023-10-28' | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing that bothers me: this file needs to be maintained from now on. I couldn't find a machine readable version upstream, just the Patch releases document.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could assume that this rhythm of Oct 28, Feb 28, June 28 goes on, and then we only need to change anything if this rhythm breaks. Then of course we also need to know when these versions come out initially.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. With this scheme, another assumption that can break is that only the minor branch increments. I would like to take that idea into a separate issue.
For this PR, what do you think of issuing a warning if the file seems to be out of date at the time of script execution. This is the case if the file lists less than 3 non-EOL releases. And bail out if there are less than 2. With that approach we would at least see it if we monitor the logs in the CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've implemented this in the last commit. If you do not agree with that change, I can easily revert it, no problem :-)