compose/pkg/e2e/testdata/TestPublishDetectSensitiveData/compose.yaml
Nicolas De Loof 9409c461f7 test(e2e): publish-check scenarios — WithStdin answers the prompts
The dry-run publish checks split into nine scenarios, one per model
and refusal reason; the prompt text, refusal exit code (130) and
publication report are the observables. WithStdin joins the Action
modifiers to feed prompt answers. TestPublish stays legacy: it drives
a real registry container and loads oci:// projects with multiple -f
files. Only the oci/ fixture subtree it needs survives.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-18 16:49:56 +02:00

20 lines
412 B
YAML

services:
serviceA:
image: "alpine:3.12"
environment:
- AWS_ACCESS_KEY_ID=A3TX1234567890ABCDEF
- AWS_SECRET_ACCESS_KEY=aws"12345+67890/abcdefghijklm+NOPQRSTUVWXYZ+"
configs:
- myconfig
serviceB:
image: "alpine:3.12"
env_file:
- publish-sensitive.env
secrets:
- mysecret
configs:
myconfig:
file: config.txt
secrets:
mysecret:
file: secret.txt