compose/pkg/e2e
Nicolas De Loof 29cb687b7a fix(provider): down removes the relay with the provider service
down handled a provider service by running the plugin alone — but the
service may own a project container, the relay deployed when it
published endpoints. Left running, it kept the project network in use
and `down -v` failed with "Resource is still in use".

The relay is now part of the service's deprovisioning: its containers
are removed first, then the plugin removes the provider's resource —
mirroring up, which provisions the resource before deploying the relay.

The example provider's down used to answer with a hardcoded error (a
leftover no test relied on): it now succeeds, with the failure
simulation kept behind PROVIDER_DOWN_FAILURE.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-09-16 17:03:23 +02:00
..
fixtures test(e2e): bump compose-bridge images to v0.0.7 2026-09-02 18:21:19 +02:00
testdata feat(provider): publish-endpoint deploys a network relay for provider services 2026-09-16 17:03:23 +02:00
assert.go fix(e2e): require every listed entry for the service to match state 2026-09-16 14:31:15 +02:00
bridge_convert_output_test.go golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
bridge_test.go golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
build_test.go test(build): re-enable wrong ssh key id test 2026-08-28 09:39:00 +02:00
cancel_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
cascade_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
checks.go e2e: scenario DSL learns remote compose sources 2026-09-16 16:53:33 +02:00
commit_test.go fix(dry-run): commit no longer creates a real image; the interception set becomes declarative 2026-09-16 13:44:21 +02:00
compose_environment_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
compose_exec_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
compose_run_build_once_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
compose_run_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
compose_test.go test(e2e): wait on state, not on an unsynchronized log line 2026-09-16 14:31:15 +02:00
compose_up_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
config_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
configs_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
container_name_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
cp_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
e2e_config_plugin.go chore(e2e): fix flaky test & standalone behavior (#11382) 2024-01-30 10:49:53 -05:00
e2e_config_standalone.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
env_file_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
events_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
exec_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
export_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
expose_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
framework.go golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
healthcheck_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
hooks_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
image_identity_corner_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
image_identity_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
images_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
ipc_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
logs_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
main_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
model_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
multiplatform_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
networks_test.go PRIVATE_PORT optional for docker compose port 2026-09-11 11:35:18 +02:00
noDeps_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
orphans_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
pause_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
profiles_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
providers_test.go fix(provider): down removes the relay with the provider service 2026-09-16 17:03:23 +02:00
ps_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
publish_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
pull_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
recreate_no_deps_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
remote_git_test.go e2e: version-proof git fixture init, Branch cuts from main 2026-09-16 16:53:33 +02:00
remote_oci_test.go e2e: cover git and OCI remote stacks 2026-09-16 16:53:33 +02:00
restart_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
scale_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
scenario.go e2e: scenario DSL learns remote compose sources 2026-09-16 16:53:33 +02:00
SCENARIO.md e2e: scenario DSL learns remote compose sources 2026-09-16 16:53:33 +02:00
secrets_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
start_stop_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
testdata_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
unsupported_attributes_test.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
up_test.go test(e2e): wait on state, not on an unsynchronized log line 2026-09-16 14:31:15 +02:00
volumes_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
wait_test.go test(e2e): gate the e2e suite behind the build tag the docs already promise 2026-08-27 11:02:07 +02:00
watch_test.go golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00