diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-14 22:45:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-14 22:45:29 +0300 |
commit | b9fe665d2539f53fb86771383e18f9045db52414 (patch) | |
tree | 7e55fcd9b4dc27f3cb13651ce1c03146c592e483 /lib/gitlab/cleanup | |
parent | dd22031c62b54a03909b7be829f85032e556a031 (diff) |
Add latest changes from gitlab-org/gitlab@14-8-stable-ee
Diffstat (limited to 'lib/gitlab/cleanup')
-rw-r--r-- | lib/gitlab/cleanup/orphan_job_artifact_files.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitlab/cleanup/orphan_job_artifact_files.rb b/lib/gitlab/cleanup/orphan_job_artifact_files.rb index 05dfdcd4486..90123b9d000 100644 --- a/lib/gitlab/cleanup/orphan_job_artifact_files.rb +++ b/lib/gitlab/cleanup/orphan_job_artifact_files.rb @@ -99,6 +99,9 @@ module Gitlab # ^--+--+- components of hashed storage project path cmd += %w[-mindepth 6 -maxdepth 6] + # Intentionally exclude pipeline artifacts which match the same path + cmd += %w[-not -path */pipelines/*] + # Artifact directories are named on their ID cmd += %w[-type d] |