Skip to content
Snippets Groups Projects
Commit 7263ff17 authored by Balasankar 'Balu' C's avatar Balasankar 'Balu' C
Browse files

Merge branch 'pedropombeiro/358406/add-worker-cronjob' into 'master'

Add ci_runner_versions_reconciliation_worker setting

See merge request gitlab-org/omnibus-gitlab!6198
parents 6644b764 bd9d0523
No related branches found
No related tags found
1 merge request!81Merged upstream 15.3.0+rc42.ce.0 into heptapod branch
......@@ -184,6 +184,7 @@
# gitlab_rails['ssh_keys_expired_notification_worker_cron'] = "0 2 * * *"
# gitlab_rails['ssh_keys_expiring_soon_notification_worker_cron'] = "0 1 * * *"
# gitlab_rails['loose_foreign_keys_cleanup_worker_cron'] = "*/5 * * * *"
# gitlab_rails['ci_runner_versions_reconciliation_worker_cron'] = "20 * * * *"
### Webhook Settings
###! Number of seconds to wait for HTTP response after sending webhook HTTP POST
......
......@@ -183,6 +183,7 @@
default['gitlab']['gitlab-rails']['ssh_keys_expiring_soon_notification_worker_cron'] = nil
default['gitlab']['gitlab-rails']['ci_runners_stale_group_runners_prune_worker_cron'] = nil
default['gitlab']['gitlab-rails']['ci_runner_versions_reconciliation_worker_cron'] = nil
# Consolidated object storage config
default['gitlab']['gitlab-rails']['object_store']['enabled'] = false
......
......@@ -550,6 +550,12 @@
cron: "<%= @loose_foreign_keys_cleanup_worker_cron %>"
<% end %>
# Periodically update ci_runner_versions table with up-to-date versions and status
<% unless @ci_runner_versions_reconciliation_worker_cron.nil? %>
ci_runner_versions_reconciliation_worker:
cron: "<%= @ci_runner_versions_reconciliation_worker_cron %>"
<% end %>
##
# GitLab EE only jobs:
......
......@@ -50,6 +50,7 @@
'ssh_keys_expiring_soon_notification_worker' | 'ssh_keys_expiring_soon_notification_worker_cron'
'loose_foreign_keys_cleanup_worker' | 'loose_foreign_keys_cleanup_worker_cron'
'ci_runners_stale_group_runners_prune_worker_cron' | 'ci_runners_stale_group_runners_prune_worker_cron'
'ci_runner_versions_reconciliation_worker' | 'ci_runner_versions_reconciliation_worker_cron'
end
with_them do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment