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

Closed
1 task
purnasrivatsa96 opened this issue Dec 21, 2024 · 2 comments
Closed
1 task

Codepipeline cdk v2: Self mutate before synth step #32628

purnasrivatsa96 opened this issue Dec 21, 2024 · 2 comments
Labels
@aws-cdk/aws-codepipeline Related to AWS CodePipeline bug This issue is a bug.

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
@pahud
Copy link
Contributor

pahud commented Dec 23, 2024

close in favor of #32627

@pahud pahud closed this as completed Dec 23, 2024
@pahud pahud removed the needs-triage This issue or PR still needs to be triaged. label Dec 23, 2024
Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
@aws-cdk/aws-codepipeline Related to AWS CodePipeline bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants