diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-11 09:10:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-11 09:10:29 +0300 |
commit | 990b7413bc68bab8aea2aac06c45e31264e26b22 (patch) | |
tree | 18f1e06363681081a2a8a1f1b5b2e3e240478d59 /lib/gitlab/ci/yaml_processor | |
parent | 426c8dc441a364a54d5bb0c9b7242adb833577b2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/yaml_processor')
-rw-r--r-- | lib/gitlab/ci/yaml_processor/result.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/ci/yaml_processor/result.rb b/lib/gitlab/ci/yaml_processor/result.rb index cd7d781a574..86749cda9c7 100644 --- a/lib/gitlab/ci/yaml_processor/result.rb +++ b/lib/gitlab/ci/yaml_processor/result.rb @@ -53,6 +53,10 @@ module Gitlab @stages ||= @ci_config.stages end + def included_templates + @included_templates ||= @ci_config.included_templates + end + def build_attributes(name) job = jobs.fetch(name.to_sym, {}) |