Skip to content

Commit

Permalink
Updated url
Browse files Browse the repository at this point in the history
  • Loading branch information
dallascrichmond committed Dec 17, 2024
1 parent 72a8478 commit 1d3c5aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
needs: [init, database]
environment: ${{ inputs.environment }}
runs-on: ubuntu-22.04
env:
DATABASE_URL: postgres://${{ secrets.DB_USER }}:${{ secrets.DB_PASSWORD }}@${{ vars.OC_SERVER }}:${{ secrets.DB_PORT }}/${{ secrets.DB_NAME }}
steps:
- name: Deploy Backend
uses: bcgov-nr/[email protected]
Expand All @@ -79,6 +77,10 @@ jobs:
-p IMAGE_TAG=${{ inputs.tag }}
-p TARGET=${{ inputs.target }}
-p SSOAUTH=${{ vars.SSO_AUTH_SERVER_URL }}
-p DB_PASSWORD=${{ secrets.DB_PASSWORD }}
-p DB_USER=${{ secrets.DB_USER }}
-p DB_NAME=${{ secrets.DB_NAME }}
-p DB_PORT=${{ secrets.DB_PORT }}
verification_path: /api/health
verification_retry_attempts: "5"
verification_retry_seconds: "15"
Expand Down
2 changes: 2 additions & 0 deletions backend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ objects:
value: https://${APP}-${TARGET}.apps.silver.devops.gov.bc.ca
- name: BACKEND_URL
value: https://${APP}-${TARGET}-${COMPONENT}.apps.silver.devops.gov.bc.ca
- name: DATABASE_URL
value: postgresql://postgres:${DB_PASSWORD}@postgres:5432/postgres
ports:
- containerPort: 3000
protocol: TCP
Expand Down

0 comments on commit 1d3c5aa

Please sign in to comment.