Skip to content
代码片段 群组 项目
提交 da8c9ccd 编辑于 作者: Achilleas Pipinellis's avatar Achilleas Pipinellis
浏览文件

Merge branch 'gil.b-master-patch-79426' into 'master'

Added gitlab-rails cheatsheet commands to update the runners registration token

See merge request gitlab-org/gitlab!77153
No related branches found
No related tags found
无相关合并请求
...@@ -909,6 +909,14 @@ end ...@@ -909,6 +909,14 @@ end
Gitlab::CurrentSettings.current_application_settings.runners_registration_token Gitlab::CurrentSettings.current_application_settings.runners_registration_token
``` ```
### Seed runners registration token
```ruby
appSetting = Gitlab::CurrentSettings.current_application_settings
appSetting.set_runners_registration_token('<new-runners-registration-token>')
appSetting.save!
```
### Run pipeline schedules manually ### Run pipeline schedules manually
You can run pipeline schedules manually through the Rails console to reveal any errors that are usually not visible. You can run pipeline schedules manually through the Rails console to reveal any errors that are usually not visible.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册