Skip to content

Commit a45a644

Browse files
author
Johannes Otepka
committed
work-a-round fix for image already exists
1 parent 3d20d63 commit a45a644

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,14 @@ jobs:
8484
8585
- name: Set up slurm
8686
if: ${{ matrix.cluster_type == 'slurm' }}
87+
# docker build can lead to race condition -> image "docker.io/library/ipp-cluster:slurm": already exists
88+
# see https://github.com/mlflow/mlflow/pull/20779
89+
# work-a-round fix: docker compose again if first call failed
8790
run: |
8891
export DOCKER_BUILDKIT=1
8992
export COMPOSE_DOCKER_CLI_BUILD=1
9093
cd ci/slurm
91-
docker compose up -d --build
94+
docker compose up -d --build || docker compose up -d --build
9295
9396
- name: Install Python (conda) ${{ matrix.python }}
9497
if: ${{ matrix.cluster_type == 'mpi' }}

0 commit comments

Comments
 (0)