Skip to content

Commit

Permalink
chore: token test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Aug 19, 2024
1 parent d826116 commit 8d9da58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/legacy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
uses: bcgov-nr/[email protected]
with:
file: database/openshift.legacy.yml
oc_namespace: ${{ secrets.OC_TOOLS_NAMESPACE }}
oc_namespace: ${{ secrets.OC_NAMESPACE }}
oc_server: ${{ secrets.OC_SERVER }}
oc_token: ${{ secrets.OC_TOKEN }}
overwrite: false
Expand All @@ -85,3 +85,4 @@ jobs:
-p ORACLEDB_USER_W=${{ secrets.ORACLEDB_USERNAME_W }}
-p ORACLEDB_PASSWORD_W=${{ secrets.ORACLEDB_PASSWORD_W }}
-p PROMOTE=${{ github.repository }}/legacydb:${{ github.event.number }}
-p TEMP_TOKEN=${{ secrets.OC_TOKEN }}
6 changes: 5 additions & 1 deletion database/openshift.legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ parameters:
- name: ORACLEDB_USER_W
description: Oracle database user name with write permission
required: true
- name: TEMP_TOKEN
description: Temporary token for deployment
required: true
- name: ORACLEDB_PASSWORD_W
description: Oracle database password with write permission
required: true
Expand All @@ -48,7 +51,8 @@ objects:
app: ${NAME}-${ZONE}
stringData:
oracle-user-write: ${ORACLEDB_USER_W}
oracle-password-write: ${ORACLEDB_PASSWORD_W}
oracle-password-write: ${ORACLEDB_PASSWORD_W}
temp-token: ${TEMP_TOKEN}
- kind: ImageStream
apiVersion: v1
metadata:
Expand Down

0 comments on commit 8d9da58

Please sign in to comment.