Artifacts are not deleted
Hello guys,
i'm facing the issue, that old artifacts are not deleted after they reached the "Default artifacts expiration". I set it to "3 mins 4 sec".
- Gitlab Version: CE 10.5.3
- Sidekiq cron: enabled
- Sidekiq cron: gitlab_rails['expire_build_artifacts_worker_cron'] = "45 * * * *"
The cron is active and running. After i changed the expiration range in the admin interface, i reconfigured and restartet the gitlab instance.
less /var/log/gitlab/gitlab-rails/sidekiq.log
(...)
2018-03-19_12:45:35.16040 2018-03-19T12:45:35.160Z 5492 TID-orr9b7vhw ExpireBuildArtifactsWorker JID-6c0e1954017937ac1f04c8a4 INFO: start
2018-03-19_12:45:35.19160 2018-03-19T12:45:35.191Z 5492 TID-orr9b7vhw ExpireBuildArtifactsWorker JID-6c0e1954017937ac1f04c8a4 INFO: done: 0.031 sec
(...)
root@host:/var/opt/gitlab/gitlab-rails/shared/artifacts/6b/86/6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b# ll
total 0
drwxr-xr-x 4 git git 42 Mar 19 11:31 ./
drwxr-xr-x 3 git git 78 Mar 14 15:52 ../
drwxr-xr-x 5 git git 33 Mar 16 12:53 2018_03_16/
drwxr-xr-x 4 git git 26 Mar 19 12:38 2018_03_19/
What am i doing wrong?
Edited by gcommit