-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
cdk-pipelines: Node 16 is approaching end-of-life #26810
Comments
Thankfully, Rico made this really easy to change the last time we changed the default image
|
Hey @peterwoodworth, I have tried to update one of my CDK pipelines to LinuxBuildImage.STANDARD_7_0 but looks like CodeBuild is not synthesizes any template with node 18 and so the cdk.out directory is not created. [Container] 2023/08/22 11:39:55 Running command npx cdk synth --verbose 2>&1
[Container] 2023/08/22 11:39:57 Running command make security_scan
…
find: ‘cdk.out’: No such file or directory
[Container] 2023/08/22 11:40:41 Phase complete: BUILD State: SUCCEEDED
[Container] 2023/08/22 11:40:41 Phase context status code: Message:
[Container] 2023/08/22 11:40:41 Entering phase POST_BUILD
[Container] 2023/08/22 11:40:41 Phase complete: POST_BUILD State: SUCCEEDED
[Container] 2023/08/22 11:40:41 Phase context status code: Message:
[Container] 2023/08/22 11:40:41 Expanding base directory path: cdk/cdk.out
[Container] 2023/08/22 11:40:41 Assembling file list
[Container] 2023/08/22 11:40:41 Expanding cdk/cdk.out
[Container] 2023/08/22 11:40:41 Skipping invalid file path cdk/cdk.out
[Container] 2023/08/22 11:40:41 Phase complete: UPLOAD_ARTIFACTS State: FAILED
[Container] 2023/08/22 11:40:41 Phase context status code: CLIENT_ERROR Message: no matching base directory path found for cdk/cdk.out |
|
getting error with latest
anyone facing the same? 🤔 |
@modosm same issue here, did you find a solution? |
It happens in aws/codebuild/standard:7.0 and The Amazon Linux 2 x86_64 standard image, version 5.0. Can someone fix it? |
Describe the feature
Currently cdk pipelines are using the
aws/codebuild/standard:6.0
image on CodeBuild. Please update the default image toaws/codebuild/standard:7.0
or toaws/codebuild/amazonlinux2-aarch64-standard:3.0
.Use Case
Node 16 is approaching end-of-life and will no longer be supported in new releases after 2023-09-11
Please upgrade to a supported node version as soon as possible.
Proposed Solution
Update the
CDKP_DEFAULT_CODEBUILD_IMAGE
toLinuxBuildImage.STANDARD_7_0
or toAMAZON_LINUX_2_5
in packages/aws-cdk-lib/pipelines/lib/private/default-codebuild-image.tsOther Information
No response
Acknowledgements
CDK version used
2.92.0 (build bf62e55)
Environment details (OS name and version, etc.)
CodeBuild
The text was updated successfully, but these errors were encountered: