Skip to content

Add custom sync rollback other than lambda #4285

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

Closed
wants to merge 29 commits into from

Conversation

kevin-namba
Copy link
Contributor

What this PR does / why we need it:
support custom sync rollback other than lambda

Which issue(s) this PR fixes:

Fixes #1089

Does this PR introduce a user-facing change?:

NONE

@kevin-namba kevin-namba changed the title Add custom sync rollback other than lambda [DO NOT MERGE]Add custom sync rollback other than lambda Mar 23, 2023
@kevin-namba kevin-namba changed the title [DO NOT MERGE]Add custom sync rollback other than lambda Add custom sync rollback other than lambda Mar 24, 2023
@github-actions github-actions bot removed the area/web label Mar 24, 2023
@@ -78,6 +78,7 @@ func buildProgressivePipeline(pp *config.DeploymentPipeline, autoRollback bool,
out = make([]*model.PipelineStage, 0, len(pp.Stages))
)

shouldRollbackCustomSync := false
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
shouldRollbackCustomSync := false
var shouldRollbackCustomSync bool

@@ -31,6 +31,7 @@ func buildQuickSyncPipeline(autoRollback bool, now time.Time) []*model.PipelineS
out = make([]*model.PipelineStage, 0, len(stages))
)

shouldRollbackCustomSync := false
Copy link
Member

Choose a reason for hiding this comment

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

same here.

@@ -31,6 +31,7 @@ func buildQuickSyncPipeline(autoRollback bool, now time.Time) []*model.PipelineS
out = make([]*model.PipelineStage, 0, len(stages))
)

shouldRollbackCustomSync := false
Copy link
Member

Choose a reason for hiding this comment

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

same here.

@@ -78,6 +96,7 @@ func buildProgressivePipeline(pp *config.DeploymentPipeline, autoRollback bool,
out = make([]*model.PipelineStage, 0, len(pp.Stages))
)

shouldRollbackCustomSync := false
Copy link
Member

Choose a reason for hiding this comment

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

same here.

@@ -72,6 +72,7 @@ func buildProgressivePipeline(pp *config.DeploymentPipeline, autoRollback bool,
out = make([]*model.PipelineStage, 0, len(pp.Stages))
)

shouldRollbackCustomSync := false
Copy link
Member

Choose a reason for hiding this comment

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

same here.

Copy link
Contributor

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Nov 14, 2023
Copy link
Contributor

This PR was closed because it has been stalled for 7 days with no activity. Feel free to reopen if still applicable.

@github-actions github-actions bot closed this Nov 21, 2023
@github-actions github-actions bot deleted the add-custom-sync-rollback-other-than-lambda branch November 21, 2023 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: "custom stage” mechanism
3 participants