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

automate running on latest fedora version in ci matrix #145

Open
phlogistonjohn opened this issue Jan 8, 2025 · 1 comment
Open

automate running on latest fedora version in ci matrix #145

phlogistonjohn opened this issue Jan 8, 2025 · 1 comment

Comments

@phlogistonjohn
Copy link
Collaborator

I wonder if I should rename the fedora test jobs something like fedora-previous and fedora-current or something to avoid this (small bit of) churn? Any opinions?

Well, we can't get rid of changes unless we do something as follows:

latest=$(curl -s -L https://fedoraproject.org/releases.json | jq -r '[.[].version | select("^[0-9]+$")] | max')

previous=$(( $latest - 1 ))

And of course I prefer "latest" over "current".

Would you like to go for it with the current PR?

Originally posted by @anoopcs9 in #140 (review)

@phlogistonjohn
Copy link
Collaborator Author

Also:

jq -r '[.[] | select(.variant == "Container" and .subvariant == "Container_Base"  and .arch == "x86_64")][0,1] | .version'

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

No branches or pull requests

1 participant