Commit Graph

3177 Commits

Author SHA1 Message Date
Nicolas De Loof abb2ddba88 `compose config` to espace `$` signs so compose file is still valid
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-17 10:32:52 +02:00
Ulysses Souza 15cd034485
Merge pull request #8628 from ulyssessouza/add-unsupportedflagerror
Add UnsupportedFlag to the declared errors
2021-09-16 17:08:57 +02:00
Ulysses Souza 1150a323ab Add UnsupportedFlag to the declared errors
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-16 16:46:17 +02:00
aviau 21d3b19e57 compose/run: don't waitDependencies if NoDeps
Signed-off-by: aviau <alexandre@alexandreviau.net>
2021-09-16 11:09:44 +02:00
Nicolas De Loof a2947457b9
get scale from deploy.replicas. Require scale normalization
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-15 14:02:01 +02:00
Nicolas De Loof f7c360b721 run watchContainers with a background context
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-14 11:44:22 +02:00
Ulysses Souza 4441ff5b21
Merge pull request #8604 from ndeloof/convert_output
introduce `--output` option to `config` command
2021-09-14 08:03:03 +02:00
Sebastiaan van Stijn 0b896c69ce [v2] docs: fix stray backtick, and add compose_version yaml
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-14 07:49:29 +02:00
Sebastiaan van Stijn 3678deed14 [v2] use "docker/cli-docs-tool" to generate docs
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-13 21:54:26 +02:00
Sebastiaan van Stijn fdc362bf55 [v2] docs: markdown and link fixes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-13 21:54:26 +02:00
Sebastiaan van Stijn 1c01e9d00f [v2] docs: regenerate yaml docs
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-13 21:54:26 +02:00
Ulysses Souza 9798ea4aa5
Merge pull request #8602 from ndeloof/concurrent_map
use a sync.Map to avoid concurrency issue accessing log presenters
2021-09-13 14:16:33 +02:00
Nicolas De Loof e71c833d79 set name from project config when recreating container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-13 10:53:42 +02:00
Nicolas De Loof caf157969e
introduce `--output` option to `config` command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-10 15:10:02 +02:00
Nicolas De Loof cc47e5385b
use a sync.Map to avoid concurrency issue accessing log presenters
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-10 12:54:24 +02:00
Nicolas De Loof a0bff8be96
redundant break statement
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-09 18:47:18 +02:00
Nicolas De Loof e44aacfbc1 fix run --volume flag (mistakely renamed --volumes)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-09 15:42:17 +02:00
Nicolas De Loof aa89fa5443 add support for build.network and build.extrahosts
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-09 11:05:01 +02:00
Nicolas De Loof f3171e90cf prefix volumes with `container:` as we resolve service into container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-09 11:04:15 +02:00
Nicolas De Loof e8666b02f3 introduce up --attach
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-09 08:29:07 +02:00
Nicolas De Loof 0e0291510c support service entrypoint set as empty slice (override Dockerfile ENTRYPOINT)
close https://github.com/docker/compose/issues/8581

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-08 10:39:08 +02:00
Nicolas De Loof 2ceb176500 support --entrypoint="" as override
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-08 10:39:08 +02:00
Nicolas De Loof 1458beea84 stop log --follow on SIGINT
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-08 10:20:55 +02:00
Nicolas De Loof 010776f6db introduce --resolve-paths and restore compose v1 behavior
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-06 17:05:13 +02:00
Nicolas De Loof 1a73d1412d
release to tag on v2 branch
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-04 09:21:47 +02:00
Nicolas De Loof bd22aed868 fix panic on scale down
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-03 16:14:31 +02:00
Nicolas De Loof ef461a3a26
set internal.Version on github.com/docker/compose/v2
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-02 15:58:46 +02:00
Nicolas De Loof 37e0db31b8 fix release project to build with GIT_TAG
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-02 15:27:38 +02:00
Nicolas De Loof aa02a3d2d8
setup compose v2 release workflow
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-02 13:35:29 +02:00
Nicolas De Loof 5b30accf35
Change URLs to reflect new project home
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-02 09:06:52 +02:00
Nicolas De loof 1b15a2a2fb
Merge pull request #2061 from ndeloof/ps_not_found
Don't exit with code != 0 on `compose ps` empty result
2021-09-01 17:58:55 +02:00
Nicolas De Loof 22ee74391a
don't create container with autoremove so we can inspect for exitcode
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-01 16:53:57 +02:00
Nicolas De Loof e1267cddfd don't exit with err=1 when no container listed
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-01 15:32:43 +02:00
Nicolas De Loof 19682173d7
fix make target for cross compilation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-01 15:30:33 +02:00
Nicolas De loof f8a1c90881
Merge pull request #2060 from ndeloof/v2 2021-09-01 11:23:41 +02:00
Nicolas De Loof 1bd21aede5
bump compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-01 11:06:23 +02:00
Ulysses Souza 13dea3cef9
Merge pull request #2059 from ndeloof/volumes_from
update project's volumes_from before retrieving service
2021-09-01 02:00:31 -07:00
Nicolas De Loof 81879c4f4b
update project's volumes_from before retrieving service
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-01 10:48:12 +02:00
Nicolas De Loof 1ae9b3cb5d
move compose-cli code into docker/compose/v2
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 19:09:19 +02:00
Nicolas De Loof c944c970ab
use nicer imports
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 16:58:19 +02:00
Nicolas De loof c833e2e4a2
Merge pull request #2054 from ndeloof/compose.v2
remove all references to cli from compose.v2 cmd package
2021-08-31 16:47:08 +02:00
Ulysses Souza 61338d3477
Merge pull request #2053 from ndeloof/proxy-config
set proxy env vars based on CLI config
2021-08-31 07:44:02 -07:00
Nicolas De loof 2a6791e807
Merge pull request #2049 from gtardif/doc-renew-aci-tokens
Update doc for ACI token renewal
2021-08-31 16:10:16 +02:00
Nicolas De Loof 88ba4599b2
move ACI/ECS -specific const to related packages
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 16:05:32 +02:00
Nicolas De Loof fcb91096b8
remove all references to cli from compose.v2 cmd package
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 15:41:20 +02:00
Nicolas De Loof 007ec5afee
set proxy env vars based on CLI config
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 14:04:31 +02:00
Lorena Rangel 52df801287
Merge pull request #2044 from ndeloof/build_services
Only build requested services
2021-08-31 10:34:26 +02:00
Nicolas De loof 28c854fe27
Merge pull request #2047 from ndeloof/run_volumes_from
prepare volume for service set by `run`
2021-08-30 21:19:46 +02:00
Guillaume Tardif 68011aaf0d Update doc for ACI token renewal
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-08-30 15:58:38 +02:00
Nicolas De loof 55dd768b33
Merge pull request #2041 from ndeloof/pr-binaries 2021-08-30 14:46:20 +02:00