-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Hotfix][CI] Fix CI failures by forcing Docker API version to 1.44 #10495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from 5 commits
03e67e0
a31b60c
1231917
8c079ba
7113690
252485d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -666,6 +666,8 @@ | |||||||||||
| <skip>${skipUT}</skip> | ||||||||||||
| <systemPropertyVariables> | ||||||||||||
| <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile> | ||||||||||||
| <!-- temporary fix for https://github.com/testcontainers/testcontainers-java/issues/11491 --> | ||||||||||||
| <api.version>1.44</api.version> | ||||||||||||
| </systemPropertyVariables> | ||||||||||||
| <excludes> | ||||||||||||
| <exclude>**/*IT.java</exclude> | ||||||||||||
|
|
@@ -695,6 +697,10 @@ | |||||||||||
| <version>${maven-failsafe-plugin.version}</version> | ||||||||||||
| <configuration> | ||||||||||||
| <skip>${skipIT}</skip> | ||||||||||||
| <!-- temporary fix for https://github.com/testcontainers/testcontainers-java/issues/11491 --> | ||||||||||||
| <systemPropertyVariables> | ||||||||||||
| <api.version>1.44</api.version> | ||||||||||||
| </systemPropertyVariables> | ||||||||||||
|
||||||||||||
| </systemPropertyVariables> | |
| </systemPropertyVariables> | |
| <environmentVariables> | |
| <DOCKER_API_VERSION>1.44</DOCKER_API_VERSION> | |
| </environmentVariables> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the testcontainers GitHub issue #11491, the recommended approach to fix this issue is to set the
DOCKER_API_VERSIONenvironment variable rather than using a system property. Consider using<environmentVariables>instead of<systemPropertyVariables>:If the current approach with
api.versionsystem property doesn't work, this alternative should resolve the Docker API version compatibility issue.