action #107764
closedcoordination #107755: [epic] BCI testing on OpenShift
[Investigation] Install OC binary to manage OpenShift environment
0%
Description
oc
is the CLI tool that allows managing an OpenShift clusters.
However, it's not publicly available and it can only be downloaded from https://access.redhat.com/downloads/content/290, which requires an account registered (no payment needed).
This will download a tarball oc-4.9.22-linux.tar.gz
, that after extracting it contains 2 binaries and a README.
$ ls -lh oc-4.9.22-linux
total 479992
-rw-r--r--@ 1 jlausuch staff 954B Feb 14 10:58 README.md
-rwxr-xr-x@ 2 jlausuch staff 117M Feb 14 10:58 kubectl
-rwxr-xr-x@ 2 jlausuch staff 117M Feb 14 10:58 oc
The tool of our interest here is just oc
, we can get kubectl
by other ways.
The idea is to investigate how we could to get this binary from other trusted sources without a registered RH account (if possible) and install it at runtime during the tests or in our Public Cloud helper VM.
Another possibility is to create a project in IBS and push that binary and keep it up to date with new updates, but that might require manual intervention, and still, a RH account to download the binary.
Files