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:
Diffstat (limited to 'lib/gitlab/ci/yaml_processor/result.rb')
-rw-r--r--lib/gitlab/ci/yaml_processor/result.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/ci/yaml_processor/result.rb b/lib/gitlab/ci/yaml_processor/result.rb
index f14279dca2d..576fb509d47 100644
--- a/lib/gitlab/ci/yaml_processor/result.rb
+++ b/lib/gitlab/ci/yaml_processor/result.rb
@@ -103,10 +103,6 @@ module Gitlab
}.compact }.compact
end
- def merged_yaml
- @ci_config&.to_hash&.deep_stringify_keys&.to_yaml
- end
-
def variables_with_data
@ci_config.variables_with_data
end
@@ -127,6 +123,10 @@ module Gitlab
jobs.dig(job_name, :stage)
end
+ def config_metadata
+ @ci_config&.metadata || {}
+ end
+
private
def variables