fix(codebuild): add build image AMAZON_LINUX_2_ARM_2#16931
fix(codebuild): add build image AMAZON_LINUX_2_ARM_2#16931mergify[bot] merged 1 commit intoaws:masterfrom
Conversation
|
I couldn't get very far with this PR because I couldn't get So, didn't look at tests (though I'm not seeing anything for these constants) and I was sort of hoping to implement something like Lastly - if it is easier if I just move over and someone else takes over, that is totally OK! Just trying to help out. |
This can also be in a separate PR so we don't block this. It would be nice to make this available to our developers who are taking advantage of the new ARM support in Lambda and want to build their code using ARM in their pipelines. |
| public static readonly AMAZON_LINUX_2_3 = LinuxBuildImage.codeBuildImage('aws/codebuild/amazonlinux2-x86_64-standard:3.0'); | ||
|
|
||
| public static readonly AMAZON_LINUX_2_ARM: IBuildImage = new ArmBuildImage('aws/codebuild/amazonlinux2-aarch64-standard:1.0'); | ||
| public static readonly AMAZON_LINUX_2_ARM_1: IBuildImage = new ArmBuildImage('aws/codebuild/amazonlinux2-aarch64-standard:1.0'); |
There was a problem hiding this comment.
Let's get rid of this one, and just keep AMAZON_LINUX_2_ARM.
|
|
||
| public static readonly AMAZON_LINUX_2_ARM: IBuildImage = new ArmBuildImage('aws/codebuild/amazonlinux2-aarch64-standard:1.0'); | ||
| public static readonly AMAZON_LINUX_2_ARM_1: IBuildImage = new ArmBuildImage('aws/codebuild/amazonlinux2-aarch64-standard:1.0'); | ||
| public static readonly AMAZON_LINUX_2_ARM_2: IBuildImage = new ArmBuildImage('aws/codebuild/amazonlinux2-aarch64-standard:2.0'); |
There was a problem hiding this comment.
You need a comment for this element:
| public static readonly AMAZON_LINUX_2_ARM_2: IBuildImage = new ArmBuildImage('aws/codebuild/amazonlinux2-aarch64-standard:2.0'); | |
| /** Image "aws/codebuild/amazonlinux2-aarch64-standard:2.0". */ | |
| public static readonly AMAZON_LINUX_2_ARM_2: IBuildImage = new ArmBuildImage('aws/codebuild/amazonlinux2-aarch64-standard:2.0'); |
You probably have some old .js files laying around from our recent test migration away from NodeUnit. Make sure to clean the repo from untracked files ( |
|
Thanks, making the requested changes! |
dbd03d1 to
63dc4cc
Compare
Pull request has been modified.
Yuuuup, nailed it, thanks! |
|
OK, got these to run and pass locally: ../../../scripts/buildup
yarn build && yarn test |
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 master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Fixes aws#16930 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Fixes #16930
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license