From f5c417110857a0083f5d2bffbfb1839cd4f9228e Mon Sep 17 00:00:00 2001 From: Paulo Gomes da Cruz Junior Date: Thu, 17 Oct 2024 13:55:50 -0700 Subject: [PATCH 1/2] chore: overwriting deployments --- .github/workflows/merge.yml | 6 ++++-- .github/workflows/pr-open.yml | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 5d088f05..8c1e8ac5 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -23,7 +23,7 @@ jobs: oc_server: ${{ vars.OC_SERVER }} oc_token: ${{ secrets.OC_TOKEN }} file: common/openshift.init.yml - overwrite: false + overwrite: true parameters: -p AWS_KINESIS_STREAM='${{ secrets.AWS_KINESIS_STREAM }}' -p AWS_KINESIS_ROLE_ARN='${{ secrets.AWS_KINESIS_ROLE_ARN }}' @@ -51,6 +51,7 @@ jobs: - name: backend verification_path: actuator/health file: backend/openshift.deploy.yml + overwrite: true timeout: 15m parameters: -p RESULTS_ENV_OPENSEARCH=test @@ -92,7 +93,7 @@ jobs: oc_server: ${{ vars.OC_SERVER }} oc_token: ${{ secrets.OC_TOKEN }} file: common/openshift.init.yml - overwrite: false + overwrite: true parameters: -p AWS_KINESIS_STREAM='${{ secrets.AWS_KINESIS_STREAM }}' -p AWS_KINESIS_ROLE_ARN='${{ secrets.AWS_KINESIS_ROLE_ARN }}' @@ -135,6 +136,7 @@ jobs: - name: backend verification_path: actuator/health file: backend/openshift.deploy.yml + overwrite: true timeout: 15m parameters: -p RESULTS_ENV_OPENSEARCH=production diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 1455f75f..cdaf7cc8 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -53,7 +53,7 @@ jobs: oc_server: ${{ vars.OC_SERVER }} oc_token: ${{ secrets.OC_TOKEN }} file: common/openshift.init.yml - overwrite: false + overwrite: true parameters: -p ZONE=${{ github.event.number }} -p AWS_KINESIS_STREAM='${{ secrets.AWS_KINESIS_STREAM }}' @@ -110,6 +110,7 @@ jobs: file: backend/openshift.deploy.yml timeout: 15m verification_path: /actuator/health + overwrite: true parameters: -p MAX_REPLICAS=1 -p MIN_REPLICAS=1 From e5e865a6233d6fa80b44b99af14b5bd6acdb8347 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Thu, 17 Oct 2024 14:20:04 -0700 Subject: [PATCH 2/2] Removed unused overwrites --- .github/workflows/pr-open.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index cdaf7cc8..1860b6fd 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -105,12 +105,10 @@ jobs: file: database/openshift.deploy.yml parameters: -p DB_PVC_SIZE=128Mi - overwrite: false - name: backend file: backend/openshift.deploy.yml timeout: 15m verification_path: /actuator/health - overwrite: true parameters: -p MAX_REPLICAS=1 -p MIN_REPLICAS=1