-
Notifications
You must be signed in to change notification settings - Fork 244
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
Adding oc from build to container image in multistage #3418
Adding oc from build to container image in multistage #3418
Conversation
/test unit |
Codecov Report
@@ Coverage Diff @@
## master #3418 +/- ##
==========================================
- Coverage 46.27% 46.25% -0.02%
==========================================
Files 112 112
Lines 11214 11214
==========================================
- Hits 5189 5187 -2
- Misses 5523 5525 +2
Partials 502 502
Continue to review full report at Codecov.
|
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.
/lgtm
I am adding a new dockerfile to inject |
Copy paste from #3270 (comment) Unlike other project we tried a nice and simple shell script workaround to inject oc binary to the test container path but unfortunately it did not work for a reason which even surprises @petr-muller from platform team. We should not spend more time on it to debug as this is a workaround ,so we can follow the same way like other project has been done it through another Dockerfile instead. For example - https://github.com/openshift-knative/serverless-operator/tree/6805a2d1b560dbc6955ad1d4aa9686f5d8f8a9c8/openshift/ci-operator. Shell script workaround we tried - https://github.com/openshift/odo/blob/master/openshift-ci/build-root/multistage/check-oc.sh NOTE: oc binary auto injection feature is not delivered yet - https://issues.redhat.com/browse/DPTP-1242 EDIT: #3270 (comment) Ping @dharmit @kadel @girishramnani |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amitkrout 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@prietyc123: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
/retest Please review the full test history for this PR and help us cut down flakes. |
It's new docker file change which even does affect the master. More importantly we can unblock the pr openshift/release#9431. So I am merging it forcefully to avoid unnecessary time waste. |
What type of PR is this?
/kind feature
What does does this PR do / why we need it:
Adds
oc
binary to the container image as mentioned in commentWhich issue(s) this PR fixes:
Fixes NA
How to test changes / Special notes to the reviewer:
This is just a pre-requisite for pr openshift/release#9431