Skip to content

Run CiFinishedBuildsSyncCronWorker for EE, on only .com

Vladimir Shushlin requested to merge vshushlin/ch-ee-workers into master

What does this MR do and why?

Run CiFinishedBuildsSyncCronWorker for EE, not only .com

We want to start testing Runner Fleet Dashboard that uses ClickHouse with some self-managed clients: Runner Fleet Dashboard - Admin view: Early ado... (&11180)

That means that we need to run CiFinishedBuildsSyncCronWorker on all EE instances, not only .com

Also don't run the child workers if ci_data_ingestion_to_click_house is disabled. It saves some time, and we won't print confusing errors.

Here's the documentation for end-users: https://docs.gitlab.com/ee/development/runner_fleet_dashboard.html

How to set up and validate locally

I relied on tests here, but if you really want to test it:

  1. Follow steps from in https://docs.gitlab.com/ee/development/database/clickhouse/clickhouse_within_gitlab.html up and including running migrations
  2. Setup runner, and run 1 CI job
  3. Enable ci_data_ingestion_to_click_house FF
  4. Enable clickhouse_ci_analytics FF
  5. Go to Admin area -> Runners -> Runner Fleet Dashboard (you should see the job as a spike on the bottom chart).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Max Fan

Merge request reports

Loading