diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-18 15:09:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-18 15:09:13 +0300 |
commit | 1363ca12f1f07c634647cf55c4c16b7401098673 (patch) | |
tree | d932caf09c8148322edb51ae954ed159ff7d00f8 /lib | |
parent | 6763d2787670bc03a36a8eb601703e88fc70dece (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/pipeline/seed/build/cache.rb | 2 | ||||
-rw-r--r-- | lib/gitlab/ci/variables/collection/item.rb | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/ci/pipeline/seed/build/cache.rb b/lib/gitlab/ci/pipeline/seed/build/cache.rb index 7671035b896..a4127ea0be2 100644 --- a/lib/gitlab/ci/pipeline/seed/build/cache.rb +++ b/lib/gitlab/ci/pipeline/seed/build/cache.rb @@ -51,8 +51,6 @@ module Gitlab end def hash_of_the_latest_changes - return unless Feature.enabled?(:ci_file_based_cache, @pipeline.project, default_enabled: true) - ids = files.map { |path| last_commit_id_for_path(path) } ids = ids.compact.sort.uniq diff --git a/lib/gitlab/ci/variables/collection/item.rb b/lib/gitlab/ci/variables/collection/item.rb index aab10aef398..a072036daa8 100644 --- a/lib/gitlab/ci/variables/collection/item.rb +++ b/lib/gitlab/ci/variables/collection/item.rb @@ -37,7 +37,7 @@ module Gitlab case resource when Hash self.new(resource.symbolize_keys) - when ::HasVariable + when ::Ci::HasVariable self.new(resource.to_runner_variable) when self resource.dup |