summaryrefslogtreecommitdiff
path: root/lib/gitlab/cleanup
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-311-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-251-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-231-0/+69
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-151-5/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-132-0/+4
|
* Avoid calling freeze on already frozen strings in lib/gitlabdineshpanda2019-09-041-3/+3
|
* Add a rubocop for Rails.loggerMayra Cabrera2019-07-105-5/+5
| | | | | | Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
* Add rake task to clean orphan artifact filestc-rake-orphan-artifactsToon Claes2019-06-282-0/+212
| | | | | | | | | | | 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.
* Use directories.new when getting S3 directoryJan Provaznik2018-12-271-1/+1
| | | | | | | Calling `Fog::Storage::AWS::Directories#get` requires the ListAllMyBuckets permission, but we can avoid that extra query and permission by initializing the directory with a specific bucket: https://stackoverflow.com/a/12288581/1992201
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-112-0/+8
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Merge branch '46535-orphaned-uploads' into 'master'Kamil Trzciński2018-08-071-0/+80
|\ | | | | | | | | | | | | Rake task for checking orphaned object store uploads Closes #46535 See merge request gitlab-org/gitlab-ce!20918
| * Clean orphaned files in object storageJarka Kadlecová2018-08-071-0/+80
| |
* | Add object storage related tests for `gitlab:cleanup:project_uploads` taskMichael Kozono2018-08-031-1/+1
|/
* Add local project uploads cleanup taskMichael Kozono2018-07-312-0/+191