mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +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>
47 lines
970 B
YAML
47 lines
970 B
YAML
services:
|
|
# `file:` sources are bind-mounted as-is: uid/gid/mode are ignored.
|
|
file-refs:
|
|
image: alpine
|
|
configs:
|
|
- source: fileconfig
|
|
uid: "1000"
|
|
gid: "1000"
|
|
mode: 0o440
|
|
secrets:
|
|
- source: filesecret
|
|
uid: "1000"
|
|
mode: 0o440
|
|
|
|
# `content:` / `environment:` sources are copied in: uid/gid/mode are applied.
|
|
inline-refs:
|
|
image: alpine
|
|
configs:
|
|
- source: inlineconfig
|
|
uid: "1000"
|
|
gid: "1000"
|
|
mode: 0o440
|
|
secrets:
|
|
- source: envsecret
|
|
uid: "1000"
|
|
mode: 0o440
|
|
|
|
# run-only: scaled to zero, so create/up skip it, yet `run` creates a container.
|
|
run-only:
|
|
image: alpine
|
|
scale: 0
|
|
configs:
|
|
- source: fileconfig
|
|
uid: "1000"
|
|
mode: 0o440
|
|
|
|
configs:
|
|
fileconfig:
|
|
file: ./myconfig.txt
|
|
inlineconfig:
|
|
content: hello
|
|
|
|
secrets:
|
|
filesecret:
|
|
file: ./mysecret.txt
|
|
envsecret:
|
|
environment: SECRET_VALUE
|