3279 Commits

Author SHA1 Message Date
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
Nicolas De loof
74277f3496
Merge pull request #1495 from docker/no_service
deadlock waiting for services when none selected
2021-04-07 10:21:42 +02:00
Nicolas De loof
5b61e80e92
Merge pull request #1467 from ulyssessouza/progress-tail-msgs
Add plain tail messages on progress writer
2021-04-07 10:20:47 +02:00
Nicolas De loof
84fcdee8df
Merge pull request #1497 from docker/windows_mount
don't use filepath to process remote bind paths
2021-04-07 10:19:59 +02:00
Nicolas De loof
bd5c188be6
Merge pull request #1494 from gtardif/cancel_docker_cli_metrics
Track cancel exit code from docker cli shellout to report correct status in metrics
2021-04-06 14:35:04 +02:00
Nicolas De Loof
dc036c2686
don't use filepath to process remote bind paths
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-06 13:29:25 +02:00
Nicolas De loof
acfdd2349b
Merge pull request #1496 from docker/compose_profiles
add support for COMPOSE_PROFILES
2021-04-06 11:55:37 +02:00
Guillaume Tardif
78660493ca
Merge pull request #1487 from docker/cli-source
make metrics' source configuration (see compose-switch)
2021-04-06 11:22:26 +02:00
Nicolas De Loof
05958228ac
deadlock waiting for services when none selected
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-06 11:22:22 +02:00
Nicolas De Loof
2f6a636670
add support for COMPOSE_PROFILES
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-06 11:20:58 +02:00
Guillaume Tardif
6465bfec82 track cancel exit code from docker cli shellout to report correct status in metrics
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-06 10:19:27 +02:00
Guillaume Tardif
d625f08a70
Merge pull request #1488 from gtardif/windows_terminal_size
Update go term lib with windows support to get terminal size
2021-04-02 13:37:11 +02:00
Guillaume Tardif
85393db2fb Update go term lib with windows support to get terminal size
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-02 13:29:46 +02:00
Nicolas De Loof
0cd080a786
make metrics' source configuration (see compose-switch)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-01 14:42:05 +02:00
Nicolas De loof
cca87b53df
Merge pull request #1485 from gtardif/fix_windows_engine_up
Use old build for windows engine also on compose up
2021-04-01 10:29:21 +02:00
Guillaume Tardif
d5efef2aa7 Use old build for windows engine also on compose up
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-01 09:59:01 +02:00
Nicolas De Loof
a691cc98e7
make windows "kill children process" code simpler
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-31 15:24:50 +02:00
Nicolas De loof
487bf96ed2
Merge pull request #1481 from gtardif/windows_docker_cli
Set our own docker CLI on windows nodes
2021-03-31 12:17:53 +02:00
Nicolas De loof
ad37072668
Merge pull request #1480 from gtardif/e2e_restart_race
Removed race in e2e test
2021-03-30 21:19:29 +02:00
Guillaume Tardif
add91ca068 Set our own docker CLI on windows nodes
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-30 18:08:24 +02:00
Guillaume Tardif
ac1696e47b Removed race in e2e test
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-30 17:00:10 +02:00
Nicolas De loof
9df272a893
Merge pull request #1470 from aiordache/build_args
Add `no-cache` build flag
2021-03-30 15:58:28 +02:00
Guillaume Tardif
e0a828daae --memory is not deprecated, but not supported on buildkit. Issue a Warning and ignore flag
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-30 15:24:36 +02:00
Nicolas De loof
d67e8b9c51
Merge pull request #1474 from docker/build_windows 2021-03-30 14:15:13 +02:00
Guillaume Tardif
2b1158f4c2 Adapt cli/mobycli to avoid duplicating shellout code
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-30 13:45:05 +02:00
aiordache
e92b2f80d2 Shell out to docker cli for windows container builds
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-30 13:42:52 +02:00
Nicolas De loof
95d2159258
Merge pull request #1478 from docker/profiles
introduce config --profiles for parity with docker-compose
2021-03-30 12:03:59 +02:00
Guillaume Tardif
b7c48621fa
Merge pull request #1475 from gtardif/scan_build_cta
Add scan message after docker build, add e2e tests
2021-03-30 11:56:35 +02:00
Nicolas De Loof
25d5367480
introduce config --profiles for parity with docker-compose
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-30 11:52:16 +02:00
Guillaume Tardif
435a51f9e4 Add scan message after docker build, add e2e tests
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-29 19:12:06 +02:00
aiordache
3f0ee7072f Add no-cache build flag
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-26 18:16:22 +01:00
Ulysses Souza
e5834f37fd Add tail messages on progress writer
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-25 18:21:36 -03:00