864aef7d20
Add test coverage for display only with hub licenses
...
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
(cherry picked from commit 92932647d3 )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-10-03 13:48:33 -07:00
53f053ee6f
Fix panic in display only case for license
...
Prior refactoring passes missed a corner case.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
(cherry picked from commit dee37936e5 )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-10-03 13:48:29 -07:00
a4aba23b85
Remove unused helath check func
...
During the refactoring for 18.09 the activate/update flows no longer
restart the engine explicitly but let the user do that when they're ready,
so the health check logic is no longer required.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
(cherry picked from commit f2b2061cc3 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2018-10-02 20:52:34 +02:00
4a888d3031
Refine how metadata dir is handled
...
This is a follow up PR to #1381 to address some of the review comments
we didn't get to.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
(cherry picked from commit c12e23a4c1 )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-10-01 14:28:11 -07:00
d7ae94b885
use gotest.tools/fs for TestActivateExpiredLicenseDryRun
...
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
(cherry picked from commit a7488d1bcd )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-09-28 14:50:52 -07:00
d486baebfc
Expose licensing details before loading
...
Help the user understand which license they're about
to load in case they have multiple licenses they need to
figure out.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
(cherry picked from commit 5a97a93ae1 )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-09-28 14:37:02 -07:00
2f23c97d17
Fix lint glitches
...
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
(cherry picked from commit 6004d74b1f )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-09-21 15:43:28 -07:00
b7ec4a42d9
Review comments
...
Address code review comemnts and purge additional dead code.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
(cherry picked from commit f250152bf4 )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-09-21 15:43:00 -07:00
f07f51f4c8
Refined engine implementations
...
Adapt the CLI to the host install model for 18.09.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
(cherry picked from commit 342afe44fb )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-09-21 15:41:25 -07:00
eacb812c26
Install binaries on host for upgrade
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
(cherry picked from commit cfec8027ed )
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-09-21 15:40:35 -07:00
2d344b2f61
Remove containerizedengine package dependency from docker/cli/command…
...
… this removes a whole lot of dependencies from people depending on docker/cli…
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-09-11 14:46:30 +02:00
fd2f1b3b66
Add engine commands built on containerd
...
This new collection of commands supports initializing a local
engine using containerd, updating that engine, and activating
the EE product
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2018-08-20 09:42:05 -07:00