diff options
Diffstat (limited to 'app/helpers/ci/status_helper.rb')
-rw-r--r-- | app/helpers/ci/status_helper.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/helpers/ci/status_helper.rb b/app/helpers/ci/status_helper.rb index 21d982d42bc..5ff8ce74866 100644 --- a/app/helpers/ci/status_helper.rb +++ b/app/helpers/ci/status_helper.rb @@ -9,11 +9,6 @@ # module Ci module StatusHelper - def ci_status_for_statuseable(subject) - status = subject.try(:status) || 'not found' - status.humanize - end - # rubocop:disable Metrics/CyclomaticComplexity def ci_icon_for_status(status, size: 24) icon_name = @@ -56,10 +51,6 @@ module Ci end # rubocop:enable Metrics/CyclomaticComplexity - def pipeline_status_cache_key(pipeline_status) - "pipeline-status/#{pipeline_status.sha}-#{pipeline_status.status}" - end - def render_commit_status(commit, status, ref: nil, tooltip_placement: 'left') project = commit.project path = pipelines_project_commit_path(project, commit, ref: ref) |