-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Add tests for ID-based docker plugin enable/disable/rm/set
#29222
Add tests for ID-based docker plugin enable/disable/rm/set
#29222
Conversation
da0612e
to
336af27
Compare
/cc @tiborvass @vieux |
336af27
to
4d9ffca
Compare
@tonistiigi Thanks. I checked the PR #29487 and verified that it addressed the issue. The following is the test pass on top of #29487:
I also rebased this PR so that now it only includes tests. The test for this PR will fail temporarily but should pass once PR #29487 is merged. |
4d9ffca
to
0f1756f
Compare
0f1756f
to
3420c6e
Compare
@yongtang Needs rebase |
This fix is a follow up based on comment: and a follow up to: moby#29222 (comment) As moby#28789 has been merged in, it is possible for `docker plugin inspect` to search based on Name or ID Prefix. However, ID-based `docker plugin enable/disable/rm/set` are still not possible. This fix addes test for `docker plugin enable/disable/rm/set` to search based on: - Full ID - Full Name - Partial ID (prefix) The actual fix is done in moby#29487. This fix is a follow up of moby#28789 and moby#29487. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
3420c6e
to
c80e74e
Compare
Thanks @tonistiigi The PR has been rebased. |
LGTM |
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.
LGTM, thanks!
docker plugin enable/disable/rm/set
docker plugin enable/disable/rm/set
- What I did
This fix is a follow up based on comment:
#28789 (comment)
As #28789 has been merged in, it is possible for
docker plugin inspect
to search based on Name or ID Prefix. However, ID-baseddocker plugin enable/disable/rm/set
are still not possible.- How I did it
This fix allows
docker plugin enable/disable/rm/set
to search based on:- How to verify it
An additional integration test has been added to cover the changes. And all existing tests should pass.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)
This fix is a follow up of #28789.
/cc @anusha-ragunathan
Signed-off-by: Yong Tang yong.tang.github@outlook.com