Milas Bowman
5593ef3034
cli: allow suppressing deprecation warning
...
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-05-18 11:49:58 -04:00
Milas Bowman
020489241f
lint: update for Go 1.19 / golangci-lint 1.50.1
...
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-02-01 16:04:49 -05:00
Sebastiaan van Stijn
fb71f3bc8a
gofmt files with go 1.19
...
Prepare for future updates of Go, which may result in some changes in
formatting in GoDoc comments.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-25 12:31:30 +02:00
Ulysses Souza
81c53672d5
Linter fixes
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-18 15:50:25 +02:00
Ulysses Souza
25b335924c
Store context type in the context for reusing
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-17 19:26:24 +02:00
Ulysses Souza
dc7422e494
Merge remote-tracking branch 'upstream/main' into error-on-unsupported-flags
2021-09-17 14:55:29 +02:00
Ulysses Souza
fa7e0632ba
Add checks for unsupported flags
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-17 10:19:02 +02:00
Nicolas De Loof
07f6f804a9
use docker/compose/v2
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-17 10:19:02 +02:00
Nicolas De Loof
bd5def8454
use docker/compose/v2
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 19:19:32 +02:00
Nicolas De Loof
49e7f2d45d
Move compose v2 implementation under pkg/compose with dependencies
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02:00
Nicolas De Loof
d90495e1cd
move compose API into pkg/api
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02: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
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
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
Nicolas De Loof
c16834cba6
attach to containers added by "scale"
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-25 22:59:57 +02:00
Guillaume Tardif
de3fa40bae
Handle Ctrl+C for compose CLI plugin.
...
Could do something nicer passing the context to the compose command, rather than intercepting it and checking if it’s “.WithCancel” or not...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 10:21:05 +02:00
Guillaume Tardif
c7dc12d310
E2E tests using compose CLI plugin
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 17:51:29 +02:00
Guillaume Tardif
1dc97e8c4b
Compose as a cli plugin
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 17:51:29 +02:00
aiordache
44d2b29d0f
Remove service.Build and service.PullPolicy fields when generating the config hash
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-21 10:23:36 +02:00
Chris Crone
411612ed8d
Fix scan message with quiet flag
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 14:30:27 +02:00
Guillaume Tardif
073d8e5545
Categorize failure metrics, set specific metrics for compose file parse error, file not found, cmdline syntax errors, build error, pull error.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-09 17:20:29 +02:00
Guillaume Tardif
435a51f9e4
Add scan message after docker build, add e2e tests
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-29 19:12:06 +02:00
Nicolas De Loof
d4a8e92f46
set terminal in character mode when attached to a container
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-24 15:37:32 +01:00
Nicolas De Loof
ec5489a08c
introduce config --services, --volumes, --hash for backward compatibility
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-19 15:40:24 +01:00
Nicolas De Loof
949e8bb090
use "container name witout project" for both logs and events
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-17 11:38:43 +01:00
Nicolas De Loof
2b0e0f2741
pass service to LogConsumer
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 11:40:26 +01:00
Nicolas De Loof
12a5100b20
reconcide log's wplit_writer implementations
...
close #1311
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 10:59:28 +01:00
Nicolas De Loof
8533a26929
make color assignment predictable and option to disable prefixes/colors
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 17:55:38 +01:00
Nicolas De Loof
a4b003ecfa
pull logs and events better than aggregate events from multiple channels
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:27:36 +01:00
aiordache
1e7ce90561
Kube backend: add the `compose logs` command
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 15:19:47 +01:00
Guillaume Tardif
95d21fa768
First kube e2e. Adapted context create kubernetes command to allow non interactive mode.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 16:01:57 +01:00
Guillaume Tardif
6859413a5d
Moving last things from /tests, removing dead code
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 15:48:48 +01:00
Guillaume Tardif
5e20ffdc50
Move prompt => utils/prompt
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:49:12 +01:00
Guillaume Tardif
fe39267e3a
Move formatter => cli/formatter. Needed to move formatter.MemBytes => utils.MemBytes (helper class on memory display)
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:47:30 +01:00
Ulysses Souza
178ac40dba
Fix return on ports when empty
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Guillaume Tardif
701d1b834e
ACI: allow users to set DNSLabelName and deploy containers with fqdn like `myapp.eastus.azurecontainers.io`
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-22 14:41:31 +02:00
Chris Crone
d154c41586
Update copyright
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 12:13:00 +02:00
Guillaume Tardif
d06aa2827f
Move containers, compose, secrets to /api
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-07 13:22:08 +02:00
Guillaume Tardif
b0c50ed6dd
Implement compose ps on ACI
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-28 17:43:18 +02:00
Guillaume Lours
95de770e87
Update or add license header which are not valid
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-17 16:55:25 +02:00
Guillaume Tardif
f442eafe0b
Validate run restart option value. Default value is “none”, instead of “no”, this is more in line with compose values, and changes only the default so should not have too much impact on legacy usage.
2020-08-04 17:11:21 +02:00