Skip to content

Commit

Permalink
add docker version
Browse files Browse the repository at this point in the history
  • Loading branch information
brankologeecom committed Dec 17, 2024
1 parent 54652e6 commit 8a60294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
- name: Initiate Dockware
run: |
docker pull dockware/dev:6.6.7.0
docker run --rm -p 443:443 --name shopware6 \
docker run --rm -p 80:80 --name shopware6 \
--mount type=bind,source="$(pwd)",target=/data/extensions/workdir \
--env PHP_VERSION=8.2 -d dockware/dev:6.6.7.0
sleep 30
docker logs shopware6
docker exec shopware6 bash -c "sudo mysql -u root -proot shopware -e \"UPDATE sales_channel_domain SET url='https://local.shopware.shop' WHERE url NOT LIKE 'default.%';\""
docker exec shopware6 bash -c "sudo mysql -u root -proot shopware -e \"UPDATE sales_channel_domain SET url='http://local.shopware.shop' WHERE url NOT LIKE 'default.%';\""
docker exec shopware6 bash -c \
"sudo mysql -u root -proot shopware -e \"SELECT @RULE_ID := id FROM rule WHERE name = 'All customers'; UPDATE shipping_method SET availability_rule_id = @RULE_ID;\""
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Run E2E Tests
run: docker compose -f .github/workflows/templates/docker-compose.playwright.yml run --rm playwright /e2e.sh
env:
SHOPWARE_BASE_URL: "https://local.shopware.shop"
SHOPWARE_BASE_URL: "http://local.shopware.shop"
PAYPAL_USERNAME: ${{secrets.PLAYWRIGHT_PAYPAL_USERNAME}}
PAYPAL_PASSWORD: ${{secrets.PLAYWRIGHT_PAYPAL_PASSWORD}}

Expand Down

0 comments on commit 8a60294

Please sign in to comment.