-
Notifications
You must be signed in to change notification settings - Fork 166
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
Add arm64 support #380
Add arm64 support #380
Conversation
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 working on this @audacioustux!
I've left a couple of comments but there are quite a few of CI bumps all at once - that's a lot to double-check 🙂 So it's best to split this up as separate PRs. Ideally in 3 parts: ARM itself (i.e. only what's needed for ARM), Golang CI updates and other version CI updates.
Specifically regarding ARM change: did you test this change and how?
@yorugac thanks for the feedback, I'll send individual PRs as you mentioned. |
Hi @audacioustux, it's been awhile; hope you're well 🙂 |
Hi @yorugac, sorry got busy with other stuffs. https://github.com/audacioustux/k6-operator I could make the ARM64 support work here, but that was a bit too involved than I had anticipated. + The fact that there's hard-coded image uri in the code made it a bit difficult to make a well-tested PR. I think the first thing that needs to be done, is to fix that hardcoded container image URI issue (for example: k6-operator/pkg/resources/jobs/stopper.go Line 19 in c2e81d8
For the ARM64 support, I can hopefully send the PR in next weekend (30/31 March), sorry for keep you waiting. |
Hi @audacioustux, thanks for quick response! Yes, the browser tests are a "known" issue: #289 AFAIR, some cases have worked and some didn't. Investigating this wasn't prioritized yet but good thing you've opened the issue in xk6-browser repo as well 👍
🤔 you meant for testing? To test custom images, you can pass them as part of
That would be amazing; thank you. Btw, re-reading this PR: I've asked to have CI updates as separate PRs -- would you like me to take those, to reduce the "change request"? |
Umm, as far I can remember, even though starter and runner image was declared in TestRun manifest, it was spawning grafana/k6-operator. May have to re-check that actually...
Yes please. |
95ba621
to
40508df
Compare
@yorugac Hi, pls let me know if the image build and push works correctly and if anything needs to be changed. |
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.
Hi @audacioustux, Thanks for the update!
On CI changes in push.yaml
: I've gone through these ones by now and they seem to be mostly OK.
buildx
question remains: it seems like the issue we encountered was around ~ v0.10
so maybe v0.12
will be fine. If this version change is not necessary for ARM, I'd prefer to see it in another PR.
Secondly, on Dockerfiles: there is a change request there.
let me know if the image build and push works correctly
To test this workflow (without further changes), I'll need to merge this PR first 😂 In general, that's why I request as minimal version of changes as possible: it can be pretty time-consuming to debug CI issues so it's best when they're small and atomic.
umm which issue exactly? I updated the version just to be on safe side and hoped it's most likely backward compatible. I wasn't sure if the "platform" value is supported in the previous version, so tried to save one trial and error. edit: ah I see, you're referring to #187? but how to test if that issue is now fixed or not with latest version? as the sole purpose of buildx is to simply build the images, it worked fine for me, also in cluster...
I see. that's actually the issue I was referring to earlier. I think in the current situation of the repo it's a bit hard to rollout new changes and non-ideal for community contributions. I actually had plan for adding Devcontainers support, that I think should significantly make things easier and streamlined - we may discuss about that later at some point. |
On |
https://github.com/audacioustux/k6-operator/actions/runs/8500731873/job/23282902694 the push.yml worked with the buildx version pinned to 0.9.1, kept the |
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.
Great, thanks @audacioustux! 🙌
which version has ARM support? |
solves #187
Pls make any changes if required.