How Indeed Replaced Its CI Platform with Gitlab CI
Indeed migrated thousands of engineers and over 2,000 Jenkinsfiles from Jenkins to GitLab CI before its CloudBees license expired on April 1, 2024. It replaced hundreds of divergent copy-pasted pipelines with small golden-path templates for each project type. The ~11-person CI team relied on InnerSource contributions behind feature flags, Sourcegraph batch changes for automatable projects, and "scream tests" that auto-disabled stale jobs. Controllers were made read-only unless owners requested exceptions, which cut 400 controllers to 54 and left about 50 teams to help directly. Contributing fixes upstream to open-source GitLab also let the team run a patched runner fork when it hit a security issue.
Related posts
- Migration Automation: Easing the Jenkins → GHA shift with help from AI
Slack Engineering mediumAdeptSlack built a conversion tool to move 242 Jenkins pipelines to GitHub Actions by layering corrections on top of GitHub's Actions Importer, which fully converted about 50% of pipelines, partially converted 45% and failed on 5%. Eight unsupported Jenkins steps caused over 90% of the partial conversions. A largely regex/string-replace Python pass swaps rate-limited marketplace actions for internal GitHub Enterprise mirrors, adds guidance comments (e.g. for secrets) and strips noise. LLM prompts handle the action-to-action rewrites that string methods can't, such as replacing rtCamp/action-slack-notify with Slack's internal action, and were 100% accurate across about two dozen spot-checked outputs. The tool is projected to cut migration effort from about 1,700 to about 360 hours.
- How GitHub uses GitHub Actions and Actions larger runners to build and test GitHub.com
GitHub Engineering mediumAdeptGitHub moved CI for GitHub.com to GitHub Actions on larger runners, peaking at about 4,500 concurrent 32-core runners, 15,000 jobs per hour and 150,000 cores. Custom VM images that pre-bundle tools and a cached build of the project source, refreshed several times a day through an API, cut workflow time from about 50 to 12 minutes. Reusable workflows keep CI configuration and runner selection central across repositories, and reusing results when Git tree IDs match skips 300-500 runs a day. Isolated runners reach private VPC services through an OIDC-token-validating remote access gateway, whose scaffolding is open-sourced.
- GitHub’s Engineering Team has moved to Codespaces
GitHub Engineering mediumAdeptGitHub moved development of its 14-year-old, 13 GB github/github monolith from bespoke macOS laptops to cloud-hosted Codespaces, replacing fragile local environments with disposable, task-per-branch dev environments. Creation time went from 45 minutes to 5 by shallow cloning with background unshallowing and a nightly GitHub Action that builds a mostly-bootstrapped Docker base image for the devcontainer. It then dropped to 10 seconds with prebuilds, pools of fully cloned and bootstrapped codespaces. Centralized config also let them upgrade every engineer from 8-core to 32-core VMs with one line, share live previews via forwarded ports, and support Vim/Emacs users over SSH.
- Building GitHub with Ruby and Rails
GitHub Engineering mediumAdeptGitHub's ~2M-line Rails monolith upgrades to the latest Rails main-branch commit every week via a scheduled GitHub Actions workflow that opens an automated PR, runs all builds, and ships the next day. CI also runs a parallel build against the latest Ruby commit, which let GitHub test Ruby 3.2 release candidates on production traffic, catch regressions such as a keyword-argument allocation increase before release, and adopt Ruby 3.2.1 on release day. Benefits include dropping nearly all Rails patches, avoiding big-bang migrations, and better security posture. The approach depends on a thorough test suite and progressive rollout deploys.
- How we use Dependabot to secure GitHub
GitHub Engineering mediumAdeptGitHub's Product Security Engineering team rolled Dependabot out across several thousand internal repositories in three stages: measuring alerts org-wide through the GraphQL API, a staged enablement (200 repos, then 1,000 at 30 days, then the whole org at 45 days), and remediation. Remediation was driven through the internal Service Catalog, which receives Dependabot metrics through the REST API, attaches SLOs with grace periods, and limits the effort to production services. Folding these metrics into the monthly Engineering Fundamentals review raised the share of services with zero alerts from 68% to 81% in a quarter, covering about 50 services. The same approach was later extended to CodeQL.