Skip to content

Bump jwcrypto from 1.5.0 to 1.5.1 in /plugins/traction_innkeeper #478

Bump jwcrypto from 1.5.0 to 1.5.1 in /plugins/traction_innkeeper

Bump jwcrypto from 1.5.0 to 1.5.1 in /plugins/traction_innkeeper #478

Workflow file for this run

name: Uninstall PR instance
on:
pull_request:
branches:
- main
paths:
- 'plugins/**'
- 'services/tenant-ui/**'
- 'charts/traction/**'
- 'charts/tenant-ui/**'
types:
- closed
jobs:
uninstall:
name: Uninstall PR
environment: development
runs-on: ubuntu-22.04
if: github.repository_owner == 'bcgov'
steps:
- uses: actions/checkout@v2
- name: Check out manifest repo
uses: actions/checkout@v2
with:
ssh-key: ${{ secrets.MANIFEST_REPO_DEPLOY_KEY }}
repository: ${{ secrets.MANIFEST_REPO }}
path: charts-repo
- name: Authenticate and set context
uses: redhat-actions/oc-login@v1
with:
openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}
openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}
certificate_authority_data: ${{ secrets.OPENSHIFT_CA_CRT }}
namespace: ${{ secrets.OPENSHIFT_NAMESPACE }}
- name: Uninstall Traction via Helm
continue-on-error: true
run: |
helm uninstall pr-${{ github.event.number }}-traction
- name: Remove Traction Openshift Objects
continue-on-error: true
run: |
oc delete secret,pvc --selector "app.kubernetes.io/instance"=pr-${{ github.event.number }}-traction
clean-ghcr:
runs-on: ubuntu-22.04
name: Delete closed or stale pr images
steps:
- name: Delete containers
uses: snok/container-retention-policy@v2
with:
image-names: traction-plugins-acapy, traction-tenant-proxy, traction-tenant-ui
cut-off: now UTC
account-type: org
org-name: ${{ github.repository_owner}}
filter-tags: pr-${{ github.event.number }}
token: ${{ secrets.PAT }}
token-type: 'pat'