-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #356 from bcgov/chore/deploy-to-test
chore: deploy cif to test
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
app: | ||
sitewide_notice: | ||
content: <div class="alert alert-warning">This is the TEST environment.</div> | ||
|
||
nginx-sidecar: | ||
hostName: cas-cif-test.apps.silver.devops.gov.bc.ca | ||
|
||
cas-postgres: | ||
patroni: | ||
walE: | ||
enable: true | ||
# the GCS bucket name should be {{ namespace }}-{{ gcs.bucketSuffix }} | ||
gcsBucket: c53ff1-test-cif-backups | ||
# kubernetesSecret should be gcp-{{ namespace }}-{{ gcs.bucketSuffix }}-service-account-key | ||
kubernetesSecret: gcp-c53ff1-test-cif-backups-service-account-key # pragma: allowlist secret | ||
# options below are required if walE.enable is true | ||
namespace: c53ff1-test | ||
gcs: | ||
bucketSuffix: cif-backups | ||
|
||
db: | ||
preUpgradeCommand: | | ||
psql<<EOF | ||
select pg_terminate_backend(pid) from pg_stat_activity where | ||
-- don't kill my own connection! | ||
pid <> pg_backend_pid() | ||
-- don't kill the connections to other databases | ||
and datname = '$(CIF_DATABASE)'; | ||
drop database if exists $(CIF_DATABASE); | ||
drop user if exists $(CIF_USER); | ||
EOF | ||
cert-issue: | ||
airflowEndpoint: https://cas-airflow-test.apps.silver.devops.gov.bc.ca | ||
|
||
deploy-db: | ||
airflowEndpoint: https://cas-airflow-test.apps.silver.devops.gov.bc.ca | ||
|
||
download-dags: | ||
airflowEndpoint: https://cas-airflow-test.apps.silver.devops.gov.bc.ca |