Remove gitlab-runner-builder.gitlap.com
Overview
In gitlab-org/gitlab-runner#21299 (closed) we removed all dependencies to gitlab-runner-builder.gitlap.com
from our projects and everything can run on the shared/private CI fleet. There is no need to have this machine anymore.
Checklist
-
Remove the registered Runner -
Find projects with SELECT CONCAT(n.path, ' / ', p.path) AS path FROM ci_runners AS r JOIN ci_runner_projects AS rp ON rp.runner_id = r.id JOIN projects AS p ON p.id = rp.project_id JOIN namespaces AS n ON n.id = p.namespace_id WHERE r.id = 16399;
-
Check progress on gitlab-org/gitlab-runner#21299 (comment 309970302) to see if everything is ready to be removed. -
Remove runner for each project -
Delete Runner
-
-
Remove Runner from chef -
Remove nodes/gitlab-runner-builder.gitlap.com.json
-
Remove roles/gitlab-runner-builder.json
-
Remove data_bags -
Remove mention of it from runbook: here, here and here. -
Remove it from Prometheus -
Remove it form ELK -
data_bags/syslog_client/_default_keys.json
-
data_bags/syslog_client/cny_keys.json
-
data_bags/syslog_client/stg_keys.json
-
data_bags/syslog_client/pre_keys.json
-
-
-
Update CI dashboard to remove any reference from it. -
Delete machine inside of DigitalOcean
Resources
- Remove runners from Digitalocean https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/6901
- Remove runners from chef https://ops.gitlab.net/gitlab-cookbooks/chef-repo/-/merge_requests/1272
Edited by Steve Xuereb