Skip to content

Commit

Permalink
fix: deploy db before stack
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Nov 27, 2024
1 parent da1b9b2 commit 19e107c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/.deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

0 comments on commit 19e107c

Please sign in to comment.