Skip to content

Commit

Permalink
docker-compose -> docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
michielgerritsen committed Aug 7, 2024
1 parent ba5a27e commit 999a4a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/end-2-end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 999a4a7

Please sign in to comment.