Skip to content

fix(deps): update redux (major) #529

fix(deps): update redux (major)

fix(deps): update redux (major) #529

Workflow file for this run

name: PR
on:
pull_request:
concurrency:
# Cancel in progress for PR open and close
group: ${{ github.event.number }}
cancel-in-progress: false
jobs:
# https://github.com/bcgov-nr/action-builder-ghcr
builds:
name: Builds
runs-on: ubuntu-24.04
permissions:
packages: write
strategy:
matrix:
package: [backend, frontend]
include:
- package: backend
triggers: ('backend/')
- package: frontend
triggers: ('frontend/')
steps:
- uses: bcgov-nr/[email protected]
with:
keep_versions: 50
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
tag_fallback: test
triggers: ${{ matrix.triggers }}
# https://github.com/bcgov-nr/action-deployer-openshift
deploys:
name: Deploys
needs: [builds]
runs-on: ubuntu-24.04
strategy:
matrix:
name: [backend, frontend]
include:
- name: backend
file: backend/openshift.deploy.yml
overwrite: true
triggers: ('backend/' 'frontend/')
verification_path: /health
- name: frontend
file: frontend/openshift.deploy.yml
overwrite: true
parameters:
-p VITE_USER_POOLS_WEB_CLIENT_ID=${{ vars.VITE_USER_POOLS_WEB_CLIENT_ID }}
triggers: ('backend/' 'frontend/')
steps:
- uses: bcgov-nr/[email protected]
with:
file: ${{ matrix.file }}
oc_namespace: ${{ vars.OC_NAMESPACE }}
oc_server: ${{ vars.OC_SERVER }}
oc_token: ${{ secrets.OC_TOKEN }}
overwrite: ${{ matrix.overwrite }}
penetration_test: false
parameters:
-p ZONE=${{ github.event.number }} -p TAG=${{ github.event.number }}
-p VITE_QUESTIONS_API_KEY=${{ secrets.VITE_QUESTIONS_API_KEY }}
-p MIN_REPLICAS=1 -p MAX_REPLICAS=2 ${{ matrix.parameters }}
-p S3_SECRETKEY=${{ secrets.S3_SECRETKEY }}
triggers: ${{ matrix.triggers }}
verification_path: ${{ matrix.verification_path }}
results:
name: PR Results
if: always() && !failure()
# Include all needs that could have failures!
needs: [builds, deploys]
runs-on: ubuntu-24.04
steps:
- run: echo "Workflow completed successfully!"