Commit da8c9ccd authored by 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
parents e9af15f5 93b0f362
...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment