-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[@aws-cdk/pipelines] Incorrect CodeBuild image used in default synth action #9070
Comments
@justin8 Is this causing the stack to fail? I don't see any errors when I test it. |
Yes, it causes the synthesis stage of the pipeline to fail. Here is a repo that shows a repro. deploy it, push the repo to the created CodeCommit repo and click release in CodePipeline to reproduce the issue: https://github.com/justin8/cdk-pipeline-bug Uncommenting the The first commit is the init of the repo, second one shows 100% of the changes required to make it fail; essentially just the exact example from the CDK pipelines sub-package |
fixes aws#9070 This change moves CDK pipelines from standard build image 1.0 to 4.0
fixes aws#9070 This change moves CDK pipelines from standard build image 1.0 to 4.0
fixes aws#9070 This change moves CDK pipelines from standard build image 1.0 to 4.0
fixes #9070 This change moves CDK pipelines from standard build image 1.0 to 4.0 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
When creating a CDK pipeline the default CodeBuild image in use is the old 1.0 one; 4.0 is the latest and specifying it manually allows the pipeline to build successfully. The issue is the 1.0 build image has an older version of node that is no longer supported by
ts-jest
.Reproduction Steps
Follow the readme for
aws-cdk/pipelines
and create a single s3 bucket in the target stackTo resolve the error, change the following on the
synthAction
:Error Log
During the codebuild phase right after the source stage I get the following error:
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: