Skip to content
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

CMP-3121: Build ocp4 content for arm64 #12964

Merged
merged 2 commits into from
Feb 5, 2025
Merged

Conversation

rhmdnd
Copy link
Collaborator

@rhmdnd rhmdnd commented Feb 3, 2025

This makes it so the container image we use for testing is build for
arm64 architecture in addition to Power/Z/AMD64.

This will get used in CI testing the Compliance Operatoron ARM:

openshift/release#61066

This makes it so the container image we use for testing is build for
arm64 architecture in addition to Power/Z/AMD64.

This will get used in CI testing the Compliance Operatoron ARM:

  openshift/release#61066
@rhmdnd rhmdnd requested a review from Vincent056 February 3, 2025 21:21
Make it so we can produce content images with datastreams for arm64
systems.
Copy link

codeclimate bot commented Feb 3, 2025

Code Climate has analyzed commit c216ee5 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 61.9% (0.0% change).

View more on Code Climate.

@rhmdnd rhmdnd added this to the 0.1.76 milestone Feb 4, 2025
@vojtapolasek vojtapolasek modified the milestones: 0.1.76, 0.1.77 Feb 4, 2025
@jan-cerny jan-cerny added the OpenShift OpenShift product related. label Feb 5, 2025
Copy link
Contributor

@Vincent056 Vincent056 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@rhmdnd rhmdnd merged commit f291b6e into ComplianceAsCode:master Feb 5, 2025
109 checks passed
rhmdnd added a commit to rhmdnd/content that referenced this pull request Feb 6, 2025
A previous PR added support for building k8s content for arm64:

  ComplianceAsCode#12964

But e2e testing on arm64 clusters is still failing because the operator
can't pull an arm64 image from the testing registry:

```
  Warning: Pull failed, retrying in 5s ... error: build error: failed to
  pull image: After retrying 2 times, Pull image still failed due to
  error: choosing an image from manifest list
  docker://ghcr.io/complianceascode/k8scontent:latest: no image found in
  image index for architecture arm64, variant "v8", OS linux
```

As seen in the following PR: openshift/release#61066

This commit updates the container push job to also push the arm64 image
to the k8scontent registry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OpenShift OpenShift product related.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants