Skip to content

Commit

Permalink
Deploy postgres db
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed Jun 10, 2024
1 parent f4c43bd commit 280b101
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/infrastructure/scripts/deploy-postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ release_ops="${repo_dir}/templates/operations"
ops_files=${OPS_FILES:-"${release_ops}/use_ssl.yml\
${release_ops}/add_static_ips.yml\
${ci_dir}/operations/postgres/set_disk.yml\
${ci_dir}/operations/postgres/add_databases.yml\
"}


Expand Down
19 changes: 19 additions & 0 deletions ci/operations/postgres/add_databases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- type: replace
path: /instance_groups/name=postgres/jobs/name=postgres/properties?/databases/databases/name=sandbox?
value:
name: multiapps_controller
citext: true

- type: replace
path: /instance_groups/name=postgres/jobs/name=postgres/properties?/databases/roles/name=pgadmin?
value:
name: pgadmin
password: ((pgadmin_database_password))
permissions:
- "CONNECTION LIMIT 50"

- type: replace
path: /variables?/name=pgadmin_database_password?
value:
name: pgadmin_database_password
type: password

0 comments on commit 280b101

Please sign in to comment.