Skip to content

Commit

Permalink
Stop using PROMOTE param
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jan 31, 2024
1 parent c78c0ad commit ebf2cb2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ jobs:
overwrite: true
verification_path: /health
parameters:
-p PROMOTE=${{ github.repository }}/api:${{ env.ZONE }}
-p ORACLEDB_USER=${{ secrets.ORACLEDB_USERNAME }}
-p ORACLEDB_PASSWORD=${{ secrets.ORACLEDB_PASSWORD }}
-p ORACLEDB_DATABASE=${{ secrets.ORACLEDB_DATABASE }}
Expand Down Expand Up @@ -226,7 +225,6 @@ jobs:
overwrite: true
verification_path: /health
parameters:
-p PROMOTE=${{ github.repository }}/api:${{ env.ZONE }}
-p ORACLEDB_USER=${{ secrets.ORACLEDB_USERNAME }}
-p ORACLEDB_PASSWORD=${{ secrets.ORACLEDB_PASSWORD }}
-p ORACLEDB_DATABASE=${{ secrets.ORACLEDB_DATABASE }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ jobs:
overwrite: true
verification_path: /health
parameters:
-p PROMOTE=${{ github.repository }}/api:${{ github.event.number }}
-p ORACLEDB_USER=${{ secrets.ORACLEDB_USERNAME }}
-p ORACLEDB_PASSWORD=${{ secrets.ORACLEDB_PASSWORD }}
-p ORACLEDB_DATABASE=${{ secrets.ORACLEDB_DATABASE }}
Expand Down
8 changes: 1 addition & 7 deletions openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ parameters:
value: 75Mi
- name: MEMORY_LIMIT
value: 75Mi
- name: REGISTRY
description: Container registry to import from (internal is image-registry.openshift-image-registry.svc:5000)
value: ghcr.io
- name: PROMOTE
description: Image (namespace/name:tag) to promote/import
value: bcgov/nr-old-growth:prod-backend
- name: ORACLEDB_USER
description: Oracle database user name
required: true
Expand Down Expand Up @@ -88,7 +82,7 @@ objects:
- name: ${IMAGE_TAG}
from:
kind: DockerImage
name: ${REGISTRY}/${PROMOTE}
name: ghcr.io/bcgov/${NAME}/api:${ZONE}
referencePolicy:
type: Local
- apiVersion: v1
Expand Down

0 comments on commit ebf2cb2

Please sign in to comment.