-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rebuild changed components only #965
Conversation
@@ -217,145 +198,6 @@ func (info *PipelineInfo) SetGitAttributes(gitCommitHash, gitTags string) { | |||
} | |||
|
|||
// IsDeployOnlyPipeline Determines if the pipeline is deploy-only |
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.
Inconsistent comment
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.
fixed
if pipelineInfo.IsPipelineType(radixv1.Deploy) { | ||
if len(pipelineInfo.BuildComponentImages) > 0 { |
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.
One "if"?
if pipelineInfo.IsPipelineType(radixv1.Deploy) &&
len(pipelineInfo.BuildComponentImages) > 0 {
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.
fixed
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.
Ett par spørsmål :)
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.
godkjent
Rebuild changed components
A component is build if:
PrepareBuildContext.EnvironmentsToBuild
returned from the prepare-pipeline step.If a component does not need to be rebuilt, the image is taken from previous RadixDeployment for the environment.
Misc other changes