Skip to content

Commit ccb3904

Browse files
committed
Fix vscode-startup workflows that didn't have oc
Signed-off-by: Mario Loriedo <[email protected]>
1 parent 157b771 commit ccb3904

File tree

7 files changed

+35
-0
lines changed

7 files changed

+35
-0
lines changed

.github/workflows/alpine-vscode-startup.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
token=$(jq -r '.inputs.sandboxToken' $GITHUB_EVENT_PATH)
3434
echo "::add-mask::$token"
3535
echo "cluster-token=$token" >> "$GITHUB_OUTPUT"
36+
- name: Install oc
37+
run: |
38+
wget https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz
39+
tar -xvf oc.tar.gz
40+
sudo mv oc /usr/local/bin/
3641
- name: Checkout
3742
uses: actions/checkout@v4
3843
- name: Login to Dev Sandbox

.github/workflows/busybox-vscode-startup.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
token=$(jq -r '.inputs.sandboxToken' $GITHUB_EVENT_PATH)
3434
echo "::add-mask::$token"
3535
echo "cluster-token=$token" >> "$GITHUB_OUTPUT"
36+
- name: Install oc
37+
run: |
38+
wget https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz
39+
tar -xvf oc.tar.gz
40+
sudo mv oc /usr/local/bin/
3641
- name: Checkout
3742
uses: actions/checkout@v4
3843
- name: Login to Dev Sandbox

.github/workflows/fedora-vscode-startup.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
token=$(jq -r '.inputs.sandboxToken' $GITHUB_EVENT_PATH)
3434
echo "::add-mask::$token"
3535
echo "cluster-token=$token" >> "$GITHUB_OUTPUT"
36+
- name: Install oc
37+
run: |
38+
wget https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz
39+
tar -xvf oc.tar.gz
40+
sudo mv oc /usr/local/bin/
3641
- name: Checkout
3742
uses: actions/checkout@v4
3843
- name: Login to Dev Sandbox

.github/workflows/golang-vscode-startup.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
token=$(jq -r '.inputs.sandboxToken' $GITHUB_EVENT_PATH)
3434
echo "::add-mask::$token"
3535
echo "cluster-token=$token" >> "$GITHUB_OUTPUT"
36+
- name: Install oc
37+
run: |
38+
wget https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz
39+
tar -xvf oc.tar.gz
40+
sudo mv oc /usr/local/bin/
3641
- name: Checkout
3742
uses: actions/checkout@v4
3843
- name: Login to Dev Sandbox

.github/workflows/openjdk-vscode-startup.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
token=$(jq -r '.inputs.sandboxToken' $GITHUB_EVENT_PATH)
3434
echo "::add-mask::$token"
3535
echo "cluster-token=$token" >> "$GITHUB_OUTPUT"
36+
- name: Install oc
37+
run: |
38+
wget https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz
39+
tar -xvf oc.tar.gz
40+
sudo mv oc /usr/local/bin/
3641
- name: Checkout
3742
uses: actions/checkout@v4
3843
- name: Login to Dev Sandbox

.github/workflows/ubi8-vscode-startup.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
token=$(jq -r '.inputs.sandboxToken' $GITHUB_EVENT_PATH)
3434
echo "::add-mask::$token"
3535
echo "cluster-token=$token" >> "$GITHUB_OUTPUT"
36+
- name: Install oc
37+
run: |
38+
wget https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz
39+
tar -xvf oc.tar.gz
40+
sudo mv oc /usr/local/bin/
3641
- name: Checkout
3742
uses: actions/checkout@v4
3843
- name: Login to Dev Sandbox

.github/workflows/ubuntu-vscode-startup.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
token=$(jq -r '.inputs.sandboxToken' $GITHUB_EVENT_PATH)
3434
echo "::add-mask::$token"
3535
echo "cluster-token=$token" >> "$GITHUB_OUTPUT"
36+
- name: Install oc
37+
run: |
38+
wget https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz
39+
tar -xvf oc.tar.gz
40+
sudo mv oc /usr/local/bin/
3641
- name: Checkout
3742
uses: actions/checkout@v4
3843
- name: Login to Dev Sandbox

0 commit comments

Comments
 (0)