Page MenuHomePhabricator

Replace Diffusion integration with Gitlab integration in Striker (toolsadmin)
Closed, ResolvedPublic

Description

Supporting Toolforge tools with an automated git repo creation mechanism is currently the main blocker for removing Differential from our Phabricator service. Gerrit is also currently being treated as a legacy system, with GitLab as the actively developed replacement solution.

Gitlab will allow some amount of self-service git repo creation, but taht will not remove a need to make the process easily discoverable by tool maintainers or to assist them in organizing their repos in a discoverable location for others. There is also a need to migrate existing Diffusion repos to the new preferred system. These are all opportunities for adding automation to reduce human toil.

See also:

Related Objects

Event Timeline

@bd808 I still can't find any mention of Toolforge on mw:GitLab or its subpages, so do we need a separate task to set policy for access/groups/directory layout in GitLab? What's currently documented only deals with WMF and WMDE components, and I am not immediately convinced that the assumptions for those hold in the context of Toolforge.

I also wonder whether this would be an opportunity to migrate from separate developer accounts to general SUL accounts, and whether that needs a separate task.

I also wonder whether this would be an opportunity to migrate from separate developer accounts to general SUL accounts, and whether that needs a separate task.

T161859: Make Wikitech an SUL wiki

@bd808 I still can't find any mention of Toolforge on mw:GitLab or its subpages

Seems reasonable since I just created this task and haven't started talking with the fine folks who have been working on Gitlab about it yet. We will figure it out, that's what we do here.

It would be nice if we could automatically synchronize Tool maintainer lists and Git repository owners, whether that's automated via LDAP or manually by Striker.

It would be nice if we could automatically synchronize Tool maintainer lists and Git repository owners, whether that's automated via LDAP or manually by Striker.

I'd like to automate management of git repos as well, for the sake of easy management and tracking what exists in gitlab, diffusion, gerrit and github. My ideal would be a tool that can easily set up a repo's authoritative source and then set up mirroring automatically everywhere that it should be.

Change 812066 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[labs/striker@master] dev: Add gitlab container to docker-compose config

https://gerrit.wikimedia.org/r/812066

Change 812066 merged by jenkins-bot:

[labs/striker@master] dev: Add gitlab container to docker-compose config

https://gerrit.wikimedia.org/r/812066

bd808 triaged this task as High priority.Jul 20 2022, 8:02 PM
bd808 added a project: Goal.
bd808 changed the task status from Open to In Progress.Aug 26 2022, 9:37 PM
bd808 claimed this task.

Change 828659 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[labs/striker@master] feat: create and view gitlab repos

https://gerrit.wikimedia.org/r/828659

Change 828659 merged by jenkins-bot:

[labs/striker@master] feat: create and view gitlab repos

https://gerrit.wikimedia.org/r/828659

Change 829058 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[labs/striker@master] dev: Add dummy GITLAB_ACCESS_TOKEN value for prep builds

https://gerrit.wikimedia.org/r/829058

Change 829058 merged by jenkins-bot:

[labs/striker@master] dev: Add dummy GITLAB_ACCESS_TOKEN value for prep builds

https://gerrit.wikimedia.org/r/829058

Change 829235 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[labs/striker@master] bug: unwrap user info from gitlab lookup response

https://gerrit.wikimedia.org/r/829235

Change 829235 merged by jenkins-bot:

[labs/striker@master] fix: unwrap user info from gitlab lookup response

https://gerrit.wikimedia.org/r/829235

Change 830252 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[operations/puppet@production] striker: Bump deployed version to 2022-09-04-055313-production

https://gerrit.wikimedia.org/r/830252

Change 830252 merged by Andrew Bogott:

[operations/puppet@production] striker: Bump deployed version to 2022-09-04-055313-production

https://gerrit.wikimedia.org/r/830252

Mentioned in SAL (#wikimedia-operations) [2022-09-06T20:13:23Z] <bd808> Running database migrations for Striker (T296893)

Mentioned in SAL (#wikimedia-operations) [2022-09-06T20:16:27Z] <bd808> Forcing puppet runs on cloudweb100[34] to deploy new version of Striker (T296893)

Change 830270 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[labs/striker@master] fix: Use kwargs to lookup reverse url for GitlabRepo model

https://gerrit.wikimedia.org/r/830270

Change 830270 merged by jenkins-bot:

[labs/striker@master] fix: Use kwargs to lookup reverse url for GitlabRepo model

https://gerrit.wikimedia.org/r/830270

Change 830275 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[operations/puppet@production] striker: bump container version to 2022-09-06-213820-production

https://gerrit.wikimedia.org/r/830275

Change 830275 merged by Andrew Bogott:

[operations/puppet@production] striker: bump container version to 2022-09-06-213820-production

https://gerrit.wikimedia.org/r/830275

Change 830679 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[labs/striker@master] feat: update git goal for gitlab provider change

https://gerrit.wikimedia.org/r/830679

Change 830679 merged by jenkins-bot:

[labs/striker@master] feat: update git goal for gitlab provider change

https://gerrit.wikimedia.org/r/830679

Change 830688 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[operations/puppet@production] striker: bump container version to 2022-09-07-191738-production

https://gerrit.wikimedia.org/r/830688

Change 830688 merged by Andrew Bogott:

[operations/puppet@production] striker: bump container version to 2022-09-07-191738-production

https://gerrit.wikimedia.org/r/830688