generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* test(638): trigger dev deployment * fix: try to not stop the pod after cron job * fix(638): added db restore cronjob , refs: #638 * fix(638): fix yml format error, refs: #638 * fix(638): fix yml format error, refs: #638 * fix(638): add placehoder for customize env variables, refs: #638 * fix: add a deployment config for testing * another fix to try * another fix to try * update the yaml file * fix and try * fix(638): fix database backup cron job, refs: #638 * feat(638): add comment to restore yaml, refs: #638 * fix(638): fix db backup schedule back to original time, refs: #638 * fix(638): add more comment to the db restore yaml, refs: #638 * test restore config * fix: switch back to set overwrite to be false * fix: switch back to set overwrite to be false * add restore cron job logic * update restore command * fix: adjust restore command * fix: update variables in restore command * rename variable for restore script * fix(638): add error handling logic in restore script, refs: #638 * fix(638): add error handling when psql command fail in restore script, refs: #638 * fix(638): set backofflimit to 0 for restore cronjob, refs: #638 * Adjust restore procedure. * Fix script. * fix script * fix space * drop "--set ON_ERROR_STOP=on" --------- Co-authored-by: Ian Liu <[email protected]> Co-authored-by: Ian Liu <[email protected]>
- Loading branch information
1 parent
c35e2c4
commit 20d668a
Showing
4 changed files
with
131 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ jobs: | |
file: api/openshift.deploy.yml | ||
overwrite: true | ||
parameters: | ||
-p OC_NAMESPACE=a4b31c-test | ||
-p OC_NAMESPACE=${{ vars.OC_NAMESPACE }} | ||
-p URL=fom-demo.apps.silver.devops.gov.bc.ca | ||
-p [email protected] | ||
-p DB_TESTDATA=true | ||
|
@@ -69,6 +69,7 @@ jobs: | |
- name: db | ||
file: db/openshift.deploy.yml | ||
overwrite: false | ||
parameters: -p OC_NAMESPACE=${{ vars.OC_NAMESPACE }} | ||
- name: init | ||
file: libs/openshift.init.yml | ||
overwrite: false | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
oc_version: "4.13" | ||
overwrite: true | ||
parameters: | ||
-p OC_NAMESPACE=a4b31c-test | ||
-p OC_NAMESPACE=${{ vars.OC_NAMESPACE }} | ||
-p URL=fom-test.nrs.gov.bc.ca | ||
-p [email protected] | ||
-p DB_TESTDATA=true | ||
|
@@ -45,6 +45,7 @@ jobs: | |
- name: db | ||
file: db/openshift.deploy.yml | ||
overwrite: false | ||
parameters: -p OC_NAMESPACE=${{ vars.OC_NAMESPACE }} | ||
- name: init | ||
file: libs/openshift.init.yml | ||
overwrite: false | ||
|
@@ -84,7 +85,7 @@ jobs: | |
oc_version: "4.13" | ||
overwrite: true | ||
parameters: | ||
-p OC_NAMESPACE=a4b31c-prod | ||
-p OC_NAMESPACE=${{ vars.OC_NAMESPACE }} | ||
-p URL=fom.nrs.gov.bc.ca | ||
-p AWS_USER_POOLS_WEB_CLIENT_ID="4bu2n8at3m32a2fqnvd4t06la1" | ||
-p LOGOUT_CHAIN_URL="https://logon7.gov.bc.ca/clp-cgi/logoff.cgi?retnow=1&returl=https://loginproxy.gov.bc.ca/auth/realms/standard/protocol/openid-connect/logout?redirect_uri=" | ||
|
@@ -97,6 +98,7 @@ jobs: | |
- name: db | ||
file: db/openshift.deploy.yml | ||
overwrite: false | ||
parameters: -p OC_NAMESPACE=${{ vars.OC_NAMESPACE }} | ||
- name: init | ||
file: libs/openshift.init.yml | ||
overwrite: false | ||
|
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
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