# gitlab-rails console Ci::Runner.all.upda <!--more--> te_all(token_encrypted: nil) exit $ gitlab-rails dbconsole UPDATE 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。

References

最后修改:2024 年 09 月 05 日
如果觉得我的文章对你有用,请随意赞赏