-
Notifications
You must be signed in to change notification settings - Fork 458
Add support for Arm based images in OCI #821
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 support for Arm based images in OCI #821
Conversation
|
Hi @shyamradhakrishnan. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| vars: | ||
| rpms: "{{ common_rpms }}" | ||
| debs: "{{ common_debs }}" | ||
| when: packer_builder_type == "oracle-oci" and ansible_architecture == "aarch64" |
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.
Arm does not have the common virt rpms and debs
| src: etc/apt/sources.list.j2 | ||
| dest: /etc/apt/sources.list | ||
| mode: 0644 | ||
| when: packer_builder_type != "oracle-oci" |
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.
OCI Base images has the required apt sources list embedded inside the image. IF we copy the templated file, Arm based build are failing as the sources list is not correct for Arm
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.
This seems like a good bit of information to have in a comment so it is not lost in future
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.
Added comment
|
/ok-to-test |
|
overall the changes look fine to me. I suspect there is some overall refactoring to be done to properly allow a choice of CPU arch -- x86 is pretty much hardcoded across the project for all providers. So I think other providers would run into similar issues around trying to reach |
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: codenrhoden, shyamradhakrishnan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
azure flake was #766. ova failed on another PR today to (#825). Not sure if there is something flaky or if it is configuration for ova builds: /retest |
|
/test pull-ova-all |
3 similar comments
|
/test pull-ova-all |
|
/test pull-ova-all |
|
/test pull-ova-all |
f4160ad to
1129b2b
Compare
4af1f38 to
bddb522
Compare
bddb522 to
0f79ce4
Compare
|
/lgtm |
What this PR does / why we need it:
This PR has the necessary changes to build Arm based images on Oracle Cloud Infrastructure.
Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #
Additional context
Add any other context for the reviewers