Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

sg msp: only generate skaffold assets if last stage of rollouts#62736

Merged
bobheadxi merged 1 commit into
mainfrom
sg-msp-fixup-skaffold-generation
May 16, 2024
Merged

sg msp: only generate skaffold assets if last stage of rollouts#62736
bobheadxi merged 1 commit into
mainfrom
sg-msp-fixup-skaffold-generation

Conversation

@bobheadxi

Copy link
Copy Markdown
Member

#62704 introduced a regression due to the changing of the semantics of rollouts configuration in code: previously, only the final stage would get it, but with #62704 this became available on all environments, and to infer the final stage a nil-safe helper rollout.IsFinalStage() was introduced.

This change fixes a missed check migration that causes additional assets to be incorrectly generated for non-final environments.

Test plan

sg msp generate -all

@bobheadxi bobheadxi requested a review from a team May 16, 2024 17:23
@cla-bot cla-bot Bot added the cla-signed label May 16, 2024
@bobheadxi bobheadxi merged commit 6c9e620 into main May 16, 2024
@bobheadxi bobheadxi deleted the sg-msp-fixup-skaffold-generation branch May 16, 2024 17:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants