Page MenuHomePhabricator

Move Speechoid components to Gitlab
Closed, ResolvedPublic

Description

Most of the code repos for Speechoid components live on Gerrit. The new recommendation is to instead use Gitlab for publishing to the Docker registry. The Gerrit repos should probably be marked as archived and point to the new ones or possibly removed. Affected repos (should maybe be broken out into individual tasks):

Sox proxy (which isn't on Gerrit) was added as a publishing repo on Gitlab (in T351223) and can be used as a reference. The group for Speechoid is repos/mediawiki/services/speechoid.

Also, we want to change the destination for the published images in the registry from wikimedia/mediawiki-services-wikispeech-ahotts to repos/mediawiki/services/speechoid/. The latter is default when publishing from Gitlab and uses Speechoid, which is more a accurate name. We probably want to remove or somehow deprecate the old images once this is done.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Is the task title correct, or should it mention GitLab and be tagged with GitLab (Project Migration) ?

Sebastian_Berlin-WMSE renamed this task from Move Speechoid components to Gerrit to Move Speechoid components to Gitlab.Mar 25 2024, 6:51 AM

I got the title wrong. Thanks for pointing that out.

As part of this README-merge-from-github-upstream.md should probably be updated

This probably should have gone in this task instead:

I think I've completed the first step. I've made a blubber file that creates a Docker image for Symbolset. I've taken a different approach to what we've done so far. Rather than forking the repo I clone it as part of the build process. Hopefully this won't cause any issues down the line. Ideally we should have something where we can just change the commit hash when we want to update to a newer version.

First version of Symbolset built through Gitlab: docker-registry.wikimedia.org/repos/mediawiki/services/speechoid/symbolset:test-262ae63. Not showing up in https://docker-registry.wikimedia.org/ yet, it takes a while to update.

Tested using it locally and everything seems fine. Note that this is the same version of the one we are currently using, just that the image is built differently (see above).

We created a new repo on Gitlab for Pronlex. It uses the commit ef9b0a2. The resulting image is on docker-registry.wikimedia.org/repos/mediawiki/services/speechoid/pronlex:test-ef9b0a2.

Piper seems to be done now. I will start on wikispeech_server asap

wikispeech_server is done now. The only think we need to check is that when exposing the ports documented it says:

WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

We will talk with STTS on our next meeting to ask about this.

I updated the list in the description to match reality. @Viktoria_Hillerud_WMSE, is there anything else that should be added? Otherwise I think this is done.