feat(codebuild): Support for CodeBuild Image aws/codebuild/amazonlinux2-x86_64-standard:5.0#26058
Conversation
aws-cdk-automation
left a comment
There was a problem hiding this comment.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.
|
Exemption Request This is just adding a value to an enum which doesn't change any pre-existing behaviour |
aws/codebuild/amazonlinux2-x86_64-standard:5.0
aws/codebuild/amazonlinux2-x86_64-standard:5.0aws/codebuild/amazonlinux2-x86_64-standard:5.0
|
The document says |
I did consider this actually, but ultimately went with the Image Identifier as:
Maybe this should be revised by the codebuild team or we can just include both. |
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
vinayak-kukreja
left a comment
There was a problem hiding this comment.
Hey, this looks good to me.
Tagging @corymhall to get a second opinion for the PR.
vinayak-kukreja
left a comment
There was a problem hiding this comment.
Hey, I synced with Cory and have some feedback. Let me know if you need any clarifications.
...s-cdk-testing/framework-integ/test/aws-codebuild/test/integ.project-amazonlinux-image.lit.ts
Outdated
Show resolved
Hide resolved
...s-cdk-testing/framework-integ/test/aws-codebuild/test/integ.project-amazonlinux-image.lit.ts
Outdated
Show resolved
Hide resolved
Pull request has been modified.
|
@vinayak-kukreja Thanks for the comments, I've fixed it up and the new commit passed the CI tests |
vinayak-kukreja
left a comment
There was a problem hiding this comment.
Hey, thank you for addressing the feedback. Just some minor comments.
| constructor(scope: Construct, id: string) { | ||
| super(scope, id); | ||
|
|
||
| /// !show |
There was a problem hiding this comment.
Hey, could you also remove: /// !show and /// !hide.
Pull request has been modified.
vinayak-kukreja
left a comment
There was a problem hiding this comment.
LGTM. Thank you for your contribution :)
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |

Added support for Amazon Linux 2023 CodeBuild Image:
https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
aws/codebuild/amazonlinux2-x86_64-standard:5.0i.e you can now reference the latest codebuild image via the
codebuild.LinuxBuildImage.AMAZON_LINUX_2_5enum rather than having to resolve it manually likeLinuxBuildImage.codeBuildImage('aws/codebuild/amazonlinux2-x86_64-standard:5.0')By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license