Pin ECS agent version on AL2 AMIs after EOL - #749
Open
sparrc wants to merge 1 commit into
Open
Conversation
AL2 reached EOL on 2026-06-30. New ECS features are no longer supported on AL2 and the ECS agent version is pinned. Previously AL2 and AL2023 shared a single ecs_agent_version variable, so any AL2023 agent bump automatically flowed into AL2. Decouple them following the docker_version pattern. - Add pinned ecs_agent_version_al2 and ecs_init_rev_al2 variables; the existing ecs_agent_version/ecs_init_rev now belong to AL2023 and keep auto-updating. - Point all AL2 recipes and the shared build provisioner at the pinned al2-specific variables. - generate-release-vars.sh reads the pinned al2 variables for the al2 branch. - check-update.sh rebuilds AL2 only on a new base AMI; security-only and GPU/NVIDIA-only updates no longer trigger AL2 builds. AL2023 unchanged. - generate-changelog.sh reports al2 and al2023 ECS versions independently now that they can differ. Assisted-by: Claude Code:claude-opus-4-8 Signed-off-by: Cameron Sparr <sparrc@users.noreply.github.com>
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
AL2 reached EOL on 2026-06-30. New ECS features are no longer supported on AL2 and the ECS agent version is pinned. Previously AL2 and AL2023 shared a single ecs_agent_version variable, so any AL2023 agent bump automatically flowed into AL2. Decouple them following the docker_version pattern.
Assisted-by: Claude Code:claude-opus-4-8
Testing
make validatepasses to ensure new al2 variable is present in all recipesecs_agent_versionand verified this doesnt generate a new diff for AL2./scripts/check-update.sh al2when there is and isnt an update to the base ami and verified correct outputDescription for the changelog
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.