Closed fourjae closed 1 month ago
The changes update the CI workflow and related documentation to replace docker-compose
with docker compose
. This transition addresses the compatibility issues arising from the deprecation of Docker Compose V1 on the CI runner's Ubuntu image, ensuring that the CI process continues to function correctly while maintaining the same workflow for building and running Docker containers.
Files | Change Summary |
---|---|
.github/workflows/ci.yml , CONTRIBUTING.md , build/docker/README.md |
Updated command syntax from docker-compose to docker compose to align with Docker CLI improvements. |
Objective | Addressed | Explanation |
---|---|---|
CI workflow doesn't work due to Docker Compose V1 being deprecated (✔️ #949) | ✅ |
In the CI land where rabbits play,
Docker commands now lead the way! 🐇✨
No more V1, we’ve hopped to V2,
Building and running, all fresh and new!
With each little change, our code takes flight,
A smoother workflow, all feels just right!
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 51.31%. Comparing base (
52d2732
) to head (e0e58e2
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What this PR does / why we need it:
This PR modified the docker-compose command, which was deprecated in compose v1, to the docker compose command in accordance with compose v2.
This also resolves the failure of CI workflow due to Docker Compose V1 being deprecated on the runner's ubuntu image by https://github.com/actions/runner-images/pull/10368
Which issue(s) this PR fixes:
Fixes #949
Related content https://docs.docker.com/compose/migrate/
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation:
Checklist:
Summary by CodeRabbit
docker compose
command, enhancing compatibility and simplifying command usage.