Commit Graph

2510 Commits

Author SHA1 Message Date
Chris Crone c0e5fbba99 local.e2e: Reduce number of test images
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-19 12:50:16 +02:00
Nicolas De loof 6941445868
Merge pull request #1544 from docker/race_condition 2021-04-15 10:21:18 +02:00
Nicolas De Loof 0ab75d28ba don't report error resizing tty, as container could stop any time
see 04dad42c3c/cli/command/container/tty.go (L71) wich always return nil

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-15 10:13:19 +02:00
Nicolas De Loof 597598cb7a only start container once we have a wait channel set, to prevent race condition with fast terminating container
see https://github.com/docker/cli/blob/master/cli/command/container/run.go#L157-L168

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-15 10:13:19 +02:00
Nicolas De Loof 1dc0c4cef9
fix warning message
close https://github.com/docker/compose-cli/issues/1536

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-14 08:19:22 +02:00
Nicolas De Loof 11c36bd9a0
rebase workflow
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-14 08:02:51 +02:00
Nicolas De Loof 7d4a768848 introduce support for /rebase
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-13 17:32:12 +02:00
Nicolas De loof a95806712a
Merge pull request #1535 from docker/revert-1533-e2e-test-improvements
Revert "E2e test improvements"
2021-04-13 17:15:31 +02:00
Nicolas De loof 8e8635f520
Revert "E2e test improvements" 2021-04-13 17:15:19 +02:00
Nicolas De loof 9abd990e1c
Merge pull request #1533 from chris-crone/e2e-test-improvements 2021-04-13 15:44:30 +02:00
Nicolas De loof c65ded9d1a
Merge pull request #1534 from chris-crone/bump-lint 2021-04-13 15:44:11 +02:00
Nicolas De loof 0b968395dd
Merge pull request #1516 from docker/version_json
don't include stderr in moby exec output
2021-04-13 15:43:27 +02:00
Nicolas De Loof 4916b36b99
don't include stderr in moby exec output
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-13 15:35:26 +02:00
Chris Crone d3ca32a8a8 ci: Fix linting errors
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 15:35:10 +02:00
Nicolas De loof 31e93963f7
Merge pull request #1512 from docker/resize
resize terminal and monitor SIGWINCH
2021-04-13 15:33:33 +02:00
Nicolas De loof 5841e75cb2
Merge pull request #1532 from chris-crone/fix-scan-msg
Fix scan message with quiet flag
2021-04-13 15:30:23 +02:00
Chris Crone a12b1dcea0 build: Bump linter, minor fixes
* Bump linter to 1.39.0
* Use dockerfile:1.2 syntax instead of experimental
* Fix typo in GitHub Actions

Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 15:19:23 +02:00
Chris Crone af74207f82 local.e2e: Reduce number of test images
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 15:15:55 +02:00
Chris Crone faf120a5c0 aci-demo: Update web service Dockerfile
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 15:11:36 +02:00
Chris Crone 411612ed8d Fix scan message with quiet flag
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 14:30:27 +02:00
Nicolas De loof 28ef6ccf1a
Merge pull request #1531 from docker/mount_options
ignore mount options which don't match type
2021-04-13 14:02:58 +02:00
Nicolas De Loof 6ec682cade
ignore mount options which don't match type
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-13 11:53:06 +02:00
Nicolas De loof 74773b9062
Merge pull request #1529 from docker/auth 2021-04-13 10:33:14 +02:00
Nicolas De Loof 26b8ef0f49 pass config file to buildkit for authentication
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-13 09:49:13 +02:00
Nicolas De loof 184c2b8c1a
Merge pull request #1503 from docker/metrics-failures 2021-04-13 08:37:23 +02:00
Nicolas De loof 0623688904
Merge pull request #1528 from docker/limits
configure container limits and resources
2021-04-12 17:08:29 +02:00
Anca Iordache 8b245d99fe
Merge pull request #1525 from ulyssessouza/fix-profiles
Fix compose config --profiles
2021-04-12 17:00:25 +02:00
Nicolas De Loof 076f15c254
configure container limits and resources
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-12 15:46:18 +02:00
Nicolas De loof aaf662b7ed
Merge pull request #1522 from defyrlt/1112-ecs-exit-1-on-old-cfm-events
Ignore previous CFM events on update to avoid false positive errors
2021-04-12 12:39:08 +02:00
defyrlt 85f0a7c228 Ignore previous CFM events on update to avoid false positive errors
ECS `up` is pulling all events for CFM stack, which may be having some errors in
the history. For example, if CFM stack update was ever cancelled, `up` will be
exiting with code 1 on every run after that cancellation.

Fixes #1112

Signed-off-by: defyrlt <defyrlt@users.noreply.github.com>
2021-04-12 13:03:53 +03:00
Ulysses Souza 6dbfc71a0d Fix compose config --profiles
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-04-12 00:53:50 -03:00
Guillaume Tardif 073d8e5545 Categorize failure metrics, set specific metrics for compose file parse error, file not found, cmdline syntax errors, build error, pull error.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-09 17:20:29 +02:00
Guillaume Tardif c11a458666
Merge pull request #1514 from aiordache/arm_builds
Release binary for ARM v6 and v7
2021-04-09 16:56:39 +02:00
Guillaume Tardif 76cd14a85d
Merge pull request #1464 from ulyssessouza/up-build-restart
Refactor `up --build` behavior
2021-04-09 10:07:49 +02:00
Ulysses Souza 378d02dadd Refactor `up --build`
This restarts containers which had it's images rebuilt

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-04-08 20:37:16 -03:00
aiordache 864406db88 Compile binary for ARMv6/7
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-08 17:32:11 +02:00
Nicolas De Loof be5d78ad10
resize terminal and monitor SIGWINCH
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-08 12:33:11 +02:00
Nicolas De loof 6aed81e951
Merge pull request #1511 from gtardif/fix_test_race
Avoid race between parallel tests, add specific build sample for scan_message_test
2021-04-08 12:18:31 +02:00
Guillaume Tardif eb7732ffec
Merge pull request #1505 from aiordache/image_cmd
Add `compose images` cmd
2021-04-08 11:24:35 +02:00
Guillaume Tardif 088b13b9df Avoid race between parallel tests, add specific build sample for scan_message_test
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-08 11:04:24 +02:00
Nicolas De loof d073c93ff7
Merge pull request #1509 from docker/pause_project_name
pause/unpause only need project name. use getContainers where possible
2021-04-08 10:00:16 +02:00
Nicolas De Loof 7d85485242
pause/unpause only need project name. use getContainers where possible
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-08 09:40:50 +02:00
Nicolas De loof 0e8a56bfcb
Merge pull request #1502 from docker/init_container
add support for service_completed_successfully
2021-04-07 17:12:27 +02:00
Nicolas De loof cf7f0db324
Merge pull request #1501 from gtardif/error_exit_code
Replace custom error type for exit code with existing one from docker/cli
2021-04-07 16:18:56 +02:00
aiordache 08055d7c7a Add `compose images` cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-07 16:08:09 +02:00
Guillaume Tardif 86f5e311d7 Replace custom error type for exit code with existing one from docker/cli.
Will also help to move towards CLI plugin.

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-07 15:48:37 +02:00
Nicolas De Loof 15a21a449f
add support for service_completed_successfully
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-07 14:31:15 +02:00
Nicolas De loof 80c82415d9
Merge pull request #1507 from chris-crone/tidy-go-mod
Tidy Go modules
2021-04-07 14:14:05 +02:00
Chris Crone 892675b697 Tidy Go modules
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-07 14:06:42 +02:00
Guillaume Tardif 6a0269f7b9
Merge pull request #1483 from docker/windows_sucks
make windows "kill children process" code simpler
2021-04-07 10:55:22 +02:00