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
job_forbidden!(job, 'Job is not running') unless job.running?
end
if Gitlab::Ci::Features.job_heartbeats_runner?(job.project)
job.runner&.heartbeat(get_runner_ip)
end
job.runner&.heartbeat(get_runner_ip)
job
end
......
......@@ -10,10 +10,6 @@ module Gitlab
::Feature.enabled?(:ci_artifacts_exclude, default_enabled: true)
end
def self.job_heartbeats_runner?(project)
::Feature.enabled?(:ci_job_heartbeats_runner, project, default_enabled: true)
end
def self.instance_variables_ui_enabled?
::Feature.enabled?(:ci_instance_variables_ui, default_enabled: true)
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