Skip to content
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

Update default buildImage of CDK pipeline BuildEnvironment #24487

Closed
2 tasks
vumdao opened this issue Mar 7, 2023 · 5 comments
Closed
2 tasks

Update default buildImage of CDK pipeline BuildEnvironment #24487

vumdao opened this issue Mar 7, 2023 · 5 comments
Assignees
Labels
@aws-cdk/pipelines CDK Pipelines library feature-request A feature should be added or improved. investigating This issue is being investigated and/or work is in progress to resolve the issue.

Comments

@vumdao
Copy link

vumdao commented Mar 7, 2023

Describe the feature

The default image build of CDK pipeline is LinuxBuildImage.STANDARD_1_0 which is far from the latest unsupported version STANDARD_5_0

export interface BuildEnvironment {
    /**
     * The image used for the builds.
     *
     * @default LinuxBuildImage.STANDARD_1_0
     */
    readonly buildImage?: IBuildImage;

Announcement from AWS: We are reaching out to you because you ran a build using the Ubuntu standard 5.0 [1] Docker Image, Amazon Linux 2 ARM standard 1.0 [2], or Amazon Linux 2 standard 3.0 [3] in the last 30 days. Starting March 30, 2023, AWS CodeBuild will be moving these images to an unsupported status and they will not be cached on the build hosts anymore. You may continue using these images for your builds, but you will notice an increase in provisioning latency after March 30, 2023.

Use Case

I would like to use the default buildImage from aws-codebuild so the default version should be the supported one

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.67.0

Environment details (OS name and version, etc.)

macOS Ventura 13.2.1

@vumdao vumdao added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Mar 7, 2023
@github-actions github-actions bot added the @aws-cdk/pipelines CDK Pipelines library label Mar 7, 2023
@markusl
Copy link
Contributor

markusl commented Mar 7, 2023

Is this same as #16707 ?

@pahud pahud self-assigned this Mar 7, 2023
@pahud pahud added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Mar 7, 2023
@pahud
Copy link
Contributor

pahud commented Mar 7, 2023

Yes we noticed some related issues regarding the build image. I'll discuss with the team internally.

@mrrzest
Copy link

mrrzest commented Mar 8, 2023

Looks like #23617 is also related.

@peterwoodworth
Copy link
Contributor

Thanks for the request,

Closing as duplicate of #16707

@peterwoodworth peterwoodworth closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2023
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/pipelines CDK Pipelines library feature-request A feature should be added or improved. investigating This issue is being investigated and/or work is in progress to resolve the issue.
Projects
None yet
Development

No branches or pull requests

5 participants