Commit cfab5a81 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '211477-remove-ci_file_based_cache-feature-flag' into 'master'

Remove ci_file_based_cache feature flag

See merge request gitlab-org/gitlab!27406
parents 3850d88e aedb50c4
......@@ -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
......
......@@ -83,16 +83,6 @@ describe Gitlab::Ci::Pipeline::Seed::Build::Cache do
it_behaves_like 'version and gemfile files'
end
context 'with feature flag disabled' do
let(:files) { ['VERSION', 'Gemfile.zip'] }
before do
stub_feature_flags(ci_file_based_cache: false)
end
it_behaves_like 'default key'
end
context 'with files ending with /' do
let(:files) { ['Gemfile.zip/'] }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment