-
Notifications
You must be signed in to change notification settings - Fork 149
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
K8SPSMDB-948: Multi arch build #1356
Conversation
This would fix #1394 |
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.
@sergelogvinov please check percona/percona-xtradb-cluster-operator#1550 and correct your PR a little bet and we can merge
bee3cde
to
2051b9c
Compare
2051b9c
to
993954f
Compare
@hors done, thank you! |
5b7e006
to
c0e434e
Compare
@sergelogvinov please fix conflicts, we want to have this in next release |
An easy way to build PSMDB for different architectures. Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
@egegunes done |
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.
@sergelogvinov as you can see build does not work. The following line https://github.com/percona/percona-xtradb-cluster-operator/blob/main/Jenkinsfile#L342 will fix it. Please add it.
Unfortunately I cannot see the build logs (Access Denied)... Thanks. |
It is strange :( yes you are right it was added, but from log, I can see the following:
something is wrong. I will try to check as well. |
@sergelogvinov, thanks for your contribution |
CHANGE DESCRIPTION
Problem:
https://jira.percona.com/browse/K8SPSMDB-948
https://forums.percona.com/t/mongo-operator-and-arm/24326
Cause:
Multi arch image.
Solution:
Hello,
This small changes allows to build PSMDB for different architectures.
the result image: ghcr.io/sergelogvinov/percona-server-mongodb-operator:v1.14.0
In my opinion, it is better to make refactoring of files: Dockerfile, e2e-tests/build to speedup the build.
Also you need to have buildkit in your CI/CD (jenkins) machine. Github Action already has everything that we need for it.
PS. I can make github action for you (build/push releases to github registry).
Thanks.
CHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
compare/*-oc.yml
)?Config/Logging/Testability