mirror of
https://github.com/docker/compose.git
synced 2026-11-17 21:57:19 +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>
14 lines
494 B
Docker
14 lines
494 B
Docker
FROM alpine
|
|
|
|
RUN echo "foo" > /tmp/expected
|
|
RUN --mount=type=secret,id=mysecret cat /run/secrets/mysecret > /tmp/actual
|
|
RUN diff /tmp/expected /tmp/actual
|
|
|
|
RUN echo "bar" > /tmp/expected
|
|
RUN --mount=type=secret,id=build_secret cat /run/secrets/build_secret > tmp/actual
|
|
RUN diff --ignore-all-space /tmp/expected /tmp/actual
|
|
|
|
RUN echo "zot" > /tmp/expected
|
|
RUN --mount=type=secret,id=dotenvsecret cat /run/secrets/dotenvsecret > tmp/actual
|
|
RUN diff --ignore-all-space /tmp/expected /tmp/actual
|
|
|