Commit 9be8d605 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'patch-253' into 'master'

Clarify that artifact folders are also deleted by orphan_job_artifact_files Rake

See merge request gitlab-org/gitlab!44954
parents 0338e978 0bea7aab
...@@ -146,7 +146,7 @@ NOTE: **Note:** ...@@ -146,7 +146,7 @@ NOTE: **Note:**
These commands will not work for artifacts stored on These commands will not work for artifacts stored on
[object storage](../administration/object_storage.md). [object storage](../administration/object_storage.md).
When you notice there are more job artifacts files on disk than there When you notice there are more job artifacts files and/or directories on disk than there
should be, you can run: should be, you can run:
```shell ```shell
...@@ -157,7 +157,7 @@ This command: ...@@ -157,7 +157,7 @@ This command:
- Scans through the entire artifacts folder. - Scans through the entire artifacts folder.
- Checks which files still have a record in the database. - Checks which files still have a record in the database.
- If no database record is found, the file is deleted from disk. - If no database record is found, the file and directory is deleted from disk.
By default, this task does not delete anything but shows what it can By default, this task does not delete anything but shows what it can
delete. Run the command with `DRY_RUN=false` if you actually want to delete. Run the command with `DRY_RUN=false` if you actually want to
......
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