Skip to content

Commit 0e14df6

Browse files
authored
Adding rosa & ocm clis used for workers-scale (#657)
* Adding rosa cli used for workers-scale * Adding ocm cli too * Updated commands to match the order * Updating rosa cli perms as well
1 parent f75ef39 commit 0e14df6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

prow/Dockerfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ FROM quay.io/openshifttest/python:3.9
33
LABEL vendor="Red Hat Inc." maintainer="OCP QE Team"
44

55
RUN curl -sSL https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux-amd64-rhel8.tar.gz | tar -xvzf - &&\
6-
mv kubectl /bin
6+
mv kubectl /bin
77

88
RUN apt-get update && apt-get install -y gettext-base uuid-runtime jq openssh-client sshpass && \
99
ln -s /bin/bash /usr/bin/bash && /usr/local/bin/python -m pip install --upgrade pip && pip install virtualenv jq
10+
11+
RUN curl -sSL $(curl -sSL https://api.github.com/repos/openshift/rosa/releases/latest | jq -r ".assets[] | select(.name == \"rosa_Linux_x86_64.tar.gz\") | .browser_download_url") | tar xvzf - &&\
12+
mv rosa /bin && chmod 777 /bin/rosa
13+
14+
RUN curl -sSL $(curl -sSL https://api.github.com/repos/openshift-online/ocm-cli/releases/latest | jq -r ".assets[] | select(.name == \"ocm-linux-amd64\") | .browser_download_url") --output /bin/ocm && chmod 777 /bin/ocm

0 commit comments

Comments
 (0)