File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,9 @@ default:
31
31
- mkdir -p $PIP_CACHE_DIR
32
32
- python3 -m pip install localstack awscli awscli-local
33
33
- docker pull localstack/localstack-pro:latest
34
- - dind_ip="$(getent hosts docker | cut -d' ' -f1)"
35
- - echo "${dind_ip} localhost.localstack.cloud " >> /etc/hosts
34
+ # Gitlab has changed to ipv6, but LocalStack not supporting it
35
+ - dind_ip="$(getent ahostsv4 docker | cut -d' ' -f1 | head -n1)"
36
+ - echo -e "${dind_ip}\tlocalhost.localstack.cloud\n" >> /etc/hosts
36
37
- localstack start -d
37
38
- localstack wait -t 30
38
39
- (test -f ./ls-state-pod.zip && localstack state import ./ls-state-pod.zip) || true
@@ -57,7 +58,6 @@ deploy:
57
58
script :
58
59
- ./bin/deploy.sh
59
60
- localstack state export ./ls-state-pod.zip
60
- - localstack logs
61
61
62
62
test :
63
63
stage : test
69
69
- .circleci/*
70
70
- .github/*
71
71
- when : always
72
+ needs :
73
+ - deploy
72
74
before_script :
73
75
- *default_before_scripts
74
76
- python3 -m pip install -r requirements-dev.txt
You can’t perform that action at this time.
0 commit comments