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

pipelines: Upgrade Default Build Image #23617

Closed
2 tasks
gburke-ppb opened this issue Jan 9, 2023 · 5 comments
Closed
2 tasks

pipelines: Upgrade Default Build Image #23617

gburke-ppb opened this issue Jan 9, 2023 · 5 comments
Labels
@aws-cdk/aws-codepipeline Related to AWS CodePipeline breaking-change This issue requires a breaking change to remediate. effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p1

Comments

@gburke-ppb
Copy link

Describe the feature

Any chance we can get the default image for a Build Stage updated to standard:6.0 ?

    `buildImage: cb.LinuxBuildImage.STANDARD_5_0,`

buildImage: cb.LinuxBuildImage.STANDARD_5_0,

Use Case

I'd prefer not to be hardcoding an image version into all of my CDK pipelines code, but the latest default version has been 5.0 for some time even though 6.0 is available for quite some time now.

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.59.0

Environment details (OS name and version, etc.)

All

@gburke-ppb gburke-ppb added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jan 9, 2023
@github-actions github-actions bot added the @aws-cdk/aws-codepipeline Related to AWS CodePipeline label Jan 9, 2023
@peterwoodworth
Copy link
Contributor

Thanks for the feature request!

I think we will want to keep this as 5_0 for now to prevent this update from breaking anyone's infrastructure. Perhaps this is something that could be hidden behind a feature flag, but since this is configurable through props this might not be likely to happen soon without support

I am marking this issue as p2, which means that we are unable to work on this immediately.

We use +1s to help prioritize our work, and are happy to revaluate this issue based on community feedback. You can reach out to the cdk.dev community on Slack to solicit support for reprioritization.

@peterwoodworth peterwoodworth added p2 effort/small Small work item – less than a day of effort breaking-change This issue requires a breaking change to remediate. and removed needs-triage This issue or PR still needs to be triaged. labels Jan 10, 2023
@coffee-squirrel
Copy link

It seems aws/codebuild/standard:5.0 (cb.LinuxBuildImage.STANDARD_5_0) is going into an unsupported state soon. We've received the following 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.
These images will also not be getting any new updates. We recommend updating your Build Projects to use the latest build images in order to get the latest language runtimes and tools. For more information on how to do this you can follow 'Docker images provided by CodeBuild' [4].

@mrrzest
Copy link

mrrzest commented Mar 8, 2023

Can a feature flag be introduced here so that this isn't marked as a breaking change? Similar to what's being suggested for this issue: #16707

Here's a issue that I think is a duplicate of this issue: #24487

@peterwoodworth peterwoodworth changed the title CodePipeline: Default images pipelines: Upgrade Default Build Image Mar 8, 2023
@peterwoodworth peterwoodworth added p1 and removed p2 labels Mar 8, 2023
@pahud
Copy link
Contributor

pahud commented Mar 9, 2023

closing for #24544

@pahud pahud closed this as completed Mar 9, 2023
@github-actions
Copy link

github-actions bot commented Mar 9, 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/aws-codepipeline Related to AWS CodePipeline breaking-change This issue requires a breaking change to remediate. effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p1
Projects
None yet
Development

No branches or pull requests

6 participants