File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed
spec/chef/cookbooks/gitlab/recipes/gitlab-rails/gitlab_yml Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -935,7 +935,7 @@ external_url 'GENERATED_EXTERNAL_URL'
935
935
936
936
### Registry database
937
937
###! Docs: https://docs.gitlab.com/ee/administration/packages/container_registry.html?tab=Linux+package+%28Omnibus%29#configure-a-metadata-database-for-the-container-registry
938
- # registry['database'] = {
938
+ # registry['database'] = {
939
939
# 'enabled' => true,
940
940
# 'host' => 'localhost',
941
941
# 'port' => 5432,
@@ -953,7 +953,7 @@ external_url 'GENERATED_EXTERNAL_URL'
953
953
# 'maxidle' => 25,
954
954
# 'maxopen' => 25,
955
955
# 'maxlifetime' => '5m'
956
- # }
956
+ # }
957
957
# }
958
958
959
959
### Registry notifications endpoints
@@ -2704,6 +2704,8 @@ external_url 'GENERATED_EXTERNAL_URL'
2704
2704
# gitlab_rails['elastic_index_bulk_cron'] = "*/1 * * * *"
2705
2705
# gitlab_rails['analytics_devops_adoption_create_all_snapshots_worker_cron'] = "0 4 * * 0"
2706
2706
# gitlab_rails['ci_runners_stale_group_runners_prune_worker_cron'] = "30 * * * *"
2707
+ # gitlab_rails['click_house_ci_finished_builds_sync_worker_cron'] = "*/3 * * * *"
2708
+ # gitlab_rails['click_house_ci_finished_builds_sync_worker_args'] = [1]
2707
2709
2708
2710
################################################################################
2709
2711
## Kerberos (EE Only)
Original file line number Diff line number Diff line change 149
149
default [ 'gitlab' ] [ 'gitlab_rails' ] [ 'incoming_email_inbox_options' ] = nil
150
150
default [ 'gitlab' ] [ 'gitlab_rails' ] [ 'incoming_email_delivery_method' ] = "webhook"
151
151
default [ 'gitlab' ] [ 'gitlab_rails' ] [ 'incoming_email_auth_token' ] = nil
152
+ default [ 'gitlab' ] [ 'gitlab_rails' ] [ 'click_house_ci_finished_builds_sync_worker_cron' ] = nil
153
+ default [ 'gitlab' ] [ 'gitlab_rails' ] [ 'click_house_ci_finished_builds_sync_worker_args' ] = nil
152
154
153
155
default [ 'gitlab' ] [ 'gitlab_rails' ] [ 'service_desk_email_enabled' ] = false
154
156
default [ 'gitlab' ] [ 'gitlab_rails' ] [ 'service_desk_email_address' ] = nil
Original file line number Diff line number Diff line change @@ -700,6 +700,15 @@ production: &base
700
700
cron: "<%= @ci_runners_stale_group_runners_prune_worker_cron %> "
701
701
<% end %>
702
702
703
+ # Periodically sync finished builds from p_ci_finished_build_ch_sync_events to ClickHouse
704
+ <% unless @click_house_ci_finished_builds_sync_worker_cron.nil? %>
705
+ click_house_ci_finished_builds_sync_worker:
706
+ cron: "<%= @click_house_ci_finished_builds_sync_worker_cron %> "
707
+ <% unless @click_house_ci_finished_builds_sync_worker_args.nil? %>
708
+ args: <%= @click_house_ci_finished_builds_sync_worker_args %>
709
+ <% end %>
710
+ <% end %>
711
+
703
712
## Geo
704
713
# NOTE: These settings will only take effect if Geo is enabled
705
714
geo:
Original file line number Diff line number Diff line change 52
52
'ci_runners_stale_group_runners_prune_worker_cron' | 'ci_runners_stale_group_runners_prune_worker_cron'
53
53
'ci_runner_versions_reconciliation_worker' | 'ci_runner_versions_reconciliation_worker_cron'
54
54
'ci_runners_stale_machines_cleanup_worker' | 'ci_runners_stale_machines_cleanup_worker_cron'
55
+ 'click_house_ci_finished_builds_sync_worker' | 'click_house_ci_finished_builds_sync_worker_cron'
55
56
end
56
57
57
58
with_them do
You can’t perform that action at this time.
0 commit comments