-
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.
fix: removing vault due to inconsistency (#490)
- Loading branch information
Paulo Gomes da Cruz Junior
authored
Jun 7, 2023
1 parent
4df95d5
commit 371ecac
Showing
2 changed files
with
4 additions
and
42 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 }} | ||
|
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 |
---|---|---|
|
@@ -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: | ||
|
@@ -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 }} | ||
|