Add cron_job for pruning of stale runners
What does this MR do?
This MR adds a EE-only cronjob for a worker that will regularly prune stale CI runners from the database.
Related issues
gitlab-org/gitlab#361112 (closed)
Checklist
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion.
Required
-
Merge Request Title and Description are up to date, accurate, and descriptive -
MR targeting the appropriate branch -
MR has a green pipeline on GitLab.com
Expected (please provide an explanation if not completing)
-
Test plan indicating conditions for success has been posted and passes -
Documentation created/updated - I've looked at past commits adding settings to this area and they don't seem to add new documentation
-
Tests added - I've looked at past commits adding settings to this area and they don't seem to add new tests
-
Integration tests added to GitLab QA - I don't know whether this is something we test in GitLab QA
-
Equivalent MR/issue for omnibus-gitlab opened: gitlab-org/omnibus-gitlab!6094 (merged)
Edited by Pedro Pombeiro