Skip to content

Commit

Permalink
fix: add missing value for aws cognito backend (#778)
Browse files Browse the repository at this point in the history
* fix: add missing value for aws cognito backend

* All deployments except Oracle-API trigger every PR

---------

Co-authored-by: Derek Roberts <derek.roberts@gmail.com>
  • Loading branch information
Ricardo Campos and DerekRoberts authored Jan 18, 2024
1 parent e929e13 commit 3710f05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ jobs:
parameters:
-p DB_PVC_SIZE=128Mi
overwrite: false
triggers: ('common/' 'database/' 'backend/' 'frontend/')
- name: backend
file: backend/openshift.deploy.yml
overwrite: true
Expand All @@ -110,12 +109,10 @@ jobs:
-p MAX_REPLICAS=1
-p BUILD=snapshot-${{ needs.init.outputs.tag }}
-p AWS_COGNITO_ISSUER_URI=https://cognito-idp.${{ vars.AWS_REGION }}.amazonaws.com/${{ vars.VITE_USER_POOLS_ID }}
triggers: ('common/' 'database/' 'backend/' 'frontend/')
verification_path: "actuator/health"
- name: fluentbit
file: common/openshift.fluentbit.yml
overwrite: true
triggers: ('common/' 'database/' 'backend/' 'frontend/' 'oracle-api/')
- name: frontend
file: frontend/openshift.deploy.yml
overwrite: true
Expand All @@ -126,7 +123,6 @@ jobs:
-p MAX_REPLICAS=1
-p VITE_USER_POOLS_ID=${{ vars.VITE_USER_POOLS_ID }}
-p VITE_USER_POOLS_WEB_CLIENT_ID=${{ vars.VITE_USER_POOLS_WEB_CLIENT_ID }}
triggers: ('common/' 'database/' 'backend/' 'oracle-api/' 'frontend/')
- name: oracle-api
file: oracle-api/openshift.deploy.yml
overwrite: true
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ services:
FORESTCLIENTAPI_KEY: "${FORESTCLIENTAPI_KEY}"
ORACLE_SERVER_URL: https://nr-spar-test-oracle-api.apps.silver.devops.gov.bc.ca
POSTGRES_HOST: database
AWS_COGNITO_ISSUER_URI: "${AWS_COGNITO_ISSUER_URI}"
AWS_COGNITO_ISSUER_URI: "https://cognito-idp.ca-central-1.amazonaws.com/ca-central-1_t2HSZBHur"
<<: *db-vars
ports: ["8090:8090", "5005:5005"]
image: maven:3.9.6-eclipse-temurin-17
Expand Down Expand Up @@ -107,6 +107,7 @@ services:
SERVER_PORT: "8091"
ORACLEDB_KEYSTORE: /app/jssecacerts
ORACLEDB_SECRET: changeit
AWS_COGNITO_ISSUER_URI: "https://cognito-idp.ca-central-1.amazonaws.com/ca-central-1_t2HSZBHur"
profiles: ["oracle"]
network_mode: host
image: maven:3.9.6-eclipse-temurin-17
Expand Down

0 comments on commit 3710f05

Please sign in to comment.