From 19e107c7c69c94ff7783e4ef9b45cf7164b136bf Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 26 Nov 2024 20:38:30 -0800 Subject: [PATCH] fix: deploy db before stack --- .github/workflows/.deployer.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/.deployer.yml b/.github/workflows/.deployer.yml index ccaf3ecf9..3245d9278 100644 --- a/.github/workflows/.deployer.yml +++ b/.github/workflows/.deployer.yml @@ -70,8 +70,19 @@ on: required: true jobs: + deployer-db: + name: Database + uses: ./.github/workflows/.deployer-db.yml + secrets: + oc_namespace: ${{ secrets.OC_NAMESPACE }} + oc_token: ${{ secrets.OC_TOKEN }} + with: + environment: ${{ inputs.environment }} + triggers: ${{ inputs.triggers }} + deployer: name: Helm (stack) + needs: deployer-db environment: ${{ inputs.environment }} runs-on: ubuntu-24.04 outputs: @@ -192,13 +203,3 @@ jobs: run: | # Completed pod cleanup oc delete po --field-selector=status.phase==Succeeded || true - - deployer-db: - name: Database - uses: ./.github/workflows/.deployer-db.yml - secrets: - oc_namespace: ${{ secrets.OC_NAMESPACE }} - oc_token: ${{ secrets.OC_TOKEN }} - with: - environment: ${{ inputs.environment }} - triggers: ${{ inputs.triggers }}