From 25c113f2c85da070559f216da9cc2d3893e6921e Mon Sep 17 00:00:00 2001 From: Dallas Richmond Date: Wed, 9 Oct 2024 15:06:23 -0700 Subject: [PATCH] WIP --- .github/workflows/.deploy.yml | 38 +++++++++++++++++------------------ .github/workflows/pr-open.yml | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/.deploy.yml b/.github/workflows/.deploy.yml index 57176772..1c641295 100644 --- a/.github/workflows/.deploy.yml +++ b/.github/workflows/.deploy.yml @@ -35,25 +35,25 @@ jobs: parameters: -p TAG=${{ inputs.tag }} -p TARGET=${{ inputs.target }} - # backend: - # name: Backend - # needs: [database] - # environment: ${{ inputs.environment }} - # runs-on: ubuntu-22.04 - # steps: - # - name: Deploy Backend - # uses: bcgov-nr/action-deployer-openshift@v3.0.0 - # with: - # oc_namespace: ${{ vars.OC_NAMESPACE }} - # oc_server: ${{ vars.OC_SERVER }} - # oc_token: ${{ secrets.OC_TOKEN }} - # file: backend/openshift.deploy.yml - # overwrite: true - # parameters: - # -p TAG=${{ inputs.tag }} -p TARGET=${{ inputs.target }} - # verification_path: /api/health - # verification_retry_attempts: "5" - # verification_retry_seconds: "15" + backend: + name: Backend + needs: [database] + environment: ${{ inputs.environment }} + runs-on: ubuntu-22.04 + steps: + - name: Deploy Backend + uses: bcgov-nr/action-deployer-openshift@v3.0.0 + with: + oc_namespace: ${{ vars.OC_NAMESPACE }} + oc_server: ${{ vars.OC_SERVER }} + oc_token: ${{ secrets.OC_TOKEN }} + file: backend/openshift.deploy.yml + overwrite: true + parameters: + -p TAG=${{ inputs.tag }} -p TARGET=${{ inputs.target }} + verification_path: /api/health + verification_retry_attempts: "5" + verification_retry_seconds: "15" # frontend: # name: Frontend diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 0208289a..e7537cf8 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - package: [database, backend] + package: [database, backend, frontend] timeout-minutes: 20 steps: - uses: bcgov-nr/action-builder-ghcr@v2.2.0