Open clairemr opened 3 years ago
We can pull out some code from cdk pipelines stack
As a simple fix I've manually added a CiCd stage at the start of the core & app cdk pipelines
ciCd.ciCd?.addDeployStackStage({ name: "DeployCiCd", stacks: [ciCd], isManualApprovalRequired: false, });
in https://github.com/cdk-cosmos/cosmos/blob/develop/packages/%40cosmos-building-blocks/pipeline/src/pipeline/cdk-pipeline.ts at the end of the constructer
this.addDeployStackStage({name:"SelfMutate", stacks:[Stack.of(this)], isManualApprovalRequired: false})
can add a prop
and if
around this to add the SelfMutate
Add CiCd stage to start of pipeline to implement CiCd changes before other stacks