Skip to content

Commit a1fe471

Browse files
committed
Add step to download OpenShift client in CI workflow
1 parent f447c76 commit a1fe471

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
name: Run lint
2626
run: |
2727
make lint
28+
-
29+
name: Download OpenShift client
30+
run: |
31+
mkdir -p ~/oc
32+
cd ~/oc
33+
curl -L https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz -o oc.tar.gz
34+
tar -xzf oc.tar.gz
35+
echo "$HOME/oc" >> $GITHUB_PATH
2836
-
2937
name: Run Unit tests (cannot run openshift tests due to requiring Github runner with ubuntu 20.04)
3038
run: make test-unit

0 commit comments

Comments
 (0)