-
Notifications
You must be signed in to change notification settings - Fork 618
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 docker client library to v23.0.3 in ecs-init #3635
Conversation
24084ca
to
159c50a
Compare
@@ -46,5 +49,3 @@ replace github.com/coreos/go-systemd => github.com/coreos/go-systemd/v22 v22.0.0 | |||
replace golang.org/x/net => golang.org/x/net v0.0.0-20170529214944-3da985ce5951 | |||
|
|||
replace github.com/jmespath/go-jmespath => github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af | |||
|
|||
replace github.com/pkg/errors => github.com/pkg/errors v0.8.1-0.20170505043639-c605e284fe17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed this line as tests were failing with
go test -count=1 -short -v -coverprofile cover.out ./ecs-init/...
# github.com/aws/amazon-ecs-agent/ecs-init/vendor/github.com/docker/docker/pkg/archive
ecs-init/vendor/github.com/docker/docker/pkg/archive/archive.go:782:14: undefined: errors.Is
Locally ran functional tests for al2023, al2023arm and al2023neu and they succeeded. |
e808ee5
159c50a
to
e808ee5
Compare
rebased to include the fix #3638. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for running the tests for AL2023 locally!
Summary
We have a dependabot PR #3633 open to update docker client in ecs-init from 20.10.3-0.20210618090124-472f21b923ef+incompatible to 20.10.24+incompatible. The dependabot PR is failing with
and upon trying to resolve the case-insensitive import collision, there was another error while running linux tests
So this PR updates the docker client library to v23.0.3(latest version) in ecs-init to avoid the above failures
Implementation details
Testing
New tests cover the changes:
Description for the changelog
Enhancement: update docker client library to latest in ecs-init
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.