From 999a4a71f9df2d35a423cbd226172e20716916c1 Mon Sep 17 00:00:00 2001 From: Michiel Gerritsen Date: Wed, 7 Aug 2024 13:50:45 +0200 Subject: [PATCH] docker-compose -> docker compose --- .github/workflows/end-2-end-test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/end-2-end-test.yml b/.github/workflows/end-2-end-test.yml index 09d8806bb19..d9a1c9f8c30 100644 --- a/.github/workflows/end-2-end-test.yml +++ b/.github/workflows/end-2-end-test.yml @@ -73,9 +73,9 @@ jobs: - name: Start the Magento container run: | openssl req -x509 -newkey rsa:4096 -keyout .github/workflows/templates/nginx-proxy/magento.test.key -out .github/workflows/templates/nginx-proxy/magento.test.crt -days 365 -nodes -subj "/CN=magento.test" && \ - docker-compose -f .github/workflows/templates/docker-compose.yml up -d + docker compose -f .github/workflows/templates/docker-compose.yml up -d # Get the URL from ngrok - docker-compose -f .github/workflows/templates/docker-compose.yml logs ngrok + docker compose -f .github/workflows/templates/docker-compose.yml logs ngrok MAGENTO_URL=$(docker exec magento-project-community-edition /bin/bash -c "curl -s ngrok:4040/api/tunnels |jq -r \".tunnels[0].public_url\"") echo "magento_url=$MAGENTO_URL" >> $GITHUB_ENV @@ -118,9 +118,9 @@ jobs: - name: Dump docker-compose logs if: always() run: | - docker-compose -f .github/workflows/templates/docker-compose.yml logs magento > magento.log && \ - docker-compose -f .github/workflows/templates/docker-compose.yml logs ngrok > ngrok.log && \ - docker-compose -f .github/workflows/templates/docker-compose.yml logs e2e > e2e.log + docker compose -f .github/workflows/templates/docker-compose.yml logs magento > magento.log && \ + docker compose -f .github/workflows/templates/docker-compose.yml logs ngrok > ngrok.log && \ + docker compose -f .github/workflows/templates/docker-compose.yml logs e2e > e2e.log - name: Upload artifacts uses: actions/upload-artifact@v3