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

[19.03 backport] cli-plugins: add concept of experimental plugin, only enabled in experimental mode #1905

Merged
merged 2 commits into from
May 23, 2019

Conversation

thaJeztah
Copy link
Member

backport of #1898 for 19.03
closes #1897 for 19.03

To test, add $(pwd)/build/plugins-linux-amd64 to "cliPluginsExtraDirs" config and run:

make plugins
make binary
HELLO_EXPERIMENTAL=1 docker helloworld

To show it enabled:

HELLO_EXPERIMENTAL=1 DOCKER_CLI_EXPERIMENTAL=enabled docker helloworld

Tibor Vass added 2 commits May 23, 2019 21:28
…rimental mode

To test, add $(pwd)/build/plugins-linux-amd64 to "cliPluginsExtraDirs" config and run:
make plugins
make binary
HELLO_EXPERIMENTAL=1 docker helloworld

To show it enabled:
HELLO_EXPERIMENTAL=1 DOCKER_CLI_EXPERIMENTAL=enabled docker helloworld

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 6ca8783)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit bb8e89b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov-io
Copy link

Codecov Report

Merging #1905 into 19.03 will decrease coverage by <.01%.
The diff coverage is 35.29%.

@@            Coverage Diff             @@
##            19.03    #1905      +/-   ##
==========================================
- Coverage   56.73%   56.72%   -0.01%     
==========================================
  Files         309      309              
  Lines       21666    21678      +12     
==========================================
+ Hits        12292    12297       +5     
- Misses       8477     8483       +6     
- Partials      897      898       +1

Copy link
Contributor

@andrewhsu andrewhsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tiborvass tiborvass merged commit 649097f into docker:19.03 May 23, 2019
@thaJeztah thaJeztah deleted the 19.03_backport_plugin_experimental branch May 23, 2019 21:07
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.

6 participants