Commit aedb50c4 authored by Marius Bobin's avatar Marius Bobin

Remove ci_file_based_cache feature flag

parent 5c32fdaf
...@@ -51,8 +51,6 @@ module Gitlab ...@@ -51,8 +51,6 @@ module Gitlab
end end
def hash_of_the_latest_changes 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 = files.map { |path| last_commit_id_for_path(path) }
ids = ids.compact.sort.uniq ids = ids.compact.sort.uniq
......
...@@ -83,16 +83,6 @@ describe Gitlab::Ci::Pipeline::Seed::Build::Cache do ...@@ -83,16 +83,6 @@ describe Gitlab::Ci::Pipeline::Seed::Build::Cache do
it_behaves_like 'version and gemfile files' it_behaves_like 'version and gemfile files'
end 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 context 'with files ending with /' do
let(:files) { ['Gemfile.zip/'] } 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