compose/internal/e2e
Guillaume Lours 0aff61809c run: trigger a job through the engine like a service
`docker compose run <job>` triggers a run of the job on the engine,
starts its dependencies first, streams its logs and returns its exit
code like a one-off service; a job accepts manual triggering unless it
declares manual: false. A scheduled job runs as up registered it: an
override, or a job up never registered, is refused. A manual job is
removed from the engine after its run, so the next run can differ. When
the engine cannot run jobs, run falls back to a one-off service with a
warning. --detach is refused, an interrupted run is cancelled, a dry run
only reports it. A job named by create, start, build, pull or push gets
an error naming run instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
2026-11-17 13:48:57 +01:00
..
fixtures
testdata run: trigger a job through the engine like a service 2026-11-17 13:48:57 +01:00
api_socket_test.go
assert.go
bridge_convert_output_test.go
bridge_test.go
build_test.go
cancel_test.go
cascade_test.go
checks.go
commit_test.go refactor(e2e): move the e2e framework and tests out of pkg/ 2026-11-16 15:21:04 +01:00
compose_environment_test.go
compose_exec_test.go
compose_run_build_once_test.go
compose_run_test.go
compose_test.go
compose_up_test.go feat(up): stream the logs while --wait waits for the services 2026-11-17 09:35:33 +01:00
config_test.go
configs_test.go
container_name_test.go
cp_test.go
dry_run_hooks_test.go
e2e_config_plugin.go
e2e_config_standalone.go
env_file_test.go
events_test.go
exec_test.go
export_test.go
expose_test.go
framework.go
healthcheck_test.go
hooks_test.go fix(pre_start): name the hook when its container cannot start 2026-11-17 09:21:06 +01:00
image_identity_corner_test.go
image_identity_test.go
images_test.go
ipc_test.go
jobs_test.go run: trigger a job through the engine like a service 2026-11-17 13:48:57 +01:00
logs_test.go
main_test.go
model_test.go
multiplatform_test.go
networks_test.go
noDeps_test.go
orphans_test.go
pause_test.go
profiles_test.go
providers_test.go
ps_test.go
publish_test.go
pull_test.go
recreate_no_deps_test.go
remote_git_test.go
remote_oci_test.go
restart_test.go
scale_test.go
scenario.go jobs: register scheduled jobs on create and up, remove them on down 2026-11-17 13:48:57 +01:00
SCENARIO.md
secrets_test.go
start_stop_test.go
testdata_test.go
umask_test.go
unsupported_attributes_test.go
up_interactive_test.go
up_stale_network_test.go
up_start_failure_test.go
up_test.go
volumes_test.go
wait_test.go
watch_test.go