Skip to content

Commit 9238749

Browse files
committed
Update deployment workflows to include output for record processor image version. Adjusted dependencies in the continuous deployment workflow to ensure proper image versioning based on previous job outputs, enhancing deployment accuracy.
1 parent a285e4e commit 9238749

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/continuous-deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ jobs:
7979
STATUS_API_KEY: ${{ secrets.STATUS_API_KEY }}
8080

8181
deploy-higher-dev-envs:
82-
needs: [run-internal-dev-tests]
82+
needs: [run-internal-dev-tests, deploy-internal-dev-backend]
8383
strategy:
8484
matrix:
8585
sub_environment_name: [ref, internal-qa]
8686
uses: ./.github/workflows/deploy-backend.yml
8787
with:
8888
apigee_environment: ${{ matrix.sub_environment_name }}
89-
recordprocessor_image_version: internal-dev-git-${{ github.sha }}
89+
recordprocessor_image_version: ${{ needs.deploy-internal-dev-backend.outputs.recordprocessor_image_version }}
9090
diff_base_sha: ${{ github.event.before }}
9191
diff_head_sha: ${{ github.sha }}
9292
run_diff_check: true

.github/workflows/deploy-backend.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ on:
3636
sub_environment:
3737
required: true
3838
type: string
39+
outputs:
40+
recordprocessor_image_version:
41+
description: Selected immutable image selector used for recordprocessor deployment
42+
value: ${{ jobs.deploy-recordprocessor-image.outputs.image_version }}
3943
workflow_dispatch:
4044
inputs:
4145
apigee_environment:

0 commit comments

Comments
 (0)