Upgrade CodeBuild image to Amazon Linux 2023 standard 6.0#40
Open
agasthik wants to merge 1 commit into
Open
Conversation
Update .gitignore to exclude .codex/ and .pytest_cache/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the CodeBuild environment image used by both the single-account and multi-account assessment stacks from the Amazon Linux 2 standard 4.0 image to the Amazon Linux 2023 standard 6.0 image.
The previous
aws/codebuild/amazonlinux2-x86_64-standard:4.0image is an older generation (AL2) on the path to deprecation. Moving toaws/codebuild/amazonlinux-x86_64-standard:6.0(AL2023) keeps the build environment on a current, supported image with up-to-date default runtimes.Changes
deployment/aiml-security-single-account.yaml— CodeBuildImageupdated toaws/codebuild/amazonlinux-x86_64-standard:6.0deployment/2-aiml-security-codebuild.yaml— same image update for the multi-account stack.gitignore— ignore.codex/,.pytest_cache/, and.ash/Compatibility notes
buildspec.ymlpinspython: 3.12underruntime-versions, which the AL2023 standard 6.0 image supports — no buildspec change required.Testing