Add back sleep

This commit is contained in:
Justin 2018-07-23 21:52:11 -04:00
parent b5a6e8a2eb
commit f4f1aeefd1

View File

@ -30,7 +30,8 @@ jobs:
- docker-compose -f docker-compose.test.yml up -d
## Test for liveness
- docker exec -it gitlab bash -lc 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost/-/readiness)" != "200" ]]; do sleep 5; done'
# - docker exec -it gitlab bash -lc 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost/-/readiness)" != "200" ]]; do sleep 5; done'
- sleep 240
- export PERSONAL_ACCESS_TOKEN=$(docker exec -it gitlab bash -lc 'printf "%q" "${PERSONAL_ACCESS_TOKEN}"')
- export GITLAB_URL=$(docker exec -it gitlab bash -lc 'printf "%q" "${GITLAB_URL}"')