Commit Graph

2708 Commits

Author SHA1 Message Date
Nicolas De Loof b1d2c18dfc give -T a long name, otherwise help is weird
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:58:47 +02:00
Nicolas De Loof 1d38001164 automatically disable TTY if shell isn't a terminal
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:58:47 +02:00
Nicolas De Loof 4987a52975
fix hard vs soft ulimit
close https://github.com/docker/compose-cli/issues/1769

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:49:36 +02:00
Nicolas De loof f43899250f
Merge pull request #1770 from ndeloof/fix_network_alias_test
fix broken network_alias_test
2021-06-10 09:38:39 +02:00
Nicolas De Loof e641ffa0f4
fix broken network_alias_test
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:30:11 +02:00
Nicolas De loof 21a4af34f7
Merge pull request #1768 from ndeloof/binary_license
include packaging LICENSE in release
2021-06-09 16:01:25 +02:00
Nicolas De Loof fdd2cd85d0
include packaging LICENSE in release
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-09 15:47:13 +02:00
Nicolas De loof 3202ab93bd
Merge pull request #1765 from ndeloof/log_printer 2021-06-09 14:24:40 +02:00
Nicolas De Loof 919d6c9ed8
LogPrinter should not be part of the API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-09 10:15:38 +02:00
Nicolas De loof b0a66356e0
Merge pull request #1757 from ndeloof/docs
update reference docs
2021-06-09 07:31:22 +02:00
Nicolas De loof 45a2c422e1
Merge pull request #1760 from ndeloof/split_writer
code cleanup: splitWriter does not use service/container name
2021-06-09 07:31:16 +02:00
Nicolas De loof 2edec5aa90
Merge pull request #1752 from ndeloof/up_backend
move up logic from CLI into local backend
2021-06-09 07:29:35 +02:00
Nicolas De loof 25c3df6c86
Merge pull request #1758 from aiordache/kube_hack_april
Kube backend updates
2021-06-08 16:58:54 +02:00
aiordache 0d25709ada Add port mapping to `compose ps`
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 14:48:09 +00:00
Nicolas De Loof 9d5026e966
code cleanup: splitWriter does not use service/container name
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-08 16:16:06 +02:00
aiordache 5d9d39dabd Add port-forwarding on `compose up`
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
aiordache d8db079af3 Add exec command
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
aiordache 7fd3c6f5cb Port forwarding attempt
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
aiordache bb25812511 Update existing stack installation on `compose up` instead of returning error
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
aiordache 9279954193 Check the status of pod containers on `compose up`
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
Nicolas De Loof abbba74b27
update reference docs
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-08 09:39:49 +02:00
Nicolas De loof d0e8ebef15
Merge pull request #1751 from ndeloof/pull_only_missing
only report pull progress if we have something to pull
2021-06-07 20:27:34 +02:00
Nicolas De Loof c135bd1d7c
move up logic from CLI into local backend
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 20:20:31 +02:00
Nicolas De loof b86ff6b18f
Merge pull request #1747 from ndeloof/down_progress 2021-06-07 15:57:38 +02:00
Nicolas De loof bb54b9afac
Merge pull request #1750 from ndeloof/update_compose-go
update compose-go
2021-06-07 15:47:45 +02:00
Nicolas De Loof cb144ab09a
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 15:42:24 +02:00
Nicolas De Loof dec9169198
move progress to backend on "down"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 15:41:59 +02:00
Nicolas De Loof afa1618f17
only report pull progress if we have something to pull
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 15:31:49 +02:00
Nicolas De loof 5e5bccefbb
Merge pull request #1749 from thaJeztah/ignore_sigurg
mobycli: ignore SIGURG on Linux and Darwin
2021-06-07 14:30:43 +02:00
Nicolas De loof 94cbff00e0
Merge pull request #1748 from thaJeztah/bump_engine_vendor
go.mod: update docker and cli to v20.10.7
2021-06-07 14:17:43 +02:00
Sebastiaan van Stijn b4c8a9dc5f
mobycli: ignore SIGURG on Linux and Darwin
Equivalent of fff164c22e
and cedaf44ea2

In go1.14+, SIGURG is used by the runtime to handle preemtable system calls.
In practice this signal is caught *frequently*.

For reference:

https://go.googlesource.com/proposal/+/master/design/24543-non-cooperative-preemption.md
golang/go#37942

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-07 12:44:55 +02:00
Sebastiaan van Stijn abffcdd082
go.mod: update docker and cli to v20.10.7
- diff: https://github.com/docker/docker/compare/v20.10.5...v20.10.7
- diff: https://github.com/docker/cli/compare/v20.10.6...v20.10.7

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-07 12:28:23 +02:00
Nicolas De loof 165686838e
Merge pull request #1733 from ndeloof/pull_digested
stop using buildkit hack to pull images
2021-06-04 14:26:25 +02:00
Nicolas De loof 9fd0ac9195
Merge pull request #1735 from ndeloof/progress_backend 2021-06-04 13:08:22 +02:00
Nicolas De Loof 924d7925d6
showcase simpler command design by using API options as cobra flags target
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 17:58:54 +02:00
Nicolas De Loof 82f35d1bac
Move progress writter into backend(s)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 14:16:22 +02:00
Nicolas De Loof fe085df7b7
stop using buildkit hack to pull images
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 11:32:30 +02:00
Nicolas De loof db30ef76d0
Merge pull request #1728 from bukhavtsov/feature/refactoring 2021-06-02 11:23:03 +02:00
Nicolas De loof 3ec33face4
Merge pull request #1730 from ndeloof/progress_cleanup
code cleanup: most progress.Run don't return a value
2021-06-02 11:22:34 +02:00
Nicolas De Loof 907e8e1f24 implement healthcheck.disable by setting Test: "NONE"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-02 10:32:17 +02:00
Nicolas De loof f34f49a16b
Merge pull request #1729 from ndeloof/drop_compose_grpc
remove obsolete compose grpc service
2021-06-01 19:13:36 +02:00
Nicolas De Loof a2ff974ac6
remove obsolete compose grpc service
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-01 15:33:55 +02:00
Nicolas De Loof 9b0bc6fee1
code cleanup: most progress.Run don't return a value
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-01 15:18:03 +02:00
Artsiom Bukhautsou 610f34fbc7 replaced 'tab' to \t character in the Printf
Signed-off-by: Artsiom Bukhautsou <artyom.bukhavtsov@gmail.com>
2021-06-01 14:01:44 +03:00
Nicolas De loof ff32f87eca
Merge pull request #1724 from ndeloof/config_ipaddress
update compose-go dependency
2021-05-31 18:19:04 +02:00
Nicolas De Loof 17113dfcd3
update compose-go dependency
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-31 18:09:34 +02:00
Nicolas De loof 89a1a27f80
Merge pull request #1723 from docker/master_fail
ignore missing docker-compose cli-plugin, not required for ECS/ACI/Ku…
2021-05-31 17:47:32 +02:00
Nicolas De Loof 8e8122f255
ignore missing docker-compose cli-plugin, not required for ECS/ACI/Kube e2e tests
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-31 17:17:17 +02:00
Lorena Rangel 41d5cfd219
Merge pull request #1722 from lorenrh/fix-readme
Fix readme: remove extra single quotes
2021-05-31 16:51:40 +02:00
Lorena Rangel 62f8bd103b Fix readme: remove extra single quotes
Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2021-05-31 16:41:42 +02:00