Skip to content

fix(ci): force edge redeploy when toggling skip_product_id_check - #85

Draft
weited wants to merge 1 commit into
mainfrom
bugfix/9652-skip-product-id-check-redeploy
Draft

weited wants to merge 1 commit into
mainfrom
bugfix/9652-skip-product-id-check-redeploy

Conversation

@weited

@weited weited commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator
  • force deploy when the SSM changed

Copilot AI balanced review requested due to automatic review settings October 27, 2026 04:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Concurrent execution with CD-Edge can overwrite a newer image and deployment digest, unintentionally rolling back edge.

1 open issue
What changed in this PR

This PR makes the edge flag-toggle workflow trigger a redeployment so running API tasks pick up the updated skip_product_id_check value.

Changes:

  • Rebuilds and republishes the latest image with a run-specific label to change its digest.
  • Writes the new digest to SSM before triggering the existing edge deployment.
File Description
.github/​workflows/​deploy_skip_product_id_check_edge.yaml Adds image republishing and updates the deployment digest when toggling the validation flag.

Review effort: Balanced

Comment on lines +42 to +44
printf 'FROM %s:latest\nLABEL au.org.aodn.redeploy-run-id="%s"\n' "$image" "$RUN_ID" \
| docker build --pull -t "$image:latest" -
docker push "$image:latest"
@weited
weited marked this pull request as draft October 29, 2026 03:15

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants