Commit e8422176 authored by Stan Hu's avatar Stan Hu

Merge branch 'pl-rubocop-absolute-cache-root-dir' into 'master'

RuboCop: Use absolute path for cache root directory

See merge request gitlab-org/gitlab!68556
parents 8a46fff8 3fb80d56
...@@ -38,7 +38,8 @@ AllCops: ...@@ -38,7 +38,8 @@ AllCops:
- 'workhorse/**/*' - 'workhorse/**/*'
- 'spec/support/*.git/**/*' # e.g. spec/support/gitlab-git-test.git - 'spec/support/*.git/**/*' # e.g. spec/support/gitlab-git-test.git
- 'db/ci_migrate/*.rb' # since the `db/ci_migrate` is a symlinked to `db/migrate` - 'db/ci_migrate/*.rb' # since the `db/ci_migrate` is a symlinked to `db/migrate`
CacheRootDirectory: tmp # Use absolute path to avoid orphan directories with changed workspace root.
CacheRootDirectory: <%= Dir.getwd %>/tmp
MaxFilesInCache: 25000 MaxFilesInCache: 25000
Cop/AvoidKeywordArgumentsInSidekiqWorkers: Cop/AvoidKeywordArgumentsInSidekiqWorkers:
......
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