Skip to content
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

Update kernel versions #65

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Update kernel versions #65

merged 1 commit into from
Apr 10, 2024

Conversation

tklauser
Copy link
Member

Add 6.8 stable and 6.9-rc. This will allow to use 6.8 in cilium/ebpf CI instead of 6.7 which is EOL.

@tklauser tklauser requested a review from lmb April 10, 2024 12:47
versions.json Outdated
"type": "stable"
},
{
"version": "6.6.16",
"version": "6.7.12 ",
"type": "stable"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the github action is going to trip over that since it'll try to tag 6.7 and 6.8 as stable. Would you mind adjusting the script to filter out [EOL]?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will do. It's a bit of a mess figuring this out using XPath. Given that the releases are also published in JSON format at https://www.kernel.org/releases.json which will make filtering a lot easier, would you mind if I change the update script to use that file as a source?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lmb implemented using https://www.kernel.org/releases.json and jq JSON transformation, PTAL.

Add 6.8 stable and 6.9-rc. This will allow to use 6.8 in cilium/ebpf CI
instead of 6.7 which is EOL.

Also update update-version.sh to filter out EOL releases. Turns out this
is easier to achieve using https://www.kernel.org/releases.json as a
source and using just jq for JSON transformation.

Signed-off-by: Tobias Klauser <[email protected]>
Copy link
Collaborator

@lmb lmb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, thanks!

@lmb lmb merged commit e815a72 into cilium:main Apr 10, 2024
10 checks passed
@tklauser tklauser deleted the update-versions branch April 10, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants