Skip to content

Commit

Permalink
chore(ci): handle gh runner oc removal (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Oct 3, 2024
1 parent 38456ec commit 7851a62
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ jobs:
# If here skip deployment
echo "No triggers have fired, deployment skipped"
- uses: redhat-actions/openshift-tools-installer@v1
if: ${{ steps.triggers.outputs.triggered == 'true' }}
with:
oc: "4"

- name: Deploy if Triggers Fired
if: ${{ steps.triggers.outputs.triggered == 'true' }}
working-directory: ${{ inputs.directory }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
cleanup:
name: Cleanup OpenShift and/or Promote Images
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v0.6.1
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v0.7.1
secrets:
oc_namespace: ${{ vars.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Clean up Helm Releases
run: |
# Clean up Helm Releases
Expand Down

0 comments on commit 7851a62

Please sign in to comment.