compose/pkg/e2e/testdata
Nicolas De Loof 447157274e test(e2e): build scenarios — the 'Built' family inlines its models
TestBuildDependsOn, Subset, DependentImage, SubDependencies,
LongOutputLine, DependentImageWithProfile, Escaped, Tags and Secrets
become scenarios: models inline (the long-line Dockerfile generated
with strings.Repeat instead of 34 copy-pasted lines), image names
project-scoped with Defer cleanup, and the secrets build asserts
ImageExists on top of the Dockerfile's own diff checks.

Kept legacy: TestLocalComposeBuild (DOCKER_BUILDKIT=0/1 matrix over a
shared fixture with fixed names and host port), the buildx-builder
family (SSH, platforms, privileged, entitlements, builder, TLS) which
provisions builders and dind daemons, and TestBuildImageDependencies
(classic/bake matrix). Their fixtures under build-test/ stay; the
single-purpose subdirectories are removed.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-18 16:49:56 +02:00
..
TestActiveProfileViaTargetedService test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestBuildDependentImage test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildDependentImageWithProfile test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildDependsOn test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildEscaped test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildLongOutputLine test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildSecrets test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildSubDependencies test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildSubset test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildTags test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestCascadeFail test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCascadeStop test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCommentsInEnvFile test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestCommit test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestCommitWithReplicas test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestCompatibility test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestComposePull test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestComposeRun test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunBuild test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunDeps test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunNotRequiredDeps test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunPorts test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunPullAlways test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunQuietPull test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestConfig test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestConfigFromEnv test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestConfigInterpolate test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestCopy test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestCreateIdempotentDefaultPlatform
TestCreateIdempotentSharedImageMixedPlatforms
TestCreateLocalMultiPlatformImage
TestDependsOnMultipleProviders test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestDotEnvProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestEnvInterpolation test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestEnvInterpolationDefaultValue test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestEnvPriority test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestEnvPriorityComposeEnvFile test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestEnvPriorityComposeEnvironment test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestExec test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestExplicitProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestExport test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestExportWithReplicas test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestExposeRange test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestImageVolume test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestImageVolumeImageAlreadyLocal
TestImageVolumeRecreateOnRebuild test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestInitContainer test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestInterfaceName test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestIPAMConfig test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestIPC test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeConfig test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeConfigNoConsistency test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeExec test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeExecOneOff test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeLogs test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestLoggingDriver test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestMacAddress test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNetworkAliases test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNetworkConfigChanged test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNetworkLinks test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNetworkModes test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNoDepsNetworkMode test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
TestNoDepsVolumeFrom test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
TestNoProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestPause
TestPauseServiceAlreadyPaused
TestPauseServiceDoesNotExist
TestPauseServiceNotRunning
TestPortRange test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestPostStartAndPreStopHook test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPostStartHookInError test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPostStartHookSuccess test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookBuildInheritance test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookForceRecreate test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookIdempotentReUp test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookInError test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookMidSequenceFailure test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookNotReRunOnScaleUp test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookReRunOnSpecChange test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookRunsOnceForScaledService test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookSequentialOrder test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookSuccess test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStopHookInError test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStopHookSuccess test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStopHookSuccessWithPreviousStop test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestProviderRawSetEnv test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestProviderRawSetEnvOverridesInheritedEnv test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestProviderRawSetEnvOverridesInheritedEnvMapForm test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestProviderRawSetEnvOverridesUserEnv test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestProviderStopHook test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestPublishBindMount test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishBuildOnly test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishDetectSensitiveData test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishInterpolatedEnv test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishLocalInclude test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishPromptAggregatesFindings test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishPromptEnvFile test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishPromptSuspiciousEnv test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishWithExtends test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPullFailure test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestPullIgnoreFailures test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestPullImagePresentLocally test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestPullNoImageNameGiven test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestPullRefreshWindowExplicitPull
TestRawEnvFile test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestRecreateWithNoDeps test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestRemoveOrphaned test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestRemoveOrphans test(e2e): TestRemoveOrphans states its real intent — COMPOSE_REMOVE_ORPHANS from .env 2026-08-18 16:49:56 +02:00
TestRestart
TestRm test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestRunBuildOnceDependency test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestRunBuildOnceNestedDependencies test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestRunBuildOnceNoDeps test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestRunEnvFile test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleBasicCases test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleDoesntRecreate test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestScaleDownNoRecreate test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleDownRemovesObsolete test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleUpAndDownPreserveContainerNumber test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleWithDepsCases test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestSecretFromEnv test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestSecretFromInclude test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestStartInterval test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestStartSingleServiceAndDependency test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStop test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStopWithDependencies test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStopWithOneOffs test(e2e): one-off vocabulary — service checks skip run containers 2026-08-18 16:49:56 +02:00
TestStdoutStderr test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestStopWithDependenciesAttached test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestUnnecessaryResources test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestUnsetEnv test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestUpBuildUnchangedContext
TestUpContainerNameConflict test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestUpDryRunMissingImage
TestUpExitCodeFrom test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpExitCodeFromContainerKilled test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpImageID test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpNoDeps test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestUpProfile test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpRecreateVolumes test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestUpRecreateVolumesIgnoreBinds test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestUpServiceUnhealthy test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpStopWithLogsMixed test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpSwitchVolumes test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestUpWait test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpWithAllResources test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpWithBuildDependencies test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpWithDependencyExit test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpWithDependencyNotRequired test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestWaitAndDrop test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestWaitOnFaster test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestWaitOnSlower test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00