Commit Graph

250 Commits

Author SHA1 Message Date
Guillaume Tardif fce6d78750
Merge pull request #117 from gtardif/auto-release
Release CI config
2020-05-19 16:08:51 +02:00
Guillaume Tardif 5c873c1a84 Release CI config 2020-05-18 22:55:50 +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 3891c8c414 Put all magic strings in variables in context store 2020-05-18 16:42:06 +02:00
Djordje Lukic 0bd18986dd Add "*" for the current context 2020-05-18 16:42:06 +02:00
Djordje Lukic cf1be96833
Merge pull request #99 from docker/feat-stop
Add `Stop` command on the gRPC side.
2020-05-18 07:40:39 -07:00
Anca Iordache f0f8e95f80
Merge pull request #116 from pmckeetx/dockercon-demo
Add DockerCon 2020 header image and update font
2020-05-18 16:30:08 +02:00
peter 43a781581c Add DockerCon 2020 header image and update font 2020-05-18 09:22:08 -05:00
Chris Crone 20009c55c3
Merge pull request #103 from chris-crone/config-tests
Add config package tests
2020-05-18 15:40:17 +02:00
Christopher Crone 91c1cddc70 Remove extra \n in server to appease linter
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-18 15:32:49 +02:00
Djordje Lukic a0dda2d094 Add tests for ps --all 2020-05-18 15:31:59 +02:00
Djordje Lukic a26dd81307 Add timeout as a parameter to the stop action 2020-05-18 15:31:59 +02:00
Djordje Lukic ce7cbd4463 Add `Stop` command on the gRPC side. 2020-05-18 15:31:59 +02:00
Chris Crone f118856076
Merge pull request #112 from rumpl/chore-clean-deps
go mod tidy
2020-05-18 15:30:34 +02:00
Christopher Crone ad0fd73c31 Add config file tests
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-18 15:28:45 +02:00
Christopher Crone 292b6cbd84 Use const for default context name
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-18 15:27:47 +02:00
Chris Crone cd6d192d07
Merge pull request #113 from chris-crone/appease-linter-main-test
Appease linter in main test
2020-05-18 15:26:59 +02:00
Guillaume Tardif 2e8251fb2d
Merge pull request #100 from gtardif/windows_grpc
Allow server to start on tcp port or if windows, named pipe rather than unix socket
2020-05-18 15:18:51 +02:00
Christopher Crone 7e81f9e147 Appease linter
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-18 15:12:52 +02:00
Christopher Crone ee4ffcb5f4 Extend lint timeout
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-18 15:12:35 +02:00
Djordje Lukic f451bb333e
Merge pull request #110 from ulyssessouza/fix-typo
Fix typo (and refactor the method name)
2020-05-18 06:10:08 -07:00
Djordje Lukic b854cf2114 go mod tidy 2020-05-18 15:09:14 +02:00
Chris Crone 485078cbb8
Merge pull request #111 from chris-crone/context-show-no-global
Do not pass global flags to context show
2020-05-18 15:04:32 +02:00
Christopher Crone 6d2f085717 Do not pass global flags to context show
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-18 14:58:03 +02:00
Ulysses Souza 872e81862a Fix typo (and refactor the method name)
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-18 14:56:32 +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
Christopher Crone f6fcd27a09 Factor determination of current context
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-18 14:40:15 +02:00
guillaume.tardif ecfffc6feb Allow server to start on tcp port or if windows, named pipe rather than unix socket. could not yet make it work on named pipe from js client (connects but error) 2020-05-18 14:14:52 +02:00
Djordje Lukic 9b63e967d0
Merge pull request #101 from docker/feat-labels
Add labels to containers on run
2020-05-18 04:57:04 -07:00
Djordje Lukic fcb4b606e2 Add labels to containers on run 2020-05-18 13:54:03 +02:00
Djordje Lukic 0c6b6beec4
Merge pull request #98 from docker/feat-port-print
Implement printing published ports
2020-05-18 04:48:14 -07:00
Djordje Lukic 6fd290e2b1 Add ports convet tests 2020-05-18 12:21:27 +02:00
Djordje Lukic 5effbdc31f Add ACI public ip 2020-05-18 11:36:46 +02:00
Djordje Lukic d8a38afecc Implement printing published ports 2020-05-16 10:41:35 +02:00
Djordje Lukic 23d2eacf84
Merge pull request #97 from docker/feat-port-parsing
Port parsing on the comand line
2020-05-15 17:49:18 +02:00
Guillaume Tardif d496b239dd
Merge pull request #96 from rumpl/chore-golangci-lint
Remove golangci-lint action, use executable
2020-05-15 15:51:18 +02:00
Guillaume Tardif 4dbb0df34c
Merge pull request #83 from docker/azure-login
Azure login
2020-05-15 15:38:27 +02:00
Djordje Lukic 52f7902d40 Port parsing on the comand line 2020-05-15 15:04:09 +02:00
Guillaume Tardif 7cf2309ca6 Separate azure login bits in LocalServer + Helper (mocked part) 2020-05-15 10:40:48 +02:00
Guillaume Tardif 7edc6659a2 Add unit tests for login process 2020-05-15 10:28:31 +02:00
Guillaume Tardif 146dd3e639 Fix tokenStore not creating ~/.azure folder if not exist 2020-05-15 10:15:56 +02:00
Guillaume Tardif 8b116b7c73 get an available port for login localhost server, instead of hardcoded port 2020-05-15 10:15:56 +02:00
Guillaume Tardif d49773e348 Use cli context for login 2020-05-15 10:15:56 +02:00
Guillaume Tardif bd5e3af2d4 Plug new authorizer and remove az dependency 2020-05-15 10:15:56 +02:00
Guillaume Tardif 69f10fe80c Extract interface / types to allow unit tests / mock 2020-05-15 10:15:56 +02:00
Guillaume Tardif 1e19d977e0 Initial functional login command : added Cloud API with generic Login() 2020-05-15 10:04:22 +02:00
Guillaume Tardif eea84cd487 move context cmd to its own folder ; initial `docker context login` command 2020-05-15 10:04:22 +02:00