From 7ea92c202a85f28ee616b2508937c74160237e81 Mon Sep 17 00:00:00 2001 From: Dallas Richmond Date: Wed, 9 Oct 2024 14:34:32 -0700 Subject: [PATCH] WIP --- .github/workflows/merge.yml | 80 ++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index b3f68afa..f785d847 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -34,44 +34,44 @@ jobs: uses: bcgov-nr/action-get-pr@v0.0.1 # https://github.com/bcgov/quickstart-openshift-helpers - deploy-test: - name: Deploy (test) - uses: bcgov/quickstart-openshift-helpers/.github/workflows/.deployer.yml@v0.6.1 - secrets: - oc_namespace: ${{ secrets.OC_NAMESPACE }} - oc_token: ${{ secrets.OC_TOKEN }} - with: - environment: test + # deploy-test: + # name: Deploy (test) + # uses: bcgov/quickstart-openshift-helpers/.github/workflows/.deployer.yml@v0.6.1 + # secrets: + # oc_namespace: ${{ secrets.OC_NAMESPACE }} + # oc_token: ${{ secrets.OC_TOKEN }} + # with: + # environment: test - deploy-prod: - name: Deploy (prod) - needs: [deploy-test, vars] - uses: bcgov/quickstart-openshift-helpers/.github/workflows/.deployer.yml@v0.6.1 - secrets: - oc_namespace: ${{ secrets.OC_NAMESPACE }} - oc_token: ${{ secrets.OC_TOKEN }} - with: - environment: prod - params: - --set backend.deploymentStrategy=RollingUpdate - --set frontend.deploymentStrategy=RollingUpdate - --set global.autoscaling=true - --set frontend.pdb.enabled=true - --set backend.pdb.enabled=true - promote: - name: Promote Images - needs: [deploy-prod, vars] - runs-on: ubuntu-22.04 - permissions: - packages: write - strategy: - matrix: - package: [migrations, backend, frontend] - timeout-minutes: 1 - steps: - - uses: shrink/actions-docker-registry-tag@v4 - with: - registry: ghcr.io - repository: ${{ github.repository }}/${{ matrix.package }} - target: ${{ needs.vars.outputs.pr }} - tags: prod + # deploy-prod: + # name: Deploy (prod) + # needs: [deploy-test, vars] + # uses: bcgov/quickstart-openshift-helpers/.github/workflows/.deployer.yml@v0.6.1 + # secrets: + # oc_namespace: ${{ secrets.OC_NAMESPACE }} + # oc_token: ${{ secrets.OC_TOKEN }} + # with: + # environment: prod + # params: + # --set backend.deploymentStrategy=RollingUpdate + # --set frontend.deploymentStrategy=RollingUpdate + # --set global.autoscaling=true + # --set frontend.pdb.enabled=true + # --set backend.pdb.enabled=true + # promote: + # name: Promote Images + # needs: [deploy-prod, vars] + # runs-on: ubuntu-22.04 + # permissions: + # packages: write + # strategy: + # matrix: + # package: [migrations, backend, frontend] + # timeout-minutes: 1 + # steps: + # - uses: shrink/actions-docker-registry-tag@v4 + # with: + # registry: ghcr.io + # repository: ${{ github.repository }}/${{ matrix.package }} + # target: ${{ needs.vars.outputs.pr }} + # tags: prod