mirror of
https://github.com/docker/compose.git
synced 2026-09-04 00:56:00 +00:00
ServiceScale and ReplicaNumbers join the vocabulary: replica counts and numbering read from container labels replace counting 'Started' lines in the CLI output. - TestScaleDownNoRecreate's final assertion now actually runs: the legacy test built the scale-down command without executing it, so 'scale down removes obsolete replicas' was never exercised; the scenario locks the real behavior (stale replicas dropped, up-to-date ones kept, whatever their numbers). - secrets scenarios inline the include-based project (compose.yaml, child project and env_file as one txtar archive). - TestRawEnvFile and TestRunEnvFile inline their env files; TestUnusedMissingEnvFile stays legacy for its completion assertions, which drive the plugin/standalone binaries directly. - Fixtures scale/, env-secret/ and dotenv/raw are removed. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
19 lines
300 B
YAML
19 lines
300 B
YAML
include:
|
|
- path: child/compose.yaml
|
|
env_file:
|
|
- secret.env
|
|
|
|
services:
|
|
foo:
|
|
image: alpine
|
|
secrets:
|
|
- source: secret
|
|
target: bar
|
|
uid: "1005"
|
|
gid: "1005"
|
|
mode: 0440
|
|
command: cat /run/secrets/bar
|
|
|
|
secrets:
|
|
secret:
|
|
environment: SECRET
|