Commit a5e4108a authored by Jason Plum's avatar Jason Plum

Merge branch 'fix-failing-runner' into 'master'

Try and fix the failing eks spec tests

See merge request charts/gitlab!761
parents 20912821 59112f8d
Pipeline #56913498 failed with stages
in 3 minutes and 26 seconds
......@@ -106,7 +106,7 @@ module Gitlab
def set_runner_token
rails_dir = ENV['RAILS_DIR'] || '/srv/gitlab'
cmd = full_command("#{rails_dir}/bin/rails runner \"settings = ApplicationSetting.current; settings.set_runners_registration_token('#{runner_registration_token}'); settings.save!; ApplicationSetting.expire \"")
cmd = full_command("#{rails_dir}/bin/rails runner \"settings = ApplicationSetting.current_without_cache; settings.set_runners_registration_token('#{runner_registration_token}'); settings.save!; ApplicationSetting.expire \"")
stdout, status = Open3.capture2e(cmd)
return [stdout, status]
......
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