Commit 3f2d907d authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'remove-ci-job-heartbeats-runner' into 'master'

Remove `ci_job_heartbeats_runner` feature flag

See merge request gitlab-org/gitlab!43550
parents 3dc1f8d4 4cc34c63
---
name: ci_job_heartbeats_runner
introduced_by_url:
rollout_issue_url:
group:
type: development
default_enabled: true
...@@ -51,9 +51,7 @@ module API ...@@ -51,9 +51,7 @@ module API
job_forbidden!(job, 'Job is not running') unless job.running? job_forbidden!(job, 'Job is not running') unless job.running?
end end
if Gitlab::Ci::Features.job_heartbeats_runner?(job.project) job.runner&.heartbeat(get_runner_ip)
job.runner&.heartbeat(get_runner_ip)
end
job job
end end
......
...@@ -10,10 +10,6 @@ module Gitlab ...@@ -10,10 +10,6 @@ module Gitlab
::Feature.enabled?(:ci_artifacts_exclude, default_enabled: true) ::Feature.enabled?(:ci_artifacts_exclude, default_enabled: true)
end end
def self.job_heartbeats_runner?(project)
::Feature.enabled?(:ci_job_heartbeats_runner, project, default_enabled: true)
end
def self.instance_variables_ui_enabled? def self.instance_variables_ui_enabled?
::Feature.enabled?(:ci_instance_variables_ui, default_enabled: true) ::Feature.enabled?(:ci_instance_variables_ui, default_enabled: true)
end end
......
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