From ebf2cb2631ed3617cfe1efd512122690c877060f Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 30 Jan 2024 17:25:43 -0800 Subject: [PATCH] Stop using PROMOTE param --- .github/workflows/merge-main.yml | 2 -- .github/workflows/pr-open.yml | 1 - openshift.deploy.yml | 8 +------- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index 9f078db..7378817 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -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 }} @@ -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 }} diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index a763889..ef5116b 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -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 }} diff --git a/openshift.deploy.yml b/openshift.deploy.yml index 71dcdfc..e040ed7 100644 --- a/openshift.deploy.yml +++ b/openshift.deploy.yml @@ -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 @@ -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