-
Notifications
You must be signed in to change notification settings - Fork 52
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
Revert "Dont use arch in container image tag:" #219
Revert "Dont use arch in container image tag:" #219
Conversation
Hey @rpardini. Sorry, I'm not following here. If you look at the image below of Where are you seeing these |
Not really. Focus on the first one, Either way, take a look at https://github.com/tinkerbell/hook/blob/main/bash/hook-lk-containers.sh#L53 -- that spells out that container's This change (adding arch to tag) was deliberate, to allow us to build the amd64 and arm64 separately and on native iron for each. I understand we might want to offer a multi-arch image at the end, but just removing the arch from the tag just causes mismatches; we'd need to add a GHA step that unifies both after both are individually built, or change the GHA matrix to use qemu to build both arches at once. But until that happens we'd be randomly failing in one case or another.
I see those (and many more similar ones) just by running |
Yeah AFAIK the CI doesn't actually run/test the built Hooks. Do you know if the self-hosted x64/arm64 runners support KVM? If so, we could come up with a test harness to test in GHA: start up mock syslog & tink-grpc servers, leave them running, start Hook under qemu, and wait/timeout on a TCP connection arriving at the mock grpc server. That would prove that the kernel & linuxkit works, and that tink-worker started. |
- This reverts commit 69a4c87: > "The service containers we build shouldnt use arch in the tags. This way the same tag will have mulitple archs at the registry layer." - this isn't really true, as can be seen from the --platform argument to buildx; also the GHA matrix'es are split per-arch - causes `Error creating 000-rngd1: fork/exec /usr/bin/runc: exec format error` (and many others) depending on luck or lack thereof Signed-off-by: Ricardo Pardini <[email protected]>
4cc1f9e
to
7053e84
Compare
@mergify queue |
🛑 The pull request has been removed from the queue
|
@Mergifyio rebase |
☑️ Nothing to do
|
Revert "Dont use arch in container image tag:"
Error creating 000-rngd1: fork/exec /usr/bin/runc: exec format error
(and many others) depending on luck or lack thereof