Skip to content

Commit

Permalink
feat(test_deploy.yaml): pass dagger_version and dagger_checksum to de…
Browse files Browse the repository at this point in the history
…ploy jobs

This change ensures that the version and checksum of Dagger are
explicitly passed to the deployment setup and backend deployment jobs.
  • Loading branch information
cybersiddhu committed Jul 3, 2024
1 parent 93efe5e commit 99789ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@ on:
jobs:
setup-dagger:
uses: ./.github/workflows/setup-dagger.yaml

deploy-setup:
needs: setup-dagger
uses: ./.github/workflows/deploy-setup.yaml
secrets: inherit
with:
cluster: ${{ vars.DEV_STAGING_CLUSTER }}
cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }}
dagger_version: ${{ needs.setup-dagger.outputs.dagger_version }}
dagger_checksum: ${{ needs.setup-dagger.outputs.dagger_checksum }}

deploy-backend:
needs: deploy-setup
uses: ./.github/workflows/deploy-backend.yaml
secrets: inherit
with:
run_id: ${{ needs.deploy-setup.outputs.workflow_run_id }}

dagger_version: ${{ needs.setup-dagger.outputs.dagger_version }}
dagger_checksum: ${{ needs.setup-dagger.outputs.dagger_checksum }}

0 comments on commit 99789ec

Please sign in to comment.