summaryrefslogtreecommitdiff
path: root/doc/administration/troubleshooting
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 06:09:25 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 06:09:25 +0000
commitbe660fe1d28a65ad61be24c71e66ae90f6488dc4 (patch)
treec8d67940cb85fb50035a197bf1caf455aed528b6 /doc/administration/troubleshooting
parent07d0374b204881f2bd64ed897e4bbab19f180cc9 (diff)
downloadgitlab-ce-be660fe1d28a65ad61be24c71e66ae90f6488dc4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/troubleshooting')
-rw-r--r--doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md b/doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
index a4180eb638a..d1aefb3219c 100644
--- a/doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
+++ b/doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
@@ -838,6 +838,12 @@ Project.all.each do |p|
end
```
+### Obtain runners registration token
+
+```ruby
+Gitlab::CurrentSettings.current_application_settings.runners_registration_token
+```
+
## License
### See license plan name (since v9.3.0-ee)