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>2022-04-29 03:09:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-29 03:09:30 +0300
commita60762f1c9c446bcd3c53b363b5f87f31278d4cb (patch)
tree5096170da07bc49cd15aed8cd8ca6607fa879e3d /lib/gitlab/template
parentf138af0ccd6bbea99420b435248242b417f9d476 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/template')
-rw-r--r--lib/gitlab/template/gitlab_ci_yml_template.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/template/gitlab_ci_yml_template.rb b/lib/gitlab/template/gitlab_ci_yml_template.rb
index 323f59d3373..bbeeea3a25d 100644
--- a/lib/gitlab/template/gitlab_ci_yml_template.rb
+++ b/lib/gitlab/template/gitlab_ci_yml_template.rb
@@ -4,6 +4,7 @@ module Gitlab
module Template
class GitlabCiYmlTemplate < BaseTemplate
BASE_EXCLUDED_PATTERNS = [%r{\.latest\.}].freeze
+ BASE_DIR = 'lib/gitlab/ci/templates'
TEMPLATES_WITH_LATEST_VERSION = {}.freeze
@@ -45,7 +46,7 @@ module Gitlab
end
def base_dir
- Rails.root.join('lib/gitlab/ci/templates')
+ Rails.root.join(BASE_DIR)
end
def finder(project = nil)