From b807a130a5461ddc482cb49abbda17ff0a4c3c75 Mon Sep 17 00:00:00 2001 From: "Liopold D. Novelli" Date: Tue, 5 Nov 2024 12:03:24 +0100 Subject: [PATCH] chore: LDP-2563: Use docker compose instead of docker-compose. --- .github/workflows/test-drupal-setup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-drupal-setup.yml b/.github/workflows/test-drupal-setup.yml index 8691841dd..9c85fe513 100644 --- a/.github/workflows/test-drupal-setup.yml +++ b/.github/workflows/test-drupal-setup.yml @@ -31,7 +31,7 @@ jobs: run: | DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} mkdir -p $DOCKER_CONFIG/cli-plugins - curl -SL https://github.com/docker/compose/releases/download/v2.15.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose + curl -SL https://github.com/docker/compose/releases/download/v2.30.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose docker compose version - name: Install composer dependencies. @@ -47,7 +47,7 @@ jobs: shell: 'script -q -e -c "bash {0}"' run: | export COMPOSE_DEFAULT_USER=$(id -u $USER) - docker-compose up -d + docker compose up -d echo "Waiting for mysql to come up..." && docker exec -it $(docker compose ps -q cli) /bin/bash -c "while ! echo exit | nc mariadb 3306; do sleep 1; done" >/dev/null - name: Install the project shell: 'script -q -e -c "bash {0}"'