Bump infra-e2e to testcontainers-go v0.42.0 and remove deprecated compose version field#13817
Merged
Bump infra-e2e to testcontainers-go v0.42.0 and remove deprecated compose version field#13817
Conversation
Merged
8 tasks
…pose version field Pin infra-e2e to apache/skywalking-infra-e2e#146 (81adeec) which migrates to testcontainers-go v0.42.0, using Docker Compose v2 plugin natively and removing docker-compose v1 dependency. Remove the deprecated `version` field from all docker-compose files for Compose v2 compatibility.
- Update SHA to include the fix that removes compose.Wait(true), which was causing failures for run-once/init containers that exit after completing (e.g., mongodb-repl-setup, load generators). - Remove version field from 2 missed .yaml compose files (the previous commit only handled .yml files).
85df55c to
66641c3
Compare
Includes: - fix: add manual port waiting after compose up - chore: remove containerd image store disable workaround
wankai123
approved these changes
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adopt infra-e2e testcontainers-go v0.42.0 migration
CHANGESlog.Changes:
skywalking-infra-e2eto530f997(merged feat: migrate to testcontainers-go v0.42.0 and upgrade dependencies skywalking-infra-e2e#146), which migratestestcontainers-go from v0.11.1 to v0.42.0, using Docker Compose v2 plugin natively and removing
docker-compose v1 dependency.
versionfield from all docker-compose files (Compose v2 ignores it with a warning).What the infra-e2e change does:
compose.NewDockerComposeWithAPIDockerContainer/DockerProviderreimplementationaction.yamldocker compose up -d(matching old behavior)DOCKER_API_VERSIONnegotiation for Docker 29+ compatibilityCompatibility:
extendsin compose files: supported since Compose v2.20.0 ✓depends_onwithcondition: service_healthy: supported natively in Compose v2 ✓ubuntu-latestandubuntu-24.04both ship Docker with Compose v2 plugin ✓