mirror of
https://github.com/docker/compose.git
synced 2026-09-25 15:04:49 +00:00
- TestRm, TestRemoveOrphaned and TestUnnecessaryResources observe which containers exist instead of grepping docker ps. - TestCompatibility drops the heavyweight sentences fixture: underscore naming shows on any model. - TestConfig/TestConfigInterpolate build their expected rendering from the scenario's own project name and directory; OutputMatches joins the vocabulary for TestInitContainer's ordering assertion. - TestStopWithDependenciesAttached inlines its model. - Kept legacy: TestLocalComposeUp (fixed port, HTTP, shared sentences fixture), TestDownComposefileInParentFolder (project name inferred from a fixture-relative directory), TestAttachRestart (long-running attached up), the COMPOSE_FILE-from-.env family and TestNestedDotEnv (they exercise invocation without -f, which ComposeCmd always sets). - Fixtures init-container/, external/ and dependencies/ are removed. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
11 lines
192 B
YAML
11 lines
192 B
YAML
services:
|
|
foo:
|
|
image: alpine
|
|
command: "echo hello"
|
|
|
|
bar:
|
|
image: alpine
|
|
command: "echo world"
|
|
depends_on:
|
|
foo:
|
|
condition: "service_completed_successfully"
|