-
Notifications
You must be signed in to change notification settings - Fork 116
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
Use latest docker-compose v2 version #1233
Conversation
/test |
0bb13d2
to
9c98c27
Compare
Missing logs for container-logs apache package EDIT: As apache does not have any logs a part from that "attacching..." line when docker-compose v1 is used, those logs are empty when docker-compose v2 is used. |
versionMessage := fmt.Sprintf("Determined Docker Compose version: %v", ver) | ||
if ver.Major() == 1 { | ||
logger.Debugf("Determined Docker Compose version: %v, the tool will use Compose V1", ver) | ||
versionMessage = fmt.Sprintf("%s, the tool will use Compose V1", versionMessage) | ||
c.dockerComposeV1 = true | ||
} | ||
logger.Debug(versionMessage) |
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.
Maybe it can be dismissed the tool will use Compose V1
sentence and just lave the message Determined Docker Compose version: %v
?
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.
Sounds good, yes.
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.
Though well, it also tells if V1 implementation is being used here.
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.
Ok, I'll leave it adding that sentence if docker-compose version is v1.x
💚 Build Succeeded
History
cc @mrodm |
This PR enables docker-compose v2 in CI.
Setting the latest version available at the time of creating this PR (2.17.2)
https://docs.docker.com/compose/release-notes/
Relates #1116