mirror of
https://github.com/docker/compose.git
synced 2026-11-17 21:57:19 +00:00
Scenario-DSL coverage for the jobs entry points: - up refuses a project declaring an active scheduled job before creating any resource; - run executes a manual job like a service, starting its depends_on services first, and refuses a schedule-only job; - a job's own env_file feeds its environment through run — the materialization happens before environment resolution; - a job depending on another job runs the dependency to completion first, through the exact machinery a service dependency uses. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
7 lines
133 B
YAML
7 lines
133 B
YAML
jobs:
|
|
migrate:
|
|
image: alpine
|
|
command: sh -c 'echo "DB_URL=$$DB_URL"'
|
|
env_file: db.env
|
|
triggers:
|
|
manual: true
|