dabd91b2c8
This adds the rake task rake gitlab:cleanup:orphan_job_artifact_files. This rake task cleans all orphan job artifact files it can find on disk. It performs a search on the complete folder of all artifacts on disk. Then it filters out all the job artifact ID for which it could not find a record with matching ID in the database. For these, the file is deleted from disk. |
||
---|---|---|
.. | ||
artifacts | ||
lfs | ||
uploads | ||
assets.rake | ||
backup.rake | ||
bulk_add_permission.rake | ||
check.rake | ||
cleanup.rake | ||
db.rake | ||
dev.rake | ||
exclusive_lease.rake | ||
features.rake | ||
git.rake | ||
gitaly.rake | ||
helpers.rake | ||
import.rake | ||
import_export.rake | ||
info.rake | ||
ldap.rake | ||
list_repos.rake | ||
pages.rake | ||
seed.rake | ||
setup.rake | ||
shell.rake | ||
storage.rake | ||
tcp_check.rake | ||
test.rake | ||
traces.rake | ||
track_deployment.rake | ||
two_factor.rake | ||
update_templates.rake | ||
web_hook.rake | ||
workhorse.rake |