Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
fix: use dev credentials in test and prod for now (#53)
Browse files Browse the repository at this point in the history
* fix: use dev credentials in test and prod for now

* feat: hashicorp vault action version bump to 2.2.0
  • Loading branch information
Ricardo Campos authored Dec 15, 2022
1 parent 689ad8d commit 0ca3de4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,14 @@ jobs:
steps:
- name: Import Secrets
id: secrets
uses: hashicorp/vault-action@v2
uses: hashicorp/vault-action@v2.2.0
with:
url: https://vault-iit.apps.silver.devops.gov.bc.ca
token: ${{ secrets.VAULT_TOKEN }}
exportEnv: 'false'
secrets: |
apps/data/test/spar/app-spar/db_proxy_read_only db_username | VAULT_DB_USER;
apps/data/test/spar/app-spar/db_proxy_read_only db_password | VAULT_DB_PASS;
apps/data/dev/spar/app-spar/db_proxy_read_only db_username | VAULT_DB_USER;
apps/data/dev/spar/app-spar/db_proxy_read_only db_password | VAULT_DB_PASS;
- uses: actions/checkout@v3
- name: Print NRBESTAPI_VERSION env
Expand Down Expand Up @@ -407,14 +407,14 @@ jobs:
- name: Import Secrets
id: secrets
uses: hashicorp/vault-action@v2
uses: hashicorp/vault-action@v2.2.0
with:
url: https://vault-iit.apps.silver.devops.gov.bc.ca
token: ${{ secrets.VAULT_TOKEN }}
exportEnv: 'false'
secrets: |
apps/data/prod/spar/app-spar/db_proxy_read_only db_username | VAULT_DB_USER;
apps/data/prod/spar/app-spar/db_proxy_read_only db_password | VAULT_DB_PASS;
apps/data/dev/spar/app-spar/db_proxy_read_only db_username | VAULT_DB_USER;
apps/data/dev/spar/app-spar/db_proxy_read_only db_password | VAULT_DB_PASS;
- uses: actions/checkout@v3
- name: Print NRBESTAPI_VERSION env
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ jobs:
steps:
- name: Import Secrets
id: secrets
uses: hashicorp/vault-action@v2
uses: hashicorp/vault-action@v2.2.0
with:
url: https://vault-iit.apps.silver.devops.gov.bc.ca
token: ${{ secrets.VAULT_TOKEN }}
Expand Down

0 comments on commit 0ca3de4

Please sign in to comment.