Skip to content

fix(deps): update springframework (#1363) #779

fix(deps): update springframework (#1363)

fix(deps): update springframework (#1363) #779

Workflow file for this run

name: Merge
on:
push:
branches: [main]
paths-ignore:
- "*.md"
- ".github/**"
- "!.github/workflows/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
permissions: {}
jobs:
init:
name: Initialize
outputs:
pr: ${{ steps.pr.outputs.pr }}
runs-on: ubuntu-24.04
steps:
# Get PR number for squash merges to main
- id: pr
uses: bcgov/action-get-pr@28b0adf8e4d40720d41f9c87356ce24b0a4bd6af # v0.3.1
deploys-test:
name: TEST Deploys (${{ needs.init.outputs.pr }})
needs: [init]
strategy:
matrix:
primary_db: [oracle, postgres]
include:
- primary_db: oracle
allowed_origins: https://nr-silva-test-frontend.apps.silver.devops.gov.bc.ca/
target: test
deployment_model: hybrid
fam_route: test
- primary_db: postgres
allowed_origins: https://nr-silva-preview-frontend.apps.silver.devops.gov.bc.ca/
target: test-postgres
deployment_model: postgres
fam_route: preview
secrets: inherit
uses: ./.github/workflows/.deploy.yml
with:
backend_min_replicas: "1"
backend_max_replicas: "1"
backend_primary_db: ${{ matrix.primary_db }}
allowed_origins: ${{ matrix.allowed_origins }}
environment: test
tag: ${{ needs.init.outputs.pr }}
target: ${{ matrix.target }}
deployment_model: ${{ matrix.deployment_model }}
fam_route: ${{ matrix.fam_route }}
deploys-prod:
name: PROD Deploys (${{ needs.init.outputs.pr }})
needs: [init, deploys-test]
secrets: inherit
uses: ./.github/workflows/.deploy.yml
with:
allowed_origins: https://silva.nrs.gov.bc.ca/
environment: prod
tag: ${{ needs.init.outputs.pr }}
target: prod
promote:
name: Promote Images
needs: [init, deploys-prod]
permissions:
packages: write
runs-on: ubuntu-24.04
strategy:
matrix:
package: [backend, frontend]
steps:
- uses: shrink/actions-docker-registry-tag@f04afd0559f66b288586792eb150f45136a927fa # v4
with:
registry: ghcr.io
repository: ${{ github.repository }}/${{ matrix.package }}
target: ${{ needs.init.outputs.pr }}
tags: prod