Skip to content

fix: helm labels

fix: helm labels #4074

Workflow file for this run

name: PR
on:
pull_request:
concurrency:
# Cancel in progress for PR open and close
group: ${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: true
env:
DOMAIN: apps.silver.devops.gov.bc.ca
PREFIX: ${{ github.event.repository.name }}
jobs:
# https://github.com/bcgov-nr/action-builder-ghcr
builds:
name: Builds
runs-on: ubuntu-22.04
permissions:
packages: write
outputs:
digest: ${{ steps.builds.outputs.digest }}
strategy:
matrix:
package: [migrations, backend, frontend]
timeout-minutes: 10
steps:
- uses: bcgov-nr/[email protected]
id: builds
with:
keep_versions: 50
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
tag_fallback: latest
triggers: ('${{ matrix.package }}/')
# https://github.com/bcgov-nr/action-deployer-openshift
deploys:
name: Deploys
needs: [builds]
uses: ./.github/workflows/.deploy.yml
secrets: inherit
with:
build_outputs: ${{ needs.builds.outputs.digest }}
tag: ${{ github.event.number }}
release: ${{ github.event.number }}
validate:
name: Validate
needs: [deploys]
if: always() && (!cancelled()) && (!failure())
uses: bcgov/quickstart-openshift-helpers/.github/workflows/[email protected]
with:
markdown_links: |
- [Frontend](https://${{ github.event.repository.name }}-${{ github.event.number }}-frontend.apps.silver.devops.gov.bc.ca)
- [Backend](https://${{ github.event.repository.name }}-${{ github.event.number }}-frontend.apps.silver.devops.gov.bc.ca/api)