We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13e1447 commit 0a8ec8cCopy full SHA for 0a8ec8c
1 file changed
analytics/dev/init-gitlab.sh
@@ -1,5 +1,13 @@
1
#!/bin/bash
2
3
+# Wait for gitlab to be up
4
+echo "Waiting for GitLab..."
5
+until curl -s -f -o /dev/null "http://localhost:8080/-/readiness"
6
+do
7
+ sleep 5
8
+done
9
+echo "Done."
10
+
11
# Set root user password + create a personal access token for it
12
PERSONAL_ACCESS_TOKEN="insecure_token"
13
docker compose exec gitlab gitlab-rails runner " \
0 commit comments