Skip to content

chore(ci): roll back crunchy action #1824

chore(ci): roll back crunchy action

chore(ci): roll back crunchy action #1824

Workflow file for this run

name: PR Closed
on:
pull_request:
types: [closed]
concurrency:
# PR open and close use the same group, allowing only one at a time
group: ${{ github.event.number }}
cancel-in-progress: true
permissions: {}
jobs:
cleanup:
name: Cleanup and Image Promotion
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v1.0.1 # v1.0.1
permissions:
packages: write
secrets:
oc_namespace: ${{ secrets.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
cleanup: helm
packages: backend frontend migrations
cleanup_db: # TODO move it off to another action later.
name: Remove DB User from Crunchy
runs-on: ubuntu-slim
steps:
- uses: bcgov/action-crunchy@v1.2.5
name: Remove PR Specific User
with:
oc_namespace: ${{ secrets.oc_namespace }}
oc_token: ${{ secrets.oc_token }}
oc_server: ${{ vars.oc_server }}
values_file: charts/crunchy/values.yml