NoMethodError: undefined method 'current_application_settings' / Build Failed #30837482
It seems that GitLab nightly is broken:
================================================================================
Error executing action `run` on resource 'execute[clear the gitlab-rails cache]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ----
STDOUT:
STDERR: rake aborted!
NoMethodError: undefined method `current_application_settings' for Gitlab::CurrentSettings:Module
/opt/gitlab/embedded/service/gitlab-rails/lib/api/groups.rb:13:in `block (2 levels) in <class:Groups>'
Found by GitLab QA: https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/30837482