This is an automated email from the ASF dual-hosted git repository.

manikumar pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/3.7 by this push:
     new 8b1d9e2138a MINOR: Install docker-compose on docker-build workflows 
(#18037)
8b1d9e2138a is described below

commit 8b1d9e2138ab8f02f70ec40cbca07bdb8a23d714
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 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/docker_build_and_test.yml 
b/.github/workflows/docker_build_and_test.yml
index 695c08672fd..e2c1fe0b70f 100644
--- a/.github/workflows/docker_build_and_test.yml
+++ b/.github/workflows/docker_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
       run: |

Reply via email to