mirror of
https://github.com/docker/compose.git
synced 2026-11-21 15:40:52 +00:00
The e2e framework (framework.go, scenario.go, checks.go, assert.go) and the e2e tests lived under pkg/e2e, so the framework was published as part of the public /v5 API although it is only test support code. Move it to internal/e2e. This is a pure move: the files keep their content, only the references to the old path (Makefile, .golangci.yml, codecov.yml, .gitignore, AGENTS.md and SCENARIO.md) are updated. internal/e2e is at the same depth as pkg/e2e, so the relative paths to bin/, relay/ and testdata keep working. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
20 lines
625 B
YAML
20 lines
625 B
YAML
services:
|
|
task:
|
|
image: alpine
|
|
command: echo "task done"
|
|
depends_on:
|
|
- dep
|
|
dep:
|
|
image: alpine
|
|
# sleep as PID 1 ignores SIGTERM: without init, stopping dep for the
|
|
# recreate waits for the stop timeout and kills it
|
|
init: true
|
|
command: sleep infinity
|
|
volumes:
|
|
# anonymous volume: no source, so it lives and dies with the container
|
|
# unless carried over on recreate
|
|
- /data
|
|
environment:
|
|
# divergence vector: changing TAG between invocations changes the
|
|
# config-hash of dep, which the default policy answers by recreating
|
|
TAG: ${TAG:-initial}
|