-
Notifications
You must be signed in to change notification settings - Fork 60
Keepalived: Fix used alpine image #138
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
Conversation
keepalived.sysext/create.sh
Outdated
@@ -19,7 +19,7 @@ function populate_sysext_root() { | |||
local img_arch="$(arch_transform 'x86-64' 'amd64' "$arch")" | |||
img_arch="$(arch_transform 'arm64' 'arm64/v8' "$img_arch")" | |||
|
|||
local image="docker.io/${img_arch}/alpine:3.19" | |||
local image="docker.io/${img_arch}/alpine:3.21" |
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.
local image="docker.io/${img_arch}/alpine:3.21" | |
local image="docker.io/alpine:3.21" |
as we explicitly specify --platform
on the docker run
command line. For some reason the original version even workd for x86-64 but breaks for arm64.
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.
Thanks for catching that. I updated it accordingly.
Thank you for your fix! This issue must have snuck in during the previous BTW you can test arm64 builds on non-native architectures, e.g. x86-64, if you have binfmt set up on the build host. Our bakery CI works that way. If you like you can even re-add "keeplived latest" |
I added
|
Ah, okay. Looks like we should capture the build log in a file and make it part of the release artefacts instead of the release text. That should be a separate PR though. |
I removed the build output from the release as it can be viewed in the pipeline if needed. |
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.
LGTM, tested the builds locally. Thank you @UnholyRope !
Merging, thanks for the good work! Will follow up with a PR to CI release automation to capture build output into a separate log file. |
This change re-adds build logs to releases but uses separate files instead of adding the log to Release.md. This addresses a corner case where Release.md grew too large to be used as release text (see #138 (comment)). Also, the PR adds build timestamps to release texts as well as removes the contents of SHA256SUMS from the SHA256SUMS metadata Release.md to avoid potential issues in the future as our release count grows. The SHA256SUMS file is part of that release, no need to repeat it in Release.md Signed-off-by: Thilo Fromm <[email protected]>
Fixes the keepalived extension to be built using a valid alpine image.