Merge pull request #42 from bcgov/pgbackrestConfig-add #172
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Main workflow, orchestrating and triggering other workflows | |
name: main | |
on: | |
workflow_call: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
uses: ./.github/workflows/test.yaml | |
secrets: inherit | |
deploy: | |
needs: [test] | |
uses: ./.github/workflows/deploy-chart.yaml | |
secrets: | |
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }} | |
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }} | |
OPENSHIFT_NAMESPACE: ${{ secrets.OPENSHIFT_NAMESPACE }} | |
OPENSHIFT_ROUTE: ${{ secrets.OPENSHIFT_ROUTE }} | |
NAMESPACE_PREFIX: ${{ secrets.NAMESPACE_PREFIX }} | |
release-chart: | |
needs: [deploy] | |
uses: ./.github/workflows/release-chart.yaml | |
secrets: inherit |