mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
- TestExec locks the container-selection order (service container over one-off) with one-off state observed at each step. - providers: a shared providerScenario helper wires the example-provider binary into PATH; the env assertions anchor on the 'test-1 | ' log prefix, replacing the hand-rolled env parser, and the stop-hook sentinel file is observed with FileExists. - Fixtures exec/ and providers/ are removed. Signed-off-by: Nicolas De Loof <[email protected]>
22 lines
367 B
YAML
22 lines
367 B
YAML
services:
|
|
test:
|
|
image: alpine
|
|
command: env
|
|
depends_on:
|
|
- provider1
|
|
- provider2
|
|
provider1:
|
|
provider:
|
|
type: example-provider
|
|
options:
|
|
name: provider1
|
|
type: test1
|
|
size: 1
|
|
provider2:
|
|
provider:
|
|
type: example-provider
|
|
options:
|
|
name: provider2
|
|
type: test2
|
|
size: 2
|