1234567891011121314 | # gitlab-rails consoleCi::Runner.all.update_all(token_encrypted: nil)exit$ gitlab-rails dbconsoleUPDATE projects SET runners_token = null, runners_token_encrypted = null;# 将所有项目的runners_token和runners_token_encrypted字段设置为null。UPDATE namespaces SET runners_token = null, runners_token_encrypted = null;# 将所有命名空间(例如用户或组)的runners_token和runners_token_encrypted字段设置为null。UPDATE application_settings SET runners_registration_token_encrypted = null;# 将GitLab应用程序设置中的runners_registration_token_encrypted字段设置为null。 |
---|