Skip to content

Commit

Permalink
chore(ci): handle gh runner oc removal (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Sep 27, 2024
1 parent b6e3204 commit 5c8808d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/on-pr-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"
- name: Deploy to OpenShift
shell: bash
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
name: Cleanup OpenShift
runs-on: ubuntu-22.04
steps:
- uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"
- name: Remove OpenShift artifacts
run: |
oc login --token=${{ secrets.OC_TOKEN }} --server=${{ vars.OC_SERVER }}
Expand Down

0 comments on commit 5c8808d

Please sign in to comment.