-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Update docker compose scripts for docker compose v2 #23360
Conversation
207bca3
to
2f9cabf
Compare
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.
A single nit of formatting, looks good otherwise!
presto-product-tests/README.md
Outdated
@@ -29,15 +29,15 @@ broken. | |||
wget -qO- https://get.docker.com/ | sh | |||
``` | |||
|
|||
* [`docker-compose >= 1.8.1`](https://docs.docker.com/compose/install/) | |||
* [`docker compose >= 2.3.4](https://docs.docker.com/compose/install/) |
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.
* [`docker compose >= 2.3.4](https://docs.docker.com/compose/install/) | |
* [`docker compose >= 2.3.4`](https://docs.docker.com/compose/install/) |
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.
LGTM! (docs)
Update docker compose scripts for docker compose v2, as legacy docker-compose v1 is no longer supported for github actions.
Description
Update docker compose scripts for docker compose v2, as legacy docker-compose v1 is no longer supported for github actions. There is a migration guide here https://docs.docker.com/compose/migrate/. The changes here are
docker-compose
todocker compose
.Motivation and Context
Fixes #22413
Github is removing docker compose v1 (the python based docker-compose command) from their github actions runners, so we need to upgrade to use docker compose v2. Without this change, tests that run on the new runners fail with "docker-compose: command not found". The removal of docker compose v1 began on July 29th and is expected to take 3-4 days, so we can expect to be fully blocked by this issue imminently actions/runner-images#9692.
Impact
Let's our tests run on images that only have docker compose v2
Test Plan
CI
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.