mirror of https://github.com/apache/kafka.git
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.
This commit is contained in:
parent
423a6353a8
commit
f80e726e9b
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue