compose/pkg/compose
Jaime Soriano Pastor 5682480726
Fix #11710: Avoid to try to close channel twice after hitting Ctrl-C on compose up (#11719)
Ensure done channel is closed only once

Signed-off-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
2024-04-20 06:09:26 +00:00
..
testdata prefer canonical `compose.yaml` file name 2021-06-22 11:23:57 +02:00
attach.go adopt compose-go/v2 2023-12-05 18:54:31 +01:00
attach_service.go go ahead and wire up sig-proxy and no-stdin for consistency with underlying docker container attach 2024-01-08 17:15:11 -06:00
build.go Introduce support for build.entitlements 2024-04-10 12:27:49 +02:00
build_buildkit.go Improve buildkit node creation (#10843) 2023-08-03 15:11:16 -04:00
build_classic.go project.Services is a map 2023-12-05 18:54:31 +01:00
compose.go Add Navigation Menu to compose up 2024-03-22 17:48:25 +01:00
container.go lint: add `nolintlint` and clean up `nolint` directives (#9738) 2022-08-09 16:43:58 -04:00
containers.go docker compose up always kills the containers on second Ctrl-C 2024-04-14 17:44:39 +02:00
convergence.go Revert "Stop the resource timer after last expected event" 2024-04-15 22:05:46 +02:00
convergence_test.go Include all networks in ContainerCreate call if API >= 1.44 2024-02-07 16:21:15 +01:00
convert.go fix engine version require to use healthcheck.start_interval 2024-01-17 10:45:01 +01:00
cp.go deps: remove deprecated github.com/pkg/errors 2023-09-29 06:28:58 +02:00
create.go fix: do not try to create file shares for non-directories 2024-04-17 17:12:03 +02:00
create_test.go Add support for volume Subpath option 2024-03-22 14:33:56 +01:00
dependencies.go Set Required false to depends_on containers for compose -p stop/down 2024-04-11 10:48:09 +02:00
dependencies_test.go Set Required false to depends_on containers for compose -p stop/down 2024-04-11 10:48:09 +02:00
desktop.go fix(desktop): remove overly-aggressive feature flag check (#11748) 2024-04-19 16:06:57 -04:00
down.go Set Required false to depends_on containers for compose -p stop/down 2024-04-11 10:48:09 +02:00
down_test.go Bump docker v26.0.0 2024-03-22 14:33:56 +01:00
envresolver.go config: case-insensitive env vars on Windows (#9438) 2022-08-02 14:56:09 -04:00
envresolver_test.go ci: remove uses of deprecated gotest.tools v2 (#9935) 2022-11-07 14:07:41 -05:00
errors.go adopt compose-go/v2 2023-12-05 18:54:31 +01:00
events.go update to v1.25 for RunAttach 2023-12-05 17:02:37 +01:00
exec.go update to v1.25 for RunAttach 2023-12-05 17:02:37 +01:00
filters.go detect network conflict as name is not guaranteed to be unique (#10612) 2023-05-31 14:46:23 -04:00
hash.go adopt compose-go/v2 2023-12-05 18:54:31 +01:00
hash_test.go adopt compose-go/v2 2023-12-05 18:54:31 +01:00
image_pruner.go Bump docker v26.0.0 2024-03-22 14:33:56 +01:00
images.go [lint] don't use deprecated types 2023-12-05 17:02:37 +01:00
kill.go docker compose up always kills the containers on second Ctrl-C 2024-04-14 17:44:39 +02:00
kill_test.go github.com/golang/mock is deprecated 2023-12-13 14:47:39 +01:00
logs.go Introduce --abort-on-container-failure 2024-04-08 15:40:54 +02:00
logs_test.go github.com/golang/mock is deprecated 2023-12-13 14:47:39 +01:00
ls.go [lint] don't use deprecated types 2023-12-05 17:02:37 +01:00
ls_test.go Add unit tests for combinedConfigFiles logic 2022-02-18 16:37:35 +01:00
metrics.go chore: fix typo in comment 2024-04-19 09:54:08 +02:00
pause.go cli: option to write status messages on stdout (#10549) 2023-05-11 12:45:00 -04:00
port.go when --index is not set select first service container 2023-07-07 14:08:24 +02:00
printer.go fix: return correct exit code with `--exit-code-from` (#11715) 2024-04-16 09:44:23 -04:00
ps.go add support for attributes exposed by `docker ps` 2023-08-25 16:36:45 +02:00
ps_test.go github.com/golang/mock is deprecated 2023-12-13 14:47:39 +01:00
publish.go restore support for `config --no-interpolate` 2024-02-28 18:54:43 +01:00
pull.go Unwrap error message. 2024-03-25 07:37:34 +01:00
push.go Bump docker v26.0.0 2024-03-22 14:33:56 +01:00
remove.go [lint] don't use deprecated types 2023-12-05 17:02:37 +01:00
restart.go update compose-go to version using immutable Project functions 2024-01-11 10:44:42 +01:00
run.go deps: update docker/cli to fix go version selection issue 2023-12-19 14:15:16 +00:00
scale.go progress for resource can be restarted after more Working event comes 2024-04-15 22:05:46 +02:00
secrets.go adopt compose-go/v2 2023-12-05 18:54:31 +01:00
start.go fix: return correct exit code with `--exit-code-from` (#11715) 2024-04-16 09:44:23 -04:00
stop.go Set Required false to depends_on containers for compose -p stop/down 2024-04-11 10:48:09 +02:00
stop_test.go github.com/golang/mock is deprecated 2023-12-13 14:47:39 +01:00
top.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
up.go Fix #11710: Avoid to try to close channel twice after hitting Ctrl-C on compose up (#11719) 2024-04-20 06:09:26 +00:00
viz.go adopt compose-go/v2 2023-12-05 18:54:31 +01:00
viz_test.go github.com/golang/mock is deprecated 2023-12-13 14:47:39 +01:00
wait.go Add `docker compose wait` 2023-06-30 16:07:03 +02:00
watch.go progress for resource can be restarted after more Working event comes 2024-04-15 22:05:46 +02:00
watch_test.go introduce --watch 2024-02-28 19:04:58 +01:00