Commit Graph

2913 Commits

Author SHA1 Message Date
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 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
Nicolas De loof 4bb025068c
Update .github/workflows/pending_answered.yml
Co-authored-by: Mathieu Champlon <mathieu.champlon@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-30 14:45:29 +02:00
Nicolas De Loof a95f09376d publish cross platform artifacts for PRs
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-30 14:43:05 +02:00
Nicolas De Loof 78faf0dc51
prepare volume for service set by `run`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-30 09:45:43 +02:00
Nicolas De Loof 19cbbdd79e
only build requested services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-26 15:55:19 +02:00
Nicolas De loof 3f50c5eff8
Merge pull request #2045 from docker/bump-compose-go 2021-08-26 15:54:36 +02:00
Ulysses Souza fedd20bab3 Bump compose-go
This fixes https://github.com/docker/compose-cli/issues/2017

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-08-26 10:10:18 -03:00
Nicolas De loof 6a6dafbdb5
Merge pull request #2026 from ulyssessouza/warn-pull-build 2021-08-25 14:39:47 +02:00
Nicolas De loof a5e8ab2d64
Merge pull request #2037 from ndeloof/volume_from_deps
include volume_from as a source for implicit dependencies
2021-08-25 11:18:35 +02:00
Nicolas De Loof 4b808e569c
include volume_from as a source for implicit dependencies
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-25 11:02:19 +02:00
Nicolas De loof 3891060bb8
Merge pull request #2038 from ndeloof/image_digest
introduce ImageDigestLabel to track image built for service
2021-08-25 10:39:34 +02:00
Nicolas De Loof 58bfbbb288
introduce ImageDigestLabel to track image built for service
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-25 10:03:51 +02:00
Ulysses Souza 51a6c9504f
Merge pull request #2019 from ulyssessouza/fix-nil-value-on-substitution
Bump compose-go
2021-08-24 13:20:58 -07:00
Ulysses Souza 4b642a494a Bump compose-go
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-08-24 16:38:48 -03:00
Lorena Rangel 9c615dc22e
Merge pull request #2025 from ulyssessouza/tolower-projectname-on-down
Lowercase project name for "compose down"
2021-08-19 11:31:58 +02:00