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

CodePipeline: Missing stage inputs for onSuccess, onFailure, and beforeEntry #31833

Open
2 tasks
jaydm26 opened this issue Oct 21, 2024 · 2 comments
Open
2 tasks
Labels
@aws-cdk/aws-codepipeline Related to AWS CodePipeline effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@jaydm26
Copy link

jaydm26 commented Oct 21, 2024

Describe the feature

AWS has implemented the rule based entry and exits from Stages through onSuccess, onFailure, and beforeEntry for CodePipelines.

Cloudformation Documentation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html

Use Case

It would be helpful:

  • I want to skip a Stage based on a certain condition
  • I want to perform certain actions when a stage fails
  • I want to perform certain actions when a stage succeeds

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.162.1

Environment details (OS name and version, etc.)

MacOS Sonoma 14.6.1, Python 3.11.7

@jaydm26 jaydm26 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Oct 21, 2024
@github-actions github-actions bot added the @aws-cdk/aws-codepipeline Related to AWS CodePipeline label Oct 21, 2024
@khushail khushail added investigating This issue is being investigated and/or work is in progress to resolve the issue. p2 and removed needs-triage This issue or PR still needs to be triaged. labels Oct 21, 2024
@khushail
Copy link
Contributor

Hey @jaydm26 , thanks for requesting this. This seems to be good to have feature , as its already supported by Cloduformation - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline.CfnPipeline.StageDeclarationProperty.html

As L1 construct is available for this and you could use that till its made available by CDK, I am marking this as P2 which means it would be on team's radar and be open for community as well as team's contribution.

Thanks

@khushail khushail added effort/small Small work item – less than a day of effort effort/medium Medium work item – several days of effort and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. effort/small Small work item – less than a day of effort labels Oct 21, 2024
@ireznykov-s
Copy link

I found the workaround for Skip condition: #32045 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-codepipeline Related to AWS CodePipeline effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

No branches or pull requests

3 participants