1
0
mirror of https://github.com/docker/compose-cli.git synced 2026-10-25 06:19:18 +03:00

Commit Graph

  • 6bfdded047 Windows CI Guillaume Tardif 2020-06-08 21:13:51 +02:00
  • f3f6bff583 Fix linter Guillaume Tardif 2020-06-08 17:30:46 +02:00
  • df6fc2f18f Fix volume path setting for linux containers from windows host guillaume.tardif 2020-06-08 21:36:14 +02:00
  • c92df92d29 Fix API Server E2E test using npipe on windows, not sockets guillaume.tardif 2020-06-08 17:08:54 +02:00
  • bed0b81343 Fix windows E2E suite setup to work properly on windows guillaume.tardif 2020-06-08 16:50:47 +02:00
  • c73998bd2d Fix e2e tests using golden files on windows guillaume.tardif 2020-06-08 14:43:51 +02:00
  • 07a29e2d0e Merge pull request #201 from docker/fix_delegate_errors Guillaume Tardif 2020-06-10 18:24:23 +02:00
  • e7682682fb Store context type in metadata to make retrocompatibility with previous contexts easier (potentially switching back and forth) Guillaume Tardif 2020-06-10 14:07:35 +02:00
  • 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) Guillaume Tardif 2020-06-10 17:24:13 +02:00
  • 8930563a25 Merge pull request #194 from docker/dependabot/go_modules/github.com/onsi/gomega-1.10.1 Djordje Lukic 2020-06-10 02:12:45 -07:00
  • fa5b3b2291 Bump github.com/onsi/gomega from 1.9.0 to 1.10.1 dependabot-preview[bot] 2020-06-10 09:07:30 +00:00
  • 956237430d Merge pull request #199 from docker/fix_login_error Djordje Lukic 2020-06-10 02:04:35 -07:00
  • f236c5fa45 Merge pull request #193 from docker/dependabot/go_modules/github.com/Azure/go-autorest/autorest/adal-0.8.3 Djordje Lukic 2020-06-10 02:03:45 -07:00
  • 1639834429 Merge pull request #196 from rumpl/feat-store-grpc-context Djordje Lukic 2020-06-10 02:03:32 -07:00
  • 819a7389f7 Fix login error when login to an azure account having no associated tenant. This was encountered by @lorenrh with stack : `` docker login azure panic: runtime error: index out of range [0] with length 0 goroutine 1 [running]: github.com/docker/api/azure/login.AzureLoginService.Login(0xc0004cc2a0, 0x2d, 0xe8b8a0, 0x1476830, 0xe8e4e0, 0xc000498ff0, 0x0, 0x0) github.com/docker/api/azure/login/login.go:130 +0x1057 github.com/docker/api/azure.(*aciCloudService).Login(0xc0004888c0, 0xe8e4e0, 0xc000498ff0, 0x0, 0xe82720, 0xc0004888c0) github.com/docker/api/azure/backend.go:283 +0x64 github.com/docker/api/cli/cmd/login.cloudLogin(0xc0004eb600, 0xd422a4, 0x3, 0x1, 0xffffffffffffffff) github.com/docker/api/cli/cmd/login/login.go:53 +0xae github.com/docker/api/cli/cmd/login.runLogin(0xc0004eb600, 0xc00049c5f0, 0x1, 0x1, 0x0, 0x0) github.com/docker/api/cli/cmd/login/login.go:39 +0x15e github.com/spf13/cobra.(*Command).execute(0xc0004eb600, 0xc00049c5d0, 0x1, 0x1, 0xc0004eb600, 0xc00049c5d0) github.com/spf13/cobra@v1.0.0/command.go:842 +0x45a github.com/spf13/cobra.(*Command).ExecuteC(0xc0004a8580, 0xc000498fc0, 0xc41160, 0x1476830) github.com/spf13/cobra@v1.0.0/command.go:950 +0x350 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra@v1.0.0/command.go:887 github.com/spf13/cobra.(*Command).ExecuteContext(...) github.com/spf13/cobra@v1.0.0/command.go:880 main.main() github.com/docker/api/cli/main.go:167 +0x68f `` Guillaume Tardif 2020-06-10 09:36:43 +02:00
  • 8400795caf Add the store to the gRPC context Djordje Lukic 2020-06-08 18:34:32 +02:00
  • 4b9bdd0e4b Bump github.com/Azure/go-autorest/autorest/adal from 0.8.2 to 0.8.3 dependabot-preview[bot] 2020-06-09 07:59:55 +00:00
  • a47a2d39c3 Merge pull request #195 from docker/chore-dependabot-daily Chris Crone 2020-06-09 09:58:49 +02:00
  • 43a607a4af Merge pull request #192 from docker/dependabot/go_modules/github.com/stretchr/testify-1.6.1 Djordje Lukic 2020-06-09 00:55:18 -07:00
  • 9c21e09044 Run dependabot daily instead of weekly Djordje Lukic 2020-06-09 09:45:57 +02:00
  • 63bdcad79e Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 dependabot-preview[bot] 2020-06-08 21:26:19 +00:00
  • 574a378886 Merge pull request #182 from rumpl/feat-context-server Djordje Lukic 2020-06-08 07:47:35 -07:00
  • c8079d61ee Move streams into own package Djordje Lukic 2020-06-06 22:46:35 +02:00
  • bb69de1db3 Add context endpoint to set the current context Djordje Lukic 2020-06-06 22:30:04 +02:00
  • 22d4d250a9 Move the config into own package and outside of cli Djordje Lukic 2020-06-06 22:22:30 +02:00
  • 67fb49c98c Merge pull request #179 from rumpl/feat-stream Djordje Lukic 2020-06-08 06:52:56 -07:00
  • 660e61ad6d Merge pull request #169 from docker/container_id_display Guillaume Tardif 2020-06-08 13:50:04 +02:00
  • f1a5f2d6cf Backend is responsible for generating containers IDs and truncate them if wanted/supported for docker ps Guillaume Tardif 2020-06-08 12:07:20 +02:00
  • 71087c68be Add exec.ts for an example of exec over gRPC Djordje Lukic 2020-06-05 16:29:08 +02:00
  • c34d016fdb Unify protos with client interfaces Djordje Lukic 2020-06-05 16:28:18 +02:00
  • e604e7efc9 Merge pull request #181 from rumpl/fix-logs Djordje Lukic 2020-06-08 00:34:05 -07:00
  • 4700364667 Merge pull request #180 from docker/unknown_comand_error Guillaume Tardif 2020-06-08 09:25:18 +02:00
  • 31a0716c87 Use stdcopy if the container doesn't have a tty Djordje Lukic 2020-06-06 14:34:38 +02:00
  • e81c7ae8e3 Merge pull request #185 from docker/dependabot/go_modules/github.com/Azure/azure-sdk-for-go-42.3.0incompatible Djordje Lukic 2020-06-06 15:13:44 -07:00
  • b6f8d9cd80 Bump github.com/Azure/azure-sdk-for-go dependabot-preview[bot] 2020-06-06 21:49:23 +00:00
  • 4cc89f577d Merge pull request #183 from docker/dependabot/go_modules/google.golang.org/protobuf-1.24.0 Djordje Lukic 2020-06-06 14:44:22 -07:00
  • 5951db58c1 Bump google.golang.org/protobuf from 1.22.0 to 1.24.0 dependabot-preview[bot] 2020-06-06 21:41:25 +00:00
  • bd198c741e Merge pull request #186 from docker/dependabot/go_modules/github.com/golang/protobuf-1.4.2 Djordje Lukic 2020-06-06 14:38:02 -07:00
  • c57cc28f29 Merge pull request #187 from docker/dependabot/go_modules/github.com/opencontainers/go-digest-1.0.0 Djordje Lukic 2020-06-06 14:37:49 -07:00
  • a1d3ba398a Merge pull request #184 from docker/dependabot/go_modules/github.com/Azure/go-autorest/autorest-0.10.2 Djordje Lukic 2020-06-06 14:37:34 -07:00
  • 5bb15bbf58 Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0 dependabot-preview[bot] 2020-06-06 21:23:14 +00:00
  • cd711e5f6b Bump github.com/golang/protobuf from 1.4.1 to 1.4.2 dependabot-preview[bot] 2020-06-06 21:22:53 +00:00
  • 3774557392 Bump github.com/Azure/go-autorest/autorest from 0.10.0 to 0.10.2 dependabot-preview[bot] 2020-06-06 21:21:36 +00:00
  • f939dd4d47 Display friendly message if unknown command is available in default context Guillaume Tardif 2020-06-05 17:30:27 +02:00
  • 54141a9bdd Do not display exit status when classic cli exit in error Guillaume Tardif 2020-06-05 17:08:42 +02:00
  • e84b508e80 Merge pull request #171 from docker/windows_kill_child_processes v0.0.4 Djordje Lukic 2020-06-05 00:42:21 -07:00
  • 995d047608 Windows specific : ensure all child processes are killed when parent exits (also works when killing parent). From Desktop code guillaume.tardif 2020-06-04 16:32:21 +02:00
  • 7c6b04f28e make e2e TestKillChildOnCancel exec properly on windows guillaume.tardif 2020-06-04 16:31:06 +02:00
  • b91eab0544 Merge pull request #170 from docker/context_create_check Guillaume Tardif 2020-06-04 16:51:11 +02:00
  • 4a4b62ded2 Do not allow context creation for unknown types Guillaume Tardif 2020-06-03 19:01:20 +02:00
  • e77513c1c8 Merge pull request #165 from docker/azure_private_images Guillaume Tardif 2020-06-04 15:43:42 +02:00
  • 427527d197 Merge pull request #146 from docker/chore-refactor-azure-login Guillaume Tardif 2020-06-04 10:39:30 +02:00
  • e5335adedd Azure: Refactor login errors Christopher Crone 2020-06-04 10:20:39 +02:00
  • c37f666c07 Merge pull request #164 from docker/interactive_context_create Guillaume Tardif 2020-06-03 18:06:41 +02:00
  • 35789ace12 Azure: Refactor creation of login server Christopher Crone 2020-05-22 13:38:30 +02:00
  • dae54a3c1f Merge pull request #166 from docker/grpc_container_errfix Djordje Lukic 2020-06-03 04:12:47 -07:00
  • 1c94893d2f Fix slight bug in error handling Guillaume Tardif 2020-06-03 12:20:49 +02:00
  • 39140c8ea0 Refactoring, add unit test or various interactive context creation Guillaume Tardif 2020-06-03 12:05:58 +02:00
  • 774bfea341 Refactoring, add unit test or various interactive context creation Guillaume Tardif 2020-06-02 23:33:41 +02:00
  • 5675763856 Interactive context create, adding method CreateContextData to CloudService interface, so Cloud Backends can provide a custom context creation method. Guillaume Tardif 2020-06-02 09:49:30 +02:00
  • 11f1c057dc Allow pulling private images from hub or other registries, as long as the user is logged in against the registry(ies). Registry creds are passed along with the ACI payload (cf https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-aci). Manually tested against hub & ACR private repo Guillaume Tardif 2020-06-02 15:29:16 +02:00
  • 21b6a2ae71 Merge pull request #160 from chris-crone/dockerfile-improvements Chris Crone 2020-06-02 12:15:43 +02:00
  • 654f9ebbaf Tidy Makefiles Christopher Crone 2020-06-02 11:53:13 +02:00
  • 9920fe2284 Remove unused variables Christopher Crone 2020-05-29 12:00:45 +02:00
  • 247fa56ee1 More Dockerfile best practices Christopher Crone 2020-05-29 11:30:12 +02:00
  • 3a2e16dc7a Merge pull request #163 from docker/chore-remove-backend Djordje Lukic 2020-06-02 00:56:37 -07:00
  • ec5e61b645 Merge pull request #162 from docker/login_command Guillaume Tardif 2020-06-02 09:42:38 +02:00
  • 45b672a39d Remove unused backend proto Djordje Lukic 2020-06-02 09:40:43 +02:00
  • e2b9f5bc57 Move login to root command, delegate to classic login when only one arg and not dot in it Guillaume Tardif 2020-05-29 17:07:48 +02:00
  • f1fb80ecc5 Merge pull request #161 from docker/context_inspect Guillaume Tardif 2020-05-29 15:51:10 +02:00
  • 6830724ab9 Merge pull request #159 from docker/fix_azure_login Djordje Lukic 2020-05-29 06:23:27 -07:00
  • 528d47ce08 Add docker context inspect command relying on classic docker Guillaume Tardif 2020-05-29 12:02:07 +02:00
  • 01aaec2dbe Fix Azure login : allow getting a backend when no corresponding context already exists with an explicit call from the login command. Will be usefull next for context creation with azure interactive things Guillaume Tardif 2020-05-28 17:37:59 +02:00
  • 9097b1f750 Add .git to .dockerignore Christopher Crone 2020-05-29 11:29:28 +02:00
  • 832651b1dc Merge pull request #157 from docker/kill_child_process_on_cancel v0.0.3-fix v0.0.3 Djordje Lukic 2020-05-28 04:53:47 -07:00
  • c8acbc33fd Merge pull request #158 from docker/azure_backend_dependency Guillaume Tardif 2020-05-28 10:52:01 +02:00
  • a948b6e1d0 Remove azure resourceGroupClient from backend initialisation. Several advantages : - less dependencies to init backend. (Will need to work more on this to make login command not need an existing subscription ID) - backend does not get login token at init time. For a long running process (grace server) this would cause issues with token lifetime - we benefit from the client config (polling options especially) set in aci.go, without duplicating stuff Guillaume Tardif 2020-05-28 10:16:42 +02:00
  • ea98a2dd78 Fix docker-classic creation makefile target Guillaume Tardif 2020-05-27 18:39:17 +02:00
  • cc46f84043 Forward closing signal to docker-classic when closing docker. Note this will not forward Kill signal, impossible to intercept / process this one. Guillaume Tardif 2020-05-27 18:38:51 +02:00
  • e630ace677 Merge pull request #154 from docker/fix_context_inspect_shellout Guillaume Tardif 2020-05-27 17:02:01 +02:00
  • d2648da2d9 Fix shell out to docker-classic when invoking Guillaume Tardif 2020-05-26 23:34:38 +02:00
  • 4c4ebbdb56 Merge pull request #155 from docker/fix_shellout_no_error_message Djordje Lukic 2020-05-27 01:05:19 -07:00
  • 66a83410dd Ensure we have a clear error message in case of wrong setup (previously it would just exit with no error message) Guillaume Tardif 2020-05-26 22:59:52 +02:00
  • d876f9e779 Merge pull request #153 from rumpl/chore-rename-cli-proto Djordje Lukic 2020-05-26 02:25:58 -07:00
  • 7e2d22f5ea Change the path to the contexts protos for node Djordje Lukic 2020-05-26 10:32:09 +02:00
  • cb14c05e74 Move the context server into own package Djordje Lukic 2020-05-26 10:27:18 +02:00
  • b8658b3f54 Rename cli protos to contexts Djordje Lukic 2020-05-26 10:20:13 +02:00
  • e4b49912a7 Merge pull request #152 from rumpl/chore-dependabot Djordje Lukic 2020-05-25 07:26:05 -07:00
  • 1304df2b1c Merge pull request #151 from rumpl/feat-protos Djordje Lukic 2020-05-25 07:24:46 -07:00
  • bc1a932bd7 Add dependabot config file Djordje Lukic 2020-05-25 15:08:08 +02:00
  • 129e675932 Put all protos inside the protos package Djordje Lukic 2020-05-25 14:58:22 +02:00
  • 5768ffd526 Merge pull request #148 from rumpl/feat-moby-ports Chris Crone 2020-05-25 11:25:51 +02:00
  • 1c3673c421 Add moby backend e2e tests Djordje Lukic 2020-05-22 17:05:46 +02:00
  • 7b83047dc2 Merge pull request #147 from rumpl/feat-better-context Djordje Lukic 2020-05-25 01:11:31 -07:00
  • 11339761ca Change the way a context is stored Djordje Lukic 2020-05-22 11:16:01 +02:00
  • 2dd98e8a74 Add ports to the moby backend Djordje Lukic 2020-05-22 16:15:57 +02:00
  • de33f183df Merge pull request #139 from rumpl/feat-log-stream Djordje Lukic 2020-05-22 06:23:47 -07:00
  • 8f2c134c79 Merge pull request #145 from docker/feat-test-cache Chris Crone 2020-05-22 13:30:11 +02:00
  • 5d073028be Add buildkit cache when running unit tests Djordje Lukic 2020-05-22 13:26:30 +02:00
  • 39cd5036a6 Merge pull request #144 from chris-crone/lint-speed Chris Crone 2020-05-22 13:25:46 +02:00