Commit Graph

2489 Commits

Author SHA1 Message Date
Chris Crone d3ca32a8a8 ci: Fix linting errors
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 15:35:10 +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
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 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