Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-03 00:11:07 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-03 00:11:07 +0300
commiteb1755b2d90efcc161774f66ccd2317ad4c471de (patch)
tree9404125b4bec27588f2a479470e46a27043d94f0 /app/presenters
parentbf2439c21308c74e437b872180046b39a61734b5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/ci/build_runner_presenter.rb4
-rw-r--r--app/presenters/dev_ops_report/metric_presenter.rb2
2 files changed, 6 insertions, 0 deletions
diff --git a/app/presenters/ci/build_runner_presenter.rb b/app/presenters/ci/build_runner_presenter.rb
index dbb77143e2e..769b793ee75 100644
--- a/app/presenters/ci/build_runner_presenter.rb
+++ b/app/presenters/ci/build_runner_presenter.rb
@@ -32,6 +32,10 @@ module Ci
end.to_i
end
+ def runner_variables
+ variables.to_runner_variables
+ end
+
def refspecs
specs = []
specs << refspec_for_persistent_ref if persistent_ref_exist?
diff --git a/app/presenters/dev_ops_report/metric_presenter.rb b/app/presenters/dev_ops_report/metric_presenter.rb
index e7363293435..b31dfd25a87 100644
--- a/app/presenters/dev_ops_report/metric_presenter.rb
+++ b/app/presenters/dev_ops_report/metric_presenter.rb
@@ -2,6 +2,8 @@
module DevOpsReport
class MetricPresenter < Gitlab::View::Presenter::Simple
+ delegate :created_at, to: :subject
+
def cards
[
Card.new(