Nicolas De Loof
fb73dd58d9
Move compose e2e tests into pkg
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-28 08:47:58 +02:00
Nicolas De Loof
c901edd65d
introduce `convergence` to hold per-service Containers and prevent race conditions
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-25 13:18:00 +02:00
Nicolas De loof
98a781f5cf
Merge pull request #1827 from ndeloof/ipam
2021-06-23 15:58:26 +02:00
Nicolas De loof
8d2019e77d
Merge pull request #1831 from ndeloof/inherit_volumes
...
inherit anoymous volumes
2021-06-23 15:35:18 +02:00
Nicolas De Loof
05b510a447
compose ps to include container command
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 16:09:47 +02:00
Nicolas De Loof
444fc26a51
inherit anoymous volumes
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 14:37:52 +02:00
Nicolas De Loof
2fdc2e1dfb
apply IPAM configuration to network and services
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 11:23:57 +02:00
Nicolas De Loof
7f18b47a9a
prefer canonical `compose.yaml` file name
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 11:23:57 +02:00
Lorena Rangel
b38d35ae1c
set container links and external links in network
...
Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2021-06-17 15:51:14 +02:00
Nicolas De Loof
e7f228ecf9
wait for exec stdout to complete
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:58:47 +02:00
Nicolas De Loof
e641ffa0f4
fix broken network_alias_test
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:30:11 +02:00
Nicolas De Loof
fe085df7b7
stop using buildkit hack to pull images
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 11:32:30 +02:00
Nicolas De loof
2315a1dad7
Merge pull request #1707 from docker/up_follow
2021-05-31 10:54:40 +02:00
Nicolas De Loof
4947a4037f
remove unresolved vars from env set by `exec`
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-27 16:19:28 +02:00
Nicolas De Loof
6f6ae071d6
improve container events watch robustness
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-26 14:04:38 +02:00
Nicolas De loof
4c0cbea24b
Merge pull request #1623 from JulienTant/1391-add-cp
2021-05-06 15:49:51 +02:00
Guillaume Tardif
416af599aa
Fix building compose files with absolute build context / Dockerfile
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-05 16:58:50 +02:00
Julien Tant
d827213d32
ignore linter err
...
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-03 11:57:55 -07:00
Julien Tant
42cd3da59d
add tests
...
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-03 10:58:52 -07:00
Nicolas De Loof
4186cce1dd
use highest priority network to declare network aliasses
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-03 16:01:10 +02:00
Nicolas De Loof
98187b2f62
down --volume to remove volume
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-30 08:18:06 +02:00
Nicolas De loof
b46015f2f8
Merge pull request #1610 from ndeloof/build_args_from_env
2021-04-29 12:15:35 +02:00
Nicolas De loof
634ade5e8a
Merge pull request #1609 from ndeloof/exec_exitcode
2021-04-29 12:14:07 +02:00
Nicolas De Loof
15eab93b31
docker compose exec to return command exit code
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:58:45 +02:00
Nicolas De Loof
e433777796
resolve build args without value from environment
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:43:09 +02:00
Nicolas De Loof
b33588b725
when bind mount has CreateHostPath set, use bind API
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-27 17:03:16 +02:00
Guillaume Tardif
6c5bd67c19
Fix race in TestAttachRestart : wait for logs to appear rather than have a fixed TTL for the application
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-26 12:01:24 +02:00
guillaume.tardif
df7f57e227
one more windows adaptation
...
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-04-23 13:21:10 +02:00
Guillaume Tardif
95179f1625
Compose Cancel test not compile/run on windows (no signals)
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 12:39:55 +02:00
guillaume.tardif
4fa4284eb4
Adapt compose tests to pass with Desktop Windows
...
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-04-23 12:04:42 +02:00
Guillaume Tardif
de3fa40bae
Handle Ctrl+C for compose CLI plugin.
...
Could do something nicer passing the context to the compose command, rather than intercepting it and checking if it’s “.WithCancel” or not...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 10:21:05 +02:00
Guillaume Tardif
0785114b90
Also ensure we don’t need compose cloud integration to run compose CLI plugin
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 22:03:52 +02:00
Guillaume Tardif
c7dc12d310
E2E tests using compose CLI plugin
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 17:51:29 +02:00
Guillaume Tardif
ec693fc5f8
Fir port display assertion, Docker engine returns 2 entries in container inspect
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 17:34:26 +02:00
Guillaume Tardif
cc0423df6e
Fix down not working if run from a different folder than up, because container labels stored relative paths
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 16:19:31 +02:00
Guillaume Tardif
02b9363233
avoid assertions in defer statements.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-19 17:33:51 +02:00
Chris Crone
c804b7a5a6
local.e2e: Fix Compose start/stop tests
...
* Fix strings.Contains ordering
* Correct logic
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-19 12:50:16 +02:00
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
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
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
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
411612ed8d
Fix scan message with quiet flag
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 14:30:27 +02: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
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
aiordache
08055d7c7a
Add `compose images` cmd
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-07 16:08:09 +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