Commit Graph

2788 Commits

Author SHA1 Message Date
Guillaume Tardif cba4f140ae Add —all option to compose ls, listing non running projects.
Added e2e tests to stop, start, pause, unpause, ls —all, ps —all

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-24 13:11:12 +01:00
Nicolas De loof f212d61058
Merge pull request #1347 from gtardif/refacto_compose_e2e
Moving compose e2e tests in their own files
2021-02-24 12:11:46 +01:00
Guillaume Tardif bc9bd9f880 Moving compose e2e tests in their own files
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-24 10:53:06 +01:00
Guillaume Tardif 844e465a94
Merge pull request #1345 from gtardif/fix_ci
Fix CI
2021-02-23 18:02:34 +01:00
Guillaume Tardif 4489d0becb Fix CI
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-23 17:23:46 +01:00
Ulysses Souza e23e9d6bcb
Merge pull request #1343 from docker/up_timeout
add --timeout option to compose up
2021-02-23 12:20:42 -03:00
Nicolas De loof 8ebbd6ea14
Merge pull request #1344 from gtardif/fix_display_up_detach
Stop displaying logs when user cancels compose up, to not mix with stop progress display
2021-02-23 15:47:28 +01:00
Guillaume Tardif 3778b664af Stop displaying logs when user cancels compose up, to not mix with stop progress display
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-23 15:13:51 +01:00
Nicolas De loof bb223d08a4
Merge pull request #1262 from ulyssessouza/add-network-modes
Add service based network_mode
2021-02-23 14:36:16 +01:00
Nicolas De Loof 04edb78ab6
up --no-deps option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 14:27:24 +01:00
Ulysses Souza 83cc63c8ae Add service based network_mode
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-23 10:13:31 -03:00
Nicolas De Loof 2858911c1c
add --timeout option to compose up
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 14:06:28 +01:00
Guillaume Tardif ea24e499e6
Merge pull request #1341 from docker/run_opts
introduce a few more `compose run` options
2021-02-23 13:59:30 +01:00
Nicolas De Loof ed17e762cc
introduce a few more `compose run` options
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 13:41:50 +01:00
Nicolas De loof 19af456504
Merge pull request #1340 from docker/no_build 2021-02-23 11:06:08 +01:00
Nicolas De Loof 8054af8011
introduce --no-build option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 10:42:51 +01:00
Guillaume Tardif 98dc2308d9
Merge pull request #1339 from docker/experimental
only display experimental warning on command error
2021-02-23 10:22:45 +01:00
Nicolas De Loof 58e495c60b
only display experimental warning on command error
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 09:57:09 +01:00
Guillaume Tardif 3f54d7f4d0
Merge pull request #1336 from gtardif/fix_sidecar_Dockerfiles
Fix sidecar Dockerfiles : Go 1.16 uses go modules by default
2021-02-22 17:24:10 +01:00
Guillaume Tardif 542fd04c26
Merge pull request #1337 from docker/ecs_ece_failure
progress writes to stderr
2021-02-22 17:23:55 +01:00
Nicolas De loof c636218a52
Merge pull request #1329 from docker/pause 2021-02-22 17:22:49 +01:00
Nicolas De Loof e362947cb1
introduce pause and unpause commands
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 17:08:41 +01:00
Nicolas De Loof 67b69aef19 progress writes to stderr
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 17:05:28 +01:00
Guillaume Tardif 504ccf185e Go 1.16 uses go modules by default, setting GO111MODULE=auto to let it detect, and run as before
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-22 16:44:04 +01:00
Nicolas De loof 9dba841611
Merge pull request #1334 from gtardif/make_install
Add make install to symlink cli from `make cli`
2021-02-22 16:23:14 +01:00
Nicolas De loof 189466ca81
Merge pull request #1335 from gtardif/logs_f
Allow `docker compose logs -f` for compatibility
2021-02-22 16:22:59 +01:00
Guillaume Tardif 0cffd53d5a Allow `docker compose logs -f` for compatibility
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-22 15:49:13 +01:00
Nicolas De loof fa16feaddc
Merge pull request #1333 from gtardif/fix_ci_workflow
Fix linter
2021-02-22 15:27:45 +01:00
Guillaume Tardif 66f64d9875 Add make install to symlink cli from `make cli`
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-22 15:27:11 +01:00
Guillaume Tardif 012da2c27b Fix linter
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-22 14:57:49 +01:00
Nicolas De loof 6f91bbc86e
Merge pull request #1332 from gtardif/fix_ci_workflow
Fixes GH Action config
2021-02-22 14:32:59 +01:00
Guillaume Tardif 240f872b5c Fixes GH Action config.
(See https://github.com/docker/compose-cli/actions/runs/588864117)

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-22 14:25:21 +01:00
Nicolas De loof 988813b130
Merge pull request #1331 from docker/kube_e2e_failure
pass service to LogConsumer
2021-02-22 12:20:32 +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 134b55b512
Merge pull request #1328 from docker/env_vs_dot_env
os ENV has precedence over env file
2021-02-22 10:01:40 +01:00
Nicolas De Loof 8525ac44ed
os ENV has precedence over env file
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 08:27:55 +01:00
Nicolas De loof 598f7bba1f
Merge pull request #1321 from aiordache/local_ps_services
Add `--services` flag to `compose ps`
2021-02-18 20:36:23 +01:00
Nicolas De loof 32fdd08485
Merge pull request #1323 from docker/timestamp
introduce logs --timestamp
2021-02-18 19:41:05 +01:00
Nicolas De loof 0b524f4de4
Merge pull request #1324 from chris-crone/distribution
Replace docker/distribution with distribution/distribution
2021-02-18 18:35:36 +01:00
Chris Crone 931767b22d deps: Replace docker/distribution for distribution/distribution
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-02-18 18:24:52 +01:00
Nicolas De loof 0afd3ea127
Merge pull request #1322 from chris-crone/arm 2021-02-18 17:48:57 +01:00
Chris Crone a4a3a38dd8 lint: Fix linting errors
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-02-18 17:29:05 +01:00
Chris Crone 2c9cc00e0c build: Add Linux and Darwin arm64 builds
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-02-18 17:13:15 +01:00
Chris Crone 8ecee6edaf deps: Bump Docker, Golang, linter
* Docker 20.10.3
* Golang 1.16
* golangci-lint 1.37.0

Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-02-18 17:13:15 +01:00
Nicolas De Loof c25fd5689e
intorude logs --timestamp
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-18 16:50:39 +01:00
Nicolas De loof 28092e0c36
Merge pull request #1318 from docker/resolve-image-digests
introduce --resolve-image-digests on config command
2021-02-18 15:57:45 +01:00
Nicolas De Loof 0e862eeaa7
introduce --resolve-image-digests on config command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-18 14:48:28 +01:00
Nicolas De loof 4a5df4f8bc
Merge pull request #1317 from docker/down_remove
introduce --rmi and --volumes options
2021-02-18 14:37:19 +01:00
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