diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-21 23:17:50 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-21 23:17:50 +0300 |
commit | 3e96b6ff7f7c8acc4f4df201ec21a89c9d113386 (patch) | |
tree | 5a20e7f555cdbe17d4d01da312f83feb47de16e1 /app | |
parent | ec586042e0f23696f0b3b34a7e7d5bf7c36ea2c7 (diff) |
Deprecate legacy CI/CD status helpers
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/ci_status_helper.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb index 7101c844056..32b1e7822af 100644 --- a/app/helpers/ci_status_helper.rb +++ b/app/helpers/ci_status_helper.rb @@ -1,10 +1,16 @@ +## +# DEPRECATED +# +# These helpers are deprecated in favor of detailed CI/CD statuses. +# +# See 'detailed_status?` method and `Gitlab::Ci::Status` module. +# module CiStatusHelper def ci_status_path(pipeline) project = pipeline.project namespace_project_pipeline_path(project.namespace, project, pipeline) end - # Is used by Commit and Merge Request Widget def ci_label_for_status(status) if detailed_status?(status) return status.label |