Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
aedb50c4
Commit
aedb50c4
authored
Mar 17, 2020
by
Marius Bobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ci_file_based_cache feature flag
parent
5c32fdaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
lib/gitlab/ci/pipeline/seed/build/cache.rb
lib/gitlab/ci/pipeline/seed/build/cache.rb
+0
-2
spec/lib/gitlab/ci/pipeline/seed/build/cache_spec.rb
spec/lib/gitlab/ci/pipeline/seed/build/cache_spec.rb
+0
-10
No files found.
lib/gitlab/ci/pipeline/seed/build/cache.rb
View file @
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
...
...
spec/lib/gitlab/ci/pipeline/seed/build/cache_spec.rb
View file @
aedb50c4
...
...
@@ -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/'
]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment