Skip to content

Commit

Permalink
chore(codebuild): aarch64 standard 2.0 and 3.0 build images are not d…
Browse files Browse the repository at this point in the history
…eprecated (#29580)

### Issue # (if applicable)

Closes #<issue number here>.

### Reason for this change



AWS CodeBuild Docker images `AMAZON_LINUX_2_ARM_3` aka `AMAZON_LINUX_2_STANDARD_3_0` aka `aws/codebuild/amazonlinux2-aarch64-standard:3.0` and `AMAZON_LINUX_2_ARM_2` aka `AMAZON_LINUX_2_STANDARD_2_0` aka `aws/codebuild/amazonlinux2-aarch64-standard:2.0`are not deprecated but the currently actively maintained ones according to https://github.com/aws/aws-codebuild-docker-images and https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html

### Description of changes



I removed the JSDoc Deprecated flag for the currently active images and added their image names as a comment so that one can find the images also using those references.

### Description of how you validated changes



### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
nikovirtala authored Apr 17, 2024
1 parent 21804fd commit 1f8bc90
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/aws-cdk-lib/aws-codebuild/lib/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1790,12 +1790,9 @@ export class LinuxBuildImage implements IBuildImage {

/** @deprecated Use LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0 instead. */
public static readonly AMAZON_LINUX_2_ARM = LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_1_0;
/**
* Image "aws/codebuild/amazonlinux2-aarch64-standard:2.0".
* @deprecated Use LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0 instead.
* */
/** The `aws/codebuild/amazonlinux2-aarch64-standard:2.0` build image. */
public static readonly AMAZON_LINUX_2_ARM_2 = LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_2_0;
/** @deprecated Use LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0 instead. */
/** The `aws/codebuild/amazonlinux2-aarch64-standard:3.0` build image. */
public static readonly AMAZON_LINUX_2_ARM_3 = LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0;

/** @deprecated Use `STANDARD_7_0` and specify runtime in buildspec runtime-versions section */
Expand Down

0 comments on commit 1f8bc90

Please sign in to comment.