Guillaume Tardif
84cdf58e8a
default context type is “moby”
2020-06-15 12:25:35 +02:00
Guillaume Tardif
113350a09d
Context create aci is now a subcommand, as Moby and example. Root `docker context create` also allows backward compatibility to create docker contexts as before
2020-06-15 12:19:06 +02:00
Guillaume Tardif
336df897c1
Merge pull request #207 from docker/version_cli
...
version command adding azure integration beta version in textual output
2020-06-15 12:02:33 +02:00
Guillaume Tardif
afa205be95
Server version : will be 1.0.0-beta1, -beta2, …
2020-06-15 11:51:03 +02:00
Guillaume Tardif
376a4b671c
version command adding azure integration beta version in textual output
2020-06-13 10:47:05 +02:00
Guillaume Tardif
3c2eb067bc
Fix typo in DOCKER ENPOINT
2020-06-12 14:50:35 +02:00
Guillaume Tardif
93984f8c68
Removed test requiring linux containers
2020-06-11 12:58:58 +02:00
guillaume.tardif
c92df92d29
Fix API Server E2E test using npipe on windows, not sockets
2020-06-11 10:44:30 +02:00
guillaume.tardif
bed0b81343
Fix windows E2E suite setup to work properly on windows
2020-06-11 10:44:30 +02:00
guillaume.tardif
c73998bd2d
Fix e2e tests using golden files on windows
2020-06-11 10:44:30 +02:00
Guillaume Tardif
72bae873c5
Do not delegate to old cli if cobra fails before invoking the PreRun or SetHelp hook that call isOwnCommand(). Find the command from root.Find(args).
...
Tried to use `cmd, err := root.ExecuteC()` but I can’t pass the context like with `root.ExecuteContext(ctx)`, could not find a way without and explicit call to root.Find(args)
2020-06-10 17:25:52 +02:00
Guillaume Tardif
f939dd4d47
Display friendly message if unknown command is available in default context
2020-06-05 18:24:08 +02:00
Guillaume Tardif
54141a9bdd
Do not display exit status when classic cli exit in error
2020-06-05 18:17:18 +02:00
guillaume.tardif
7c6b04f28e
make e2e TestKillChildOnCancel exec properly on windows
2020-06-04 17:58:24 +02:00
Christopher Crone
35789ace12
Azure: Refactor creation of login server
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-06-03 17:10:54 +02:00
Guillaume Tardif
e2b9f5bc57
Move login to root command, delegate to classic login when only one arg and not dot in it
2020-06-01 22:55:46 +02:00
Guillaume Tardif
528d47ce08
Add docker context inspect command relying on classic docker
2020-05-29 12:02:14 +02:00
Guillaume Tardif
ea98a2dd78
Fix docker-classic creation makefile target
2020-05-27 21:14:07 +02:00
Guillaume Tardif
cc46f84043
Forward closing signal to docker-classic when closing docker. Note this will not forward Kill signal, impossible to intercept / process this one.
2020-05-27 18:38:51 +02:00
Guillaume Tardif
e630ace677
Merge pull request #154 from docker/fix_context_inspect_shellout
...
Fix shell out to docker-classic when invoking
2020-05-27 17:02:01 +02:00
Guillaume Tardif
d2648da2d9
Fix shell out to docker-classic when invoking
2020-05-27 16:12:40 +02:00
Guillaume Tardif
66a83410dd
Ensure we have a clear error message in case of wrong setup (previously it would just exit with no error message)
2020-05-26 23:46:02 +02:00
Christopher Crone
7d49706acf
Refactor e2e suite code
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-20 18:08:07 +02:00
Christopher Crone
a8146ad59c
Rework e2e tests into suite
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-20 15:57:10 +02:00
Djordje Lukic
04e6023d08
Merge pull request #114 from docker/feat-context-list
...
Feat context list
2020-05-18 08:06:30 -07:00
Guillaume Tardif
3e2580cfdc
Merge pull request #115 from gtardif/grpc_e2e
...
First e2e test running grpc e2e test (js test client)
2020-05-18 17:02:48 +02:00
Guillaume Tardif
073832631f
First e2e test running grpc e2e test (js test client)
2020-05-18 17:00:16 +02:00
Djordje Lukic
0bd18986dd
Add "*" for the current context
2020-05-18 16:42:06 +02:00
Djordje Lukic
a0dda2d094
Add tests for ps --all
2020-05-18 15:31:59 +02:00
Djordje Lukic
7cbbab1739
Merge pull request #109 from chris-crone/context-show
...
Add context show command
2020-05-18 05:50:20 -07:00
Christopher Crone
10d826eb10
Add context show command
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-18 14:48:02 +02:00
Djordje Lukic
d8a38afecc
Implement printing published ports
2020-05-16 10:41:35 +02:00
Chris Crone
cc23137945
Merge pull request #82 from chris-crone/context-use
...
Add context use command
2020-05-14 19:24:03 +02:00
Christopher Crone
90e11cf349
e2e: Use new context use command
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-14 17:10:24 +02:00
Ulysses Souza
a98acafeee
Give more time to github actions to run it
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-14 13:01:05 +02:00
Ulysses Souza
14fb12c8c8
Let `make protos` affect host files
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-13 10:44:04 +02:00
Christopher Crone
5a2a5f5f60
Use new context rm command for e2e
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-12 12:24:47 +02:00
Guillaume Tardif
9a2ec752b5
Add ACI compose basic e2e test
2020-05-06 15:56:47 +02:00
Guillaume Tardif
eb712ac75f
Added aci e2e tests, not run in CI since requiring azure login.
...
Need a `docker rm` command to add nginx e2e test, and compose sample to follow
2020-05-06 15:48:01 +02:00
Djordje Lukic
688e7e5deb
Implement quiet flag for ps command
2020-05-06 12:18:53 +02:00
Guillaume Tardif
35c5073cc0
First e2e tests running locally (with example backend)
2020-05-05 14:40:30 +02:00