Skip to content

[25.0 backport] Add tests for CLI/plugin communication#4856

Merged
thaJeztah merged 3 commits intodocker:25.0from
thaJeztah:25.0_backport_plugin-socket-tests
Feb 6, 2024
Merged

[25.0 backport] Add tests for CLI/plugin communication#4856
thaJeztah merged 3 commits intodocker:25.0from
thaJeztah:25.0_backport_plugin-socket-tests

Conversation

@thaJeztah
Copy link
Member

- What I did

Added unit tests for the CLI-plugin socket code, and added e2e tests covering the new functionality as well as backwards compatibility with older plugin binaries, as well as regressions for moby/moby#47073.

OH! There's also a commit making it so that we don't hardcode amd64 in the plugin e2e scripts, so that this works on arm too :)

- How I did it

With a small dog on my lap! And by adding a new e2e test plugin.

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

(not the aforementioned dog)

Screenshot 2024-01-29 at 02 11 51

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
(cherry picked from commit 469bfc0)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
(cherry picked from commit 1c4d6d8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Adds a new plugin to the e2e plugins that simulates an older
plugin binary and a test suite to ensure older plugin binaries
keep behaving the same with newer CLI versions.

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
(cherry picked from commit cfa9fef)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah merged commit 5e6ce1b into docker:25.0 Feb 6, 2024
@thaJeztah
Copy link
Member Author

Thanks!

@thaJeztah thaJeztah deleted the 25.0_backport_plugin-socket-tests branch February 6, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants