OCPBUGS-89352: build(operator): drop hypershift-no-cgo from operator container images - #8756
Conversation
Remove the hypershift-no-cgo statically compiled binary and the hcp product CLI from Containerfile.operator, as these are only required in the Konflux build pipeline and not in the operator image itself. Non-Konflux Dockerfiles (Dockerfile, Dockerfile.dev) are unchanged and continue to include hypershift-no-cgo and hcp. Signed-off-by: yiraeChristineKim <yikim@redhat.com> Commit-Message-Assisted-by: Claude (via Claude Code) Co-authored-by: Cursor <cursoragent@cursor.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Skipping CI for Draft Pull Request. |
|
@yiraeChristineKim: This pull request references Jira Issue OCPBUGS-89352, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-4.22 #8756 +/- ##
================================================
+ Coverage 32.17% 35.45% +3.27%
================================================
Files 766 768 +2
Lines 91968 93726 +1758
================================================
+ Hits 29592 33226 +3634
+ Misses 59843 57787 -2056
- Partials 2533 2713 +180 🚀 New features to boost your workflow:
|
|
/ok-to-test |
|
/test all |
|
/jira refresh |
|
@yiraeChristineKim: This pull request references Jira Issue OCPBUGS-89352, which is invalid:
Comment DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@yiraeChristineKim: This pull request references Jira Issue OCPBUGS-89352, which is invalid:
Comment DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@yiraeChristineKim: This pull request references Jira Issue OCPBUGS-89352, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/test all |
|
/cc @bryan-cox |
|
/cc @csrwng |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, yiraeChristineKim The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Scheduling tests matching the |
|
/test e2e-aws-upgrade-hypershift-operator |
|
/test e2e-aws |
|
/test e2e-kubevirt-aws-ovn-reduced |
|
/test e2e-aws-upgrade-hypershift-operator |
2 similar comments
|
/test e2e-aws-upgrade-hypershift-operator |
|
/test e2e-aws-upgrade-hypershift-operator |
|
@yiraeChristineKim the test is broke. This PR is blocked at the moment. I would encourage you not to just hit /retest. We recently put up a flowchart to help folks figure out if a test is broken on their side or its an infra thing - https://hypershift.pages.dev/how-to/ci/triage/presubmit-failures/ |
|
@bryan-cox Can we override this? We're in a hurry for the z-stream release. |
|
Summary: This is a pre-existing flaky failure on the release-4.22 branch, NOT caused by PR #8756's changes. |
|
/test e2e-aws-upgrade-hypershift-operator |
|
/override "ci/prow/e2e-aws-upgrade-hypershift-operator" |
|
@celebdor: Overrode contexts on behalf of celebdor: ci/prow/e2e-aws-upgrade-hypershift-operator DetailsIn response to this:
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-sigs/prow repository. |
|
@yiraeChristineKim: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
|
/verified by celebdor |
|
@celebdor: This PR has been marked as verified by DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
e3ad989
into
openshift:release-4.22
|
@yiraeChristineKim: Jira Issue Verification Checks: Jira Issue OCPBUGS-89352 Jira Issue OCPBUGS-89352 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
This is a cherry-pick of PR #8601 onto
release-4.22.What this PR does / why we need it
Remove the
hypershift-no-cgostatically compiled binary fromContainerfile.operator. The non-FIPS binary causes Enterprise Contract FIPS violations in Konflux builds for MCE.Fixes: OCPBUGS-89352
Upstream: #8601
Checklist
Made with Cursor