Install oc#2777
Conversation
|
(Feel free to bikeshed on naming... |
|
Or should we just ship |
I'm a bit uncertain. One thought I have here is that in the future, the version of
Ah yeah, I should have called that out in this PR. Hmm. That code almost seems like it should live in github.com/openshift/coreos-assembler or so. If we did that, then we could have this A lot of tradeoffs (advantages/disadvantages). Just adding So...hmm. I dunno. I guess, does anyone object to just adding in $current (Side note, looks like https://src.fedoraproject.org/rpms/origin/blob/rawhide/f/origin.spec hasn't been updated in nearly 2 years) |
3908c62 to
bb50676
Compare
Done! |
jlebon
left a comment
There was a problem hiding this comment.
LGTM! Would be good to have at least one other person chime in.
The immediate motivation is https://github.com/openshift/release/blob/master/ci-operator/config/openshift/os/openshift-os-master.yaml#L77 For RHEL CoreOS related stuff in particular it's just really useful to have the `oc` binary in coreos-assembler to streamline things like "build a new release image that overrides the OS" etc. I suspect this would help OKD too.
bb50676 to
1f4a67b
Compare
|
We will have it by default.
1f4a67b to
58e4b1a
Compare
I am so done with dynamic programming languages 😦 |
When running the `rhcos.upgrade.from-ocp-rhcos` test in an unprivileged pod in the Prow clusters, the test fails during the unpacking of the `oc` binary because it is trying to use `sudo` to write to `/usr/bin`. But since #2777 we have the `oc` binary installed in `cosa`, so just drop the code doing the install of the binary.
When running the `rhcos.upgrade.from-ocp-rhcos` test in an unprivileged pod in the Prow clusters, the test fails during the unpacking of the `oc` binary because it is trying to use `sudo` to write to `/usr/bin`. But since #2777 we have the `oc` binary installed in `cosa`, so just drop the code doing the install of the binary. (cherry picked from commit 37f6c2a)
|
/cherrypick rhcos-4.9-new |
|
@jlebon: #2777 failed to apply on top of branch "rhcos-4.9-new": 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/test-infra repository. |
The immediate motivation is https://github.com/openshift/release/blob/master/ci-operator/config/openshift/os/openshift-os-master.yaml#L77
For RHEL CoreOS related stuff in particular it's just really useful to have
the
ocbinary in coreos-assembler to streamline things like"build a new release image that overrides the OS" etc.
I suspect this would help OKD too.