-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pipeline): fix feature branch pipeline creation for bare PDKPipel…
…inePyProject (#543) This fixes the CodeBuild buildspec that creates feature branch pipelines by preventing the inclusion of a `"cd "` command in before running `cdk synth`. Changes: * Add an optional `cdkSrcDir` prop to `PDKPipeline` in case the assumption that `cdk.out` and `cdk.json` are in the same directory is incorrect for the project. * Use `path.dirname()` to determine the default `cdkSrcDir` from the `primarySynthDir` to handle the case that it is the project root. fix #462 Co-authored-by: Adrian Dimech <[email protected]>
- Loading branch information
Showing
3 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
packages/pipeline/test/__snapshots__/pdk-pipeline.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.