Skip to content
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

fix(conditions): Only pause pipeline deploys #3150

Merged
merged 2 commits into from
Sep 16, 2019

Conversation

jeyrschabu
Copy link
Contributor

  • Pausing deployments should only apply to pipelines
  • Orchestrations should be ignored

@jeyrschabu
Copy link
Contributor Author

This PR ensures that pausing deployments only applies to pipelines and ignore orchestrations.
When a deployment is paused as a result of a failover, the pipeline execution view provides the user the option to un-pause the deployment.
However, that option is not currently available in the task view, in the case where a user is manually cloning a server group.
This prevents the user from intervening to un-pause the deployment in case of an emergency.

@@ -48,7 +49,9 @@ public ConditionAwareDeployStagePreprocessor(

@Override
public boolean supports(Stage stage) {
return true;
// Restricting pausing deployments to Pipeline executions only
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
// Restricting pausing deployments to Pipeline executions only
// Restrict pausing deployments to Pipeline executions only

- Pausing deployments should only apply to pipelines
- Orchestrations should be ignored
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.

3 participants