From 7255d01c77b6830bb928e4ed5dc267eb42ad7229 Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Tue, 8 Apr 2025 02:38:16 -0400 Subject: [PATCH] avoid dind setup for now - test direct shell execution (pkgs may be required) --- .gitlab-ci.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8c4f076..b010026e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: