We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent19242c3 commit3834d9cCopy full SHA for 3834d9c
tools/build_test_env.sh
@@ -141,20 +141,13 @@ while :; do
141
sleep 1
142
docker top gitlab-test>/dev/null2>&1|| fatal"docker failed to start"
143
sleep 4
144
-# last command started by the container is "gitlab-ctl tail"
145
- dockerexec gitlab-test pgrep -f'gitlab-ctl tail'&>/dev/null \
146
-&& dockerexec gitlab-test curl http://localhost/-/health2>/dev/null \
147
-| grep -q'GitLab OK' \
148
-&& curl -s http://localhost:8080/users/sign_in2>/dev/null \
149
-| grep -q"GitLab Community Edition" \
+ docker logs gitlab-test2>&1| grep"gitlab Reconfigured!" \
150
&&break
151
I=$((I+5))
+ log"Waiting for GitLab to reconfigure.. (${I}s)"
152
["$I"-lt 180 ]|| fatal"timed out"
153
done
154
155
-log"Pausing to give GitLab some time to finish starting up..."
156
-sleep 200
157
-
158
# Get the token
159
TOKEN=$($(dirname$0)/generate_token.py)
160