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 463b41e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,18 @@ default:
- python3 -m pip install localstack awscli awscli-local
- docker pull localstack/localstack-pro:latest
- dind_ip="$(getent hosts docker | cut -d' ' -f1)"
- echo "${dind_ip} localhost.localstack.cloud " >> /etc/hosts
- echo "${dind_ip}\tlocalhost.localstack.cloud\n" >> /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
- docker ps
- cat /etc/hosts
- curl http://docker:4566/_localstack/health
- curl http://docker:4566/_localstack/diagnose
- curl http://localhost.localstack.cloud:4566/_localstack/health
- curl http://localhost.localstack.cloud:4566/_localstack/diagnose
- curl http://docker:4566/_localstack/diagnose
cache:
paths:
- $CI_PROJECT_DIR/.cache/pip
Expand All @@ -57,7 +65,6 @@ deploy:
script:
- ./bin/deploy.sh
- localstack state export ./ls-state-pod.zip
- localstack logs

test:
stage: test
Expand Down

0 comments on commit 463b41e

Please sign in to comment.