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

ecs-init: upgrade github.com/docker/docker -> v25.0.6 #4463

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

singholt
Copy link
Contributor

@singholt singholt commented Jan 3, 2025

Summary

This PR updates github.com/docker/docker to v25.0.6 in the ecs-init module.

Implementation details

Upon upgrading the version, and running go mod tidy, we see that pkg/aaparser was removed from the docker codebase. This is the PR where it was removed: moby/moby#47005.

We use the LoadProfile() method that was moved to an internal pkg in docker and unexported, breakng external usage like ours. In order to resolve this issue, this PR copies the loadProfile() from the docker codebase into the ecs-init module.

Testing

New tests cover the changes: No, relying on existing automated PR checks. I also ran the functional tests by replacing ecs init on the instance, with the ecs init built from this PR – tests passed.

Description for the changelog

Enhancement: upgrade github.com/docker/docker to v25.0.6 in ecs-init module

Additional Information

Does this PR include breaking model changes? If so, Have you added transformation functions? No

Does this PR include the addition of new environment variables in the README? No

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@singholt singholt marked this pull request as ready for review January 3, 2025 23:07
@singholt singholt requested a review from a team as a code owner January 3, 2025 23:07
@singholt singholt changed the title [wip] ecs-init: upgrade github.com/docker/docker -> v25.0.6 ecs-init: upgrade github.com/docker/docker -> v25.0.6 Jan 3, 2025
@singholt singholt merged commit 5691f13 into aws:dev Jan 6, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants