Skip to content

EPMDEDP-16587: feat: populate image digest in APPLICATIONS_PAYLOAD#269

Merged
SergK merged 1 commit intomasterfrom
add-digest-to-cdstagedeploy
Mar 21, 2026
Merged

EPMDEDP-16587: feat: populate image digest in APPLICATIONS_PAYLOAD#269
SergK merged 1 commit intomasterfrom
add-digest-to-cdstagedeploy

Conversation

@SergK
Copy link
Member

@SergK SergK commented Mar 21, 2026

Extend CodebaseTag with an optional Digest field so CDStageDeploy carries the image SHA256 digest from CBIS through the auto-deploy flow.

The autodeploy strategy manager now includes imageDigest in the APPLICATIONS_PAYLOAD JSON. For the Auto (latest) strategy, digest is read directly from the CBIS latest tag. For the AutoStable strategy, the current triggered app gets digest from CDStageDeploy, stable apps get digest backfilled from CBIS during the InputDockerStreams iteration, and remaining apps use the latest tag digest. When digest is unavailable (pre-upgrade CBIS or old CDStageDeploy), the field is omitted via omitempty for full backward compatibility.

Relates-to: EPMDEDP-16587

Extend CodebaseTag with an optional Digest field so CDStageDeploy
carries the image SHA256 digest from CBIS through the auto-deploy flow.

The autodeploy strategy manager now includes imageDigest in the
APPLICATIONS_PAYLOAD JSON. For the Auto (latest) strategy, digest is
read directly from the CBIS latest tag. For the AutoStable strategy,
the current triggered app gets digest from CDStageDeploy, stable apps
get digest backfilled from CBIS during the InputDockerStreams iteration,
and remaining apps use the latest tag digest. When digest is unavailable
(pre-upgrade CBIS or old CDStageDeploy), the field is omitted via
omitempty for full backward compatibility.

Relates-to: EPMDEDP-16587
Signed-off-by: Sergiy Kulanov <sergiy_kulanov@epam.com>
@SergK SergK requested a review from a team as a code owner March 21, 2026 08:25
@SergK SergK merged commit a8df896 into master Mar 21, 2026
5 checks passed
@SergK SergK deleted the add-digest-to-cdstagedeploy branch March 21, 2026 08:47
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.

1 participant