compose/pkg/e2e/testdata
Guillaume Lours 8018a96fde feat(compose): warn on unsupported compose-file attributes
Compose silently ignored several spec-valid attributes it doesn't
honor outside Swarm mode: deploy.update_config, credential_spec,
ports[].mode: host, and others had no visible effect on a plain
`docker compose up`.

Detection is wired into compose-go's loader as a fail-closed
allowlist: every attribute path the schema declares, minus the
handful this runtime deliberately doesn't implement, plus a few
value-conditional checks for attributes only unsupported for one
specific value. A newly-specified attribute gets flagged
automatically, with no corresponding code change needed here.

Depends on an unreleased compose-go change; go.mod carries a
temporary replace to a fork branch until it's released.

Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
2026-09-09 16:32:04 +02:00
..
TestActiveProfileViaTargetedService test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestBridgeConvertOutputNotEmptyConfirmed fix(bridge): confirm before wiping non-empty convert output dir 2026-09-03 14:38:41 +02:00
TestBridgeConvertOutputNotEmptyDeclined fix(bridge): confirm before wiping non-empty convert output dir 2026-09-03 14:38:41 +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
TestComposeModel test(e2e): image-identity, images and model scenarios 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
TestImagesAfterImageRemoved test(e2e): image-identity, images and model 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 e2e: fix test resource isolation and make standalone parallelism configurable 2026-08-19 17:41:02 +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
TestProviderControlChannel feat(provider): get-service-config provider request 2026-09-08 14:53:14 +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
TestPsHonorsPsFormat fix(ps): honor psFormat from Docker CLI config when no --format flag given 2026-08-20 14:05:34 +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
TestUnsupportedAttributesWarning feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +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
TestUpIdempotentContainerdStore test(e2e): image-identity, images and model 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): batch snapshot inspect with per-container fallback, explicit suite timeout 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
TestUpWaitTimeout fix: dependency wait timeout surfaced only by luck 2026-08-20 15:16:57 +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