Skip to content

Commit

Permalink
Envar adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Sep 23, 2023
1 parent 8bf5dae commit f91c25e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f91c25e

Please sign in to comment.