Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
dallascrichmond committed Dec 17, 2024
1 parent c61b294 commit 65b0436
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
-p TARGET=${{ inputs.target }}
-p SSOAUTH=${{ vars.SSO_AUTH_SERVER_URL }}
-p DB_PASSWORD=${{ secrets.DB_PASSWORD }}
-P DATABASE_URL=postgresql://${{ secrets.DB_USER }}:${{ secrets.DB_PASSWORD }}@nr-nmp-database-${{ inputs.target }}:${{ secrets.DB_PORT }}/${{ secrets.DB_NAME }}?schema=public
verification_path: /api/health
verification_retry_attempts: "5"
verification_retry_seconds: "15"
Expand Down
6 changes: 4 additions & 2 deletions backend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ parameters:
- name: SSOAUTH
description: SSO Auth Server URL
required: true
- name: DATABASE_URL
description: Database URL
required: true
objects:
- kind: Service
apiVersion: v1
Expand Down Expand Up @@ -101,8 +104,7 @@ objects:
- name: BACKEND_URL
value: https://${APP}-${TARGET}-${COMPONENT}.apps.silver.devops.gov.bc.ca
- name: DATABASE_URL
value: nr-nmp-database-${TARGET}://postgres:${DB_PASSWORD}@nr-nmp-database-${TARGET}:5432/postgres
ports:
value: ${DATABASE_URL}
- containerPort: 3000
protocol: TCP
readinessProbe:
Expand Down
2 changes: 1 addition & 1 deletion database/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM postgis/postgis:15-master

# Copy startup scripts
COPY db/entrypoint/* /docker-entrypoint-initdb.d/
# COPY db/entrypoint/* /docker-entrypoint-initdb.d/

# User, port and Healthcheck
USER postgres
Expand Down
11 changes: 0 additions & 11 deletions database/db/entrypoint/01-initseed.sql

This file was deleted.

0 comments on commit 65b0436

Please sign in to comment.