diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index c6d0480..e87b5dc 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -14,7 +14,7 @@ jobs: deploys-test: name: TEST Deploys env: - repo_template: bcgov/quickstart-openshift + template: bcgov/quickstart-openshift zone: test environment: test permissions: @@ -27,11 +27,11 @@ jobs: - name: init file: common/openshift.init.yml overwrite: false - repository: ${{ env.repo_template }} + repository: ${{ env.template }} - name: database file: database/openshift.deploy.yml overwrite: false - repository: ${{ env.repo_template }} + repository: ${{ env.template }} triggers: ('backend-go' 'backend-java' 'backend-py') - name: backend-go file: backend-go/openshift.deploy.yml @@ -54,7 +54,7 @@ jobs: file: frontend/openshift.deploy.yml overwrite: true parameters: -p MIN_REPLICAS=1 -p MAX_REPLICAS=2 - repository: ${{ env.repo_template }} + repository: ${{ env.template }} triggers: ('database/' 'backend/' 'frontend/') steps: - uses: bcgov-nr/action-deployer-openshift@v1.4.0 @@ -175,7 +175,7 @@ jobs: deploys-prod: name: PROD Deploys env: - repo_template: bcgov/quickstart-openshift + template: bcgov/quickstart-openshift zone: prod environment: prod needs: [integration-tests, cypress-e2e] @@ -189,11 +189,11 @@ jobs: - name: init file: common/openshift.init.yml overwrite: false - repository: ${{ env.repo_template }} + repository: ${{ env.template }} - name: database file: database/openshift.deploy.yml overwrite: false - repository: ${{ env.repo_template }} + repository: ${{ env.template }} triggers: ('backend-go' 'backend-java' 'backend-py') - name: backend-go file: backend-go/openshift.deploy.yml @@ -216,7 +216,7 @@ jobs: file: frontend/openshift.deploy.yml overwrite: true parameters: -p MIN_REPLICAS=1 -p MAX_REPLICAS=2 - repository: ${{ env.repo_template }} + repository: ${{ env.template }} triggers: ('database/' 'backend/' 'frontend/') steps: - uses: bcgov-nr/action-deployer-openshift@v1.4.0 diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 8867ad9..3ff67df 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -84,7 +84,7 @@ jobs: deploys: name: Deploys env: - repo_template: bcgov/quickstart-openshift + template: bcgov/quickstart-openshift zone: ${{ github.event.number }} if: "!github.event.pull_request.head.repo.fork" needs: [builds] @@ -98,11 +98,11 @@ jobs: - name: init file: common/openshift.init.yml overwrite: false - repository: ${{ env.repo_template }} + repository: ${{ env.template }} - name: database file: database/openshift.deploy.yml overwrite: false - repository: ${{ env.repo_template }} + repository: ${{ env.template }} triggers: ('backend-go' 'backend-java' 'backend-py') - name: backend-go file: backend-go/openshift.deploy.yml @@ -125,7 +125,7 @@ jobs: file: frontend/openshift.deploy.yml overwrite: true parameters: -p MIN_REPLICAS=1 -p MAX_REPLICAS=2 - repository: ${{ env.repo_template }} + repository: ${{ env.template }} triggers: ('database/' 'backend/' 'frontend/') steps: - uses: bcgov-nr/action-deployer-openshift@v1.4.0