This is an automated email from the ASF dual-hosted git repository.
manikumar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new f80e726e9bc MINOR: Install docker-compose on docker-build workflows
(#18037)
f80e726e9bc is described below
commit f80e726e9bc3a7c8167fecbad1dcce34592e77aa
Author: Vedarth Sharma <[email protected]>
AuthorDate: Wed Dec 4 22:01:05 2024 +0530
MINOR: Install docker-compose on docker-build workflows (#18037)
Docker tests rely on docker compose. In recent runs it has been observed
that github actions does not provide support for docker compose, so we are
installing it explicitly in the workflow.
---
.github/workflows/docker_build_and_test.yml | 1 +
.github/workflows/docker_official_image_build_and_test.yml | 1 +
2 files changed, 2 insertions(+)
diff --git a/.github/workflows/docker_build_and_test.yml
b/.github/workflows/docker_build_and_test.yml
index 0fe70ff0234..1abc0b61557 100644
--- a/.github/workflows/docker_build_and_test.yml
+++ b/.github/workflows/docker_build_and_test.yml
@@ -41,6 +41,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r docker/requirements.txt
+ pip install --upgrade --force-reinstall --no-cache-dir docker-compose
&& ln -sf /usr/local/bin/docker-compose /usr/bin/docker-compose
- name: Build image and run tests
working-directory: ./docker
env:
diff --git a/.github/workflows/docker_official_image_build_and_test.yml
b/.github/workflows/docker_official_image_build_and_test.yml
index 419bfadc141..00e5717d28f 100644
--- a/.github/workflows/docker_official_image_build_and_test.yml
+++ b/.github/workflows/docker_official_image_build_and_test.yml
@@ -40,6 +40,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r docker/requirements.txt
+ pip install --upgrade --force-reinstall --no-cache-dir docker-compose
&& ln -sf /usr/local/bin/docker-compose /usr/bin/docker-compose
- name: Build image and run tests
working-directory: ./docker
env: