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 cdk v2: Self mutate before synth step #32628

Open
1 task
purnasrivatsa96 opened this issue Dec 21, 2024 · 0 comments
Open
1 task

Codepipeline cdk v2: Self mutate before synth step #32628

purnasrivatsa96 opened this issue Dec 21, 2024 · 0 comments
Labels
@aws-cdk/aws-codepipeline Related to AWS CodePipeline bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@purnasrivatsa96
Copy link

Describe the bug

i believe self mutate runs (if we set self Mutation to true in new CodePipeline(...) initialization) after synth step. What if i change commands in synth . Then i need self mutate to run first so that synth takes the latest codeBuildproject( with updated synth commands).
Proposed Solution -
selfMutateFirst? : boolean

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Expected Behavior

A field to configure running self mutate before synth.

Current Behavior

No option to configure running self mutate before synth.

Reproduction Steps

const pipeline = new CodePipeline(this, "Pipeline", {
  pipelineName: "TestPipeline",
  selfMutation: true,
  synth: new ShellStep("Synth", {

.
.
.
.
}

Possible Solution

A field in new CodePipeline() init -
selfMutateFirst? : boolean

Additional Information/Context

No response

CDK CLI Version

2.165.0 (build 00f70f1)

Framework Version

No response

Node.js Version

v18.20.4

OS

Darwin MacOS

Language

TypeScript

Language Version

No response

Other information

No response

@purnasrivatsa96 purnasrivatsa96 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Dec 21, 2024
@github-actions github-actions bot added the @aws-cdk/aws-codepipeline Related to AWS CodePipeline label Dec 21, 2024
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 bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant