mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
avoid dind setup for now - test direct shell execution (pkgs may be required)
This commit is contained in:
parent
9438327ba1
commit
7255d01c77
1 changed files with 7 additions and 8 deletions
|
|
@ -36,16 +36,15 @@ test:
|
|||
# Start E2E environment
|
||||
e2e-environment:
|
||||
stage: e2e-setup
|
||||
image: docker:latest
|
||||
services:
|
||||
- docker:dind
|
||||
variables:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
script:
|
||||
- docker compose -f docker-compose.test.yml up -d --build
|
||||
# Wait for ditto instance to become active
|
||||
- end=$((SECONDS + 30)); while [[ $SECONDS -lt $end ]] && ! curl http://localhost:4036; do echo "Waiting for localhost:4036..."; sleep 1; echo $SECONDS ; done
|
||||
# Generate dynamic child pipeline configuration
|
||||
- end=$((SECONDS + 30))
|
||||
- |
|
||||
while [[ $SECONDS -lt $end ]] && ! curl -fs http://localhost:4036 >/dev/null; do
|
||||
echo "Waiting for localhost:4036..."
|
||||
sleep 1
|
||||
done
|
||||
# Generate dynamic child pipeline config
|
||||
- |
|
||||
cat > child-pipeline.yml << EOF
|
||||
playwright-tests:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue