Skip to content

Commit

Permalink
fix: removing vault due to inconsistency (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Gomes da Cruz Junior authored Jun 7, 2023
1 parent 4df95d5 commit 371ecac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 42 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,25 +135,6 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Broker
id: broker
uses: bcgov-nr/[email protected]
with:
broker_jwt: ${{ secrets.BROKER_JWT }}
provision_role_id: ${{ secrets.PROVISION_ROLE_ID }}
project_name: client
app_name: app-client
environment: test
- name: Import Secrets
id: secrets
uses: hashicorp/[email protected]
with:
url: https://vault-iit.apps.silver.devops.gov.bc.ca
token: ${{ steps.broker.outputs.vault_token }}
exportEnv: 'false'
secrets: |
apps/data/test/client/app-client/db_proxy_read_only db_username | VAULT_DB_USER;
apps/data/test/client/app-client/db_proxy_read_only db_password | VAULT_DB_PASS;
- name: Deploys
uses: bcgov-nr/[email protected]
with:
Expand All @@ -164,8 +145,8 @@ jobs:
overwrite: false
parameters:
-p ZONE=${{ env.ZONE }} -p NAME=${{ github.event.repository.name }}
-p ORACLEDB_USER=${{ steps.secrets.outputs.VAULT_DB_USER }}
-p ORACLEDB_PASSWORD=${{ steps.secrets.outputs.VAULT_DB_PASS }}
-p ORACLEDB_USER=${{ secrets.ORACLEDB_USERNAME }}
-p ORACLEDB_PASSWORD=${{ secrets.ORACLEDB_PASSWORD }}
-p ORACLEDB_DATABASE=${{ secrets.ORACLEDB_DATABASE }}
-p ORACLEDB_HOST=${{ secrets.ORACLEDB_HOST }}
-p ORACLEDB_SERVICENAME=${{ secrets.ORACLEDB_SERVICENAME }}
Expand Down
23 changes: 2 additions & 21 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,25 +177,6 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Broker
id: broker
uses: bcgov-nr/[email protected]
with:
broker_jwt: ${{ secrets.BROKER_JWT }}
provision_role_id: ${{ secrets.PROVISION_ROLE_ID }}
project_name: client
app_name: app-client
environment: development
- name: Import Secrets
id: secrets
uses: hashicorp/[email protected]
with:
url: https://vault-iit.apps.silver.devops.gov.bc.ca
token: ${{ steps.broker.outputs.vault_token }}
exportEnv: "false"
secrets: |
apps/data/dev/client/app-client/db_proxy_read_only db_username | VAULT_DB_USER;
apps/data/dev/client/app-client/db_proxy_read_only db_password | VAULT_DB_PASS;
- name: Deploys
uses: bcgov-nr/[email protected]
with:
Expand All @@ -206,8 +187,8 @@ jobs:
overwrite: false
parameters:
-p ZONE=${{ github.event.number }} -p NAME=${{ github.event.repository.name }}
-p ORACLEDB_USER=${{ steps.secrets.outputs.VAULT_DB_USER }}
-p ORACLEDB_PASSWORD=${{ steps.secrets.outputs.VAULT_DB_PASS }}
-p ORACLEDB_USER=${{ secrets.ORACLEDB_USERNAME }}
-p ORACLEDB_PASSWORD=${{ secrets.ORACLEDB_PASSWORD }}
-p ORACLEDB_DATABASE=${{ secrets.ORACLEDB_DATABASE }}
-p ORACLEDB_HOST=${{ secrets.ORACLEDB_HOST }}
-p ORACLEDB_SERVICENAME=${{ secrets.ORACLEDB_SERVICENAME }}
Expand Down

0 comments on commit 371ecac

Please sign in to comment.