-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean-up checkIfStepActive #4814
Conversation
/it-go |
log.Entry().Warning("This step is using deprecated format of stage conditions which will be removed in Jan 2024. " + | ||
"To avoid pipeline breakage, please call getDefaults command with --useV1 flag.", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getDefaults
step is used by piper-azure-task for downloading piper-defaults (old format) and stage-config (new format). No need to keep the warning message here since we are not going to move piper-defaults to new format
runSteps = runConfigV1.RunSteps | ||
runStages = runConfigV1.RunStages | ||
} else { | ||
log.Entry().Warning("This step is using deprecated format of stage conditions which will be removed in Jan 2024. " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just in time! 😉
/it-go |
/it-go |
/it-go |
Quality Gate passedIssues Measures |
* Clean-up checkIfStepActive * Mark --useV1 deprecated * Clean up tests * Update test * Add warning message * Update warning msg
Changes
Now stage-config contains only new format (CRD-style). This PR removes old code which was used for old format of stage-config.
- [ ] Documentation