-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(pipelines): changeset approval steps #16148
Copy link
Copy link
Closed
Labels
@aws-cdk/pipelinesCDK Pipelines libraryCDK Pipelines libraryeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Use Case
We'd like to be able to add steps in between the Prepare and Deploy steps of individual stacks, similar to pre and post.
Biggest challenge: how do we specify WHERE the additional steps should go?
The obviously similar choice to pre and post:
pipeline.addStage(new MyStage(), {
intra: [
new ManualApprovalStep('Pause'), // <--- WHERE?
]
});Won't exactly work, as the only choice is to add between all stacks, but that might not be what's intended.
┌────────────┐ ┌────────────┐
│ │ ... │ │
│ S1.Prepare │───here?──▶│ S1.Deploy │────┐
│ │ ... │ │ │ ┌────────────┐ ┌────────────┐
└────────────┘ └────────────┘ │ │ │ ... │ │
├───▶│ S3.Prepare │──here?──▶│ S3.Deploy │
┌────────────┐ ┌────────────┐ │ │ │ ... │ │
│ │ ... │ │ │ └────────────┘ └────────────┘
│ S2.Prepare │───here?──▶│ S2.Deploy │────┘
│ │ ... │ │
└────────────┘ └────────────┘
Some discussion: https://cdk-dev.slack.com/archives/C01FDB9UFNV/p1626373420181400
This is a 🚀 Feature Request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/pipelinesCDK Pipelines libraryCDK Pipelines libraryeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2