Difference between revisions of "Check gitlab status.sh"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
#!/bin/bash | #!/bin/bash | ||
[[gitlab-ctl status]] | [[gitlab-ctl status]] | ||
Line 5: | Line 6: | ||
curl -s http://localhost/-/readiness | [[jq]] | curl -s http://localhost/-/readiness | [[jq]] | ||
curl -s http://localhost/-/liveness | [[jq]] | curl -s http://localhost/-/liveness | [[jq]] | ||
− | # | + | |
+ | # gitlab-rake gitlab:check may take a minute | ||
[[gitlab-rake gitlab:check]] | [[gitlab-rake gitlab:check]] | ||
== Related == | == Related == | ||
* [[Upgrade GitLab]] | * [[Upgrade GitLab]] | ||
+ | * [[GitLab logs]] | ||
+ | * <code>[[gitlab-ctl status]]</code> | ||
+ | * <code>[[gitlab-ctl restart]]</code> | ||
== See also == | == See also == | ||
− | * {{GitLab}} | + | * {{Upgrade GitLab}} |
[[Category:GitLab]] | [[Category:GitLab]] |
Latest revision as of 21:41, 2 October 2022
#!/bin/bash gitlab-ctl status curl -w "\n" http://localhost/-/health curl -s http://localhost/-/readiness | jq curl -s http://localhost/-/liveness | jq # gitlab-rake gitlab:check may take a minute gitlab-rake gitlab:check
Related[edit]
See also[edit]
Advertising: