GitLab/Roadmap
Migrating our code review from Gerrit to GitLab is happening in stages:
Consultation, documentation, vetting contractors, and buying hardware
๐ฅ Groups involved
editTechnical community, Engineering Productivity, Site Reliability Engineering, Security, WMF Legal, GitLab contractor
๐ Activities
edit- โ GitLab community consultation
- โ Document code review and continuous integration workflows to include GitLab
- โ Produce a roadmap
- โ Engage with WMF Legal for ToS/Privacy Policy updates
- โ Begin hiring process for GitLab contractor
- โ Identify and estimate hardware use for GitLab components
๐ Status
editโจCompleteโจ
Install and provision GitLab, create runbooks for upgrade and common administration tasks.
๐ฅ Groups involved
editEngineering Productivity, Site Reliability Engineering, Datacenter operations, Security, GitLab contractor
๐ Activities
edit- โ Build a pre-production testing environment
- โ Explore and establish login and authentication options
- โ Rack, install, and setup GitLab for production
- โ https://gitlab.wikimedia.org exists
- โ Backups
- โ Monitoring and Metrics
- โ Establish deployment and upgrade cadence
๐ Status
editโจCompleteโจ
Individuals can use GitLab for their projects, but GitLab will still be missing features needed for teams to adopt GitLab.
๐ฅ Groups involved
editIndividual developers, Engineering Productivity, Site Reliability Engineering, Security
๐ Activities
edit- โ Publish tools for repository management
- โ Create the initial ACL schema
- โ Build puppetized CI runners
- โ Open registration beyond NDA
- โ Announce that we're open for use
๐ Status
editโจCompleteโจ
This phase has been long.
Before releasing code to our production environment, there is a large amount of work to be completed with many unknowns.
This work includes a set of instance-wide Shared Runners offering CI capabilities for unreviewed (meaning untrusted) code for private projects and forks. These Runners will be available for every project by default and help the community and volunteers to have CI for every code change.
๐ฅ Groups involved
editRelease engineering, Wikimedia Cloud Services, Site Reliability Engineering
๐ Activities
edit- โ Build GitLab workers for secure Docker image creation and publishing to production
- โ Continuously publish image artifacts to our production Docker registry
- ๐ Build a stable set of untrusted cloud runners for unreviewed code:
- โ Support an infrastructure allowing ephemeral runners
- โ Ensure scaling works
- โ Ensure caching works
- โ Ensure MVP for monitoring is in place
- ๐ Announce and open runners to the world
- โ Port release pipeline code to GitLab CI
- โ Build MVP to integrate GitLab activity with Phabricator
- โ Migrate toolforge repos from Phabricator diffusion to GitLab
๐ Status
edit๐ In progress
Groups of early adopters of the pipeline can start to use GitLab. Release Engineering will expand needed integrations and ease transition.
๐ฅ Groups involved
editDeveloper teams, Engineering Enablement, Site Reliability Engineering
๐ Activities
edit- Refine integrations and adapt existing IRC/Slack bots for GitLab
- Provide tools to help convert PipelineLib configs to GitLab CI files
- Support early services adopters with documentation and learning sessions
- Test out and build (if necessary) support for dependent patchset workflows
๐ Status
edit๐Next
Estimate: Q3 FY2022/2023 (JanโMar 2023)
Work remains beyond the completion of above phases.
The list below is roughly ordered by estimated completion date:
- Archive remaining Phabricator diffusion repos
- Implementation of the Gerrit Privilege Policy on GitLab
- Push to move remaining pipeline work to GitLab
- Re-implementation of MediaWiki developer and release tools
- Migration of MediaWiki+Extensions+Skins
- Migration of the
operations/puppet
repository - Migration of the long-tail of projects still on Gerrit
- Archiving Gerrit
- Gerrit becomes read-only
- Create static dumps of historic reviews with reasonable efforts to preserve URLs
- Important URLs: Change-Id, SHA1, unique ID, anchors to review comments(?)
- Gerrit servers decommissioned
- Ask GitHub repos to move to GitLab