Skip to content

Commit

Permalink
fix(ci:gitlab): increase wait timeout on LS start
Browse files Browse the repository at this point in the history
  • Loading branch information
lakkeger committed May 23, 2024
1 parent 1d1912d commit 9c3c72c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9c3c72c

Please sign in to comment.