2238 Commits

Author SHA1 Message Date
aiordache
b11fedebdf Add --services flag to compose ps
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-18 13:27:53 +01:00
Nicolas De Loof
54b0cb9671
no need to override output as we bypass Fprint on quiet mode
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-18 10:06:27 +01:00
Nicolas De loof
65fc4ffb4e
Merge pull request #1313 from docker/quiet 2021-02-17 15:24:36 +01:00
Nicolas De Loof
057f23ed75
non-tty progress write to stdout
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-17 15:23:26 +01:00
Nicolas De Loof
a2d335271a introduce pull --quiet option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 17:16:26 +01:00
Nicolas De Loof
da7498949e introduce config --quiet
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 17:16:25 +01:00
Nicolas De loof
5e7203dbe4
Merge pull request #1306 from aiordache/compose_exec_cmd
Add `compose exec` command
2021-02-16 14:15:48 +01:00
Nicolas De Loof
c74cec9ae3
introduce --quiet option
close #1280

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 12:11:12 +01:00
Nicolas De loof
220b508d53
Merge pull request #1305 from docker/join_split 2021-02-16 11:19:43 +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
9097d71009 join log stream before we split by line
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 10:59:28 +01:00
Nicolas De loof
bd9248d074
Merge pull request #1303 from docker/down_timeout
introduce timeout flag on down and stop
2021-02-16 10:59:02 +01:00
aiordache
afac025a49 Add compose exec command
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-16 10:56:00 +01:00
Nicolas De loof
8029db807c
Merge pull request #1301 from docker/color_fix
fix color assignment on status messages
2021-02-16 10:43:16 +01:00
Nicolas De Loof
0b517741a0 introduce --timeout on compose stop|down
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 10:21:01 +01:00
Nicolas De loof
de586871de
Merge pull request #1307 from ulyssessouza/gotestsum
Use gotestsum to make FAILURES more visible
2021-02-16 09:52:56 +01:00
Nicolas De loof
c4ae857467
Merge pull request #1309 from ulyssessouza/cascade-cleanup
Add cascade test cleanup with `down`
2021-02-16 09:52:42 +01:00
Ulysses Souza
6b79a6c096 Add cascade test cleanup with down
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-15 20:04:59 -03:00
Ulysses Souza
18900cfcd0 Use gotestsum to make FAILURES more visible
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-15 18:17:31 -03:00
Nicolas De loof
9063c138ba
Merge pull request #1299 from docker/remove
introduce compose rm command
2021-02-15 15:47:50 +01:00
Nicolas De Loof
5cb2533faa
dryrun to collect resources to be removed, then remove
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 12:32:44 +01:00
Nicolas De Loof
4fcaa29614
fix color assignment on status messages
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 12:29:48 +01:00
Nicolas De loof
d6c20045f0
Merge pull request #1300 from docker/start_recreate
introduce create --force-recreate and --no-recreate
2021-02-15 10:50:33 +01:00
Nicolas De Loof
3f387e4e75
introduce create --force-recreate and --no-recreate
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 10:02:56 +01:00
Nicolas De Loof
20b83aa237
introduce compose rm command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 09:26:52 +01:00
Nicolas De loof
a69aa3d98a
Merge pull request #1285 from docker/predictable_colors 2021-02-12 20:31:48 +01:00
Nicolas De Loof
4e5734f6e9 stop as all registered containers exited || cascadestop
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 17:55:38 +01:00
Nicolas De Loof
15882d3503 happy shinny linter ☜(⌒▽⌒)☞
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 17:55:38 +01:00
Nicolas De Loof
49415afe5d docker-compose parity: start implies --detach (otherwise, use up)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 17:55:38 +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
54a7819cbe
Merge pull request #1290 from docker/restart_logs 2021-02-12 17:54:38 +01:00
Nicolas De loof
4d05e0234a
Merge pull request #1287 from docker/scale 2021-02-12 17:47:01 +01:00
Nicolas De Loof
4462f12249
revisit run implementation as create, attach, start, wait
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 17:45:02 +01:00
Nicolas De Loof
bbdced6f0b
test case
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 15:07:30 +01:00
Nicolas De Loof
9601aa5af3 add support for up --scale
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 14:32:43 +01:00
Nicolas De Loof
d56745cba4 detect stopped containers as "Created"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 12:17:17 +01:00
Guillaume Tardif
f52bdc54d8
Merge pull request #1281 from gtardif/compose_unittests
More Local Compose unit tests
2021-02-12 12:12:57 +01:00
Guillaume Tardif
d720eb6c03 Fix race (parallel update of collection) to remove orphan containers
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-12 10:26:15 +01:00
Guillaume Tardif
fbe1ebc054 Fix test name and avoid project name collision between parallel tests,
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-12 09:52:04 +01:00
Guillaume Tardif
ac5c422d77 Better debug info if test fail
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-12 09:45:00 +01:00
Guillaume Tardif
b39208ec92
Merge pull request #1264 from gtardif/compose_orphans_warning
Compose orphans warning
2021-02-11 16:17:24 +01:00
Guillaume Tardif
b4fa7b2fa3 PS unit test
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-11 15:53:06 +01:00
Guillaume Tardif
4140196eb0 Add down unit tests
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-11 15:53:05 +01:00
Guillaume Tardif
b8093e668a Kill Unit test mocking docker client API
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-11 15:52:23 +01:00
Guillaume Tardif
bf26d056e5 Fix orphans warning when docker compose run
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-11 15:34:38 +01:00
Guillaume Tardif
c8b708a20b Fix orphans warning when running docker compose up SERVICE
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-11 15:33:29 +01:00
Nicolas De loof
5ddcc84a3d
Merge pull request #1263 from docker/exitCodeFrom 2021-02-11 14:26:40 +01:00
Nicolas De Loof
8b90814de6
e2e test
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-11 13:26:58 +01:00
Nicolas De Loof
d9fe745cc0
avoid use of channels in API for gRPC compatibility
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-11 09:34:08 +01:00
Nicolas De Loof
752edcce65
introduce --exit-code-from
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 19:17:12 +01:00