-
Notifications
You must be signed in to change notification settings - Fork 552
CI: Adopt OpenBSD v7.7 and pin it #2059
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
base: master
Are you sure you want to change the base?
Conversation
This should fix the problems of the broken job blocking the merge of PR #2058 |
FreeBSD doesn't suffer the same problem, as we're pinning two releases there |
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.
Pull Request Overview
This PR pins the OpenBSD version used in the CI for "slow" checks and updates the automake version distributed with it.
- Pin OpenBSD release to 7.7
- Update automake from 1.16.5 to 1.17
Comments suppressed due to low confidence (1)
.github/workflows/slow.yaml:205
- Ensure that the update to automake-1.17 is validated against all build steps, and update any related configuration or documentation if required to address potential behavioral differences.
automake-1.17
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.
Thank you! I adjusted PR title/description a bit to improve consistency/grammar.
Do the other branches need this backported as well now? |
Pin the version of OpenBSD we use for our "slow" checks and update the version of automake distributed with it.
I'll check and iterate later today. |
... this (hard coded in
|
Do we really have to explicitly set the autotools variables on top of installing the versioned package? Surely the right package being installed is enough. |
Doh! Sadly yes. Openbad is brain damaged in this regard. If we don't set them it will just complain and bail |
.github/workflows/slow.yaml
Outdated
prepare: | | ||
pkg_add \ | ||
autoconf-2.72p0 \ | ||
autoconf-archive \ | ||
automake-1.16.5 \ | ||
automake-1.17 \ |
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.
If comments are legal/OK here, please document the hidden dependency (missed in earlier PR commits). For example:
automake-1.17 \ | |
automake-1.17 \ # keep in sync with AUTOMAKE_VERSION below |
or perhaps
automake-1.17 \ | |
automake-1.17 # keep in sync with AUTOMAKE_VERSION below \ |
I do not know which variant (if any) is correct in this context.
... and add a similar comment to AUTOMAKE_VERSION definition below.
Alternatively, we may be able to define OpenBSD Automake version once and use it in both places, but I do not have a recipe for that. Our CHECKOUT_FETCH_DEPTH recipe would not work well here because Automake version differs across jobs.
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.
Neither works, it's shell escaping.
And using a variable also doesn't work, the versions number might not align (e.g. 1.16.5 would correspond to 1.16).
I'll iterate on this solution, let's push it in as it is in order to unblock the other PRs.
Also, since we now pin the OS version, likelihood of this biting us is very reduced
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'll iterate on this solution
Please do.
.github/workflows/slow.yaml
Outdated
prepare: | | ||
pkg_add \ | ||
autoconf-2.72p0 \ | ||
autoconf-archive \ | ||
automake-1.16.5 \ | ||
automake-1.17 \ |
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'll iterate on this solution
Please do.
Pin the version of OpenBSD we use for our "slow" checks and update the version of automake distributed with it.
Pin the version of OpenBSD we use for our "slow" checks
and update the version of automake distributed with it.