mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
Test for liveness
This commit is contained in:
parent
9763807095
commit
dfe9d2a4da
@ -29,8 +29,8 @@ jobs:
|
||||
- cd test/docker/
|
||||
- docker-compose -f docker-compose.test.yml up -d
|
||||
|
||||
## Sleep before performing commands on container
|
||||
- sleep 240
|
||||
## Test for liveness
|
||||
- docker exec -it gitlab bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost/-/liveness)" != "200" ]]; do sleep 5; done;
|
||||
|
||||
- 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}"')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user