From 9c3c72c3ea4d76dce79bf3d79c7b56748dc305c4 Mon Sep 17 00:00:00 2001 From: lakkeger Date: Fri, 17 May 2024 13:49:11 +0200 Subject: [PATCH] fix(ci:gitlab): increase wait timeout on LS start --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e72834c..d077927 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,8 +34,9 @@ default: - dind_ip="$(getent hosts docker | cut -d' ' -f1)" - echo "${dind_ip} localhost.localstack.cloud " >> /etc/hosts - localstack start -d - - localstack wait -t 30 + - localstack wait -t 90 - (test -f ./ls-state-pod.zip && localstack state import ./ls-state-pod.zip) || true + - localstack logs cache: paths: - $CI_PROJECT_DIR/.cache/pip @@ -58,6 +59,9 @@ deploy: - ./bin/deploy.sh - localstack state export ./ls-state-pod.zip - localstack logs + - docker ps + - curl http://localhost.localstack.cloud:4566/_localstack/health + - curl http://localhost.localstack.cloud:4566/_localstack/diagnose test: stage: test