From 0ca3de41dd7f9943a75b23fd79614b2762beb487 Mon Sep 17 00:00:00 2001 From: Ricardo Campos Date: Thu, 15 Dec 2022 17:02:17 -0300 Subject: [PATCH] fix: use dev credentials in test and prod for now (#53) * fix: use dev credentials in test and prod for now * feat: hashicorp vault action version bump to 2.2.0 --- .github/workflows/merge-main.yml | 12 ++++++------ .github/workflows/pr-open.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index 425ccba..845819f 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -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 @@ -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 diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 7a72f49..d728006 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -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 }}