Page MenuHomePhabricator

Migrate mathoid to use PipelineLib
Closed, ResolvedPublic

Description

mathoid hasn't yet been updated to the new self-service CI pipeline ( https://wikitech.wikimedia.org/wiki/PipelineLib )

create a .pipeline/config.yaml for testing and building images in order to migrate to PipelineLib for mathoid.

Event Timeline

jeena created this task.Sep 1 2020, 11:27 PM
Restricted Application added a project: Math. · View Herald TranscriptSep 1 2020, 11:27 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Can we make sure that also the machines that are actually used in production are updated. For instance https://mathoid-beta.wmflabs.org/_info which is specified in the restbase test config https://github.com/wikimedia/restbase/blob/master/config.fullstack.test.yaml#L18 has 0.7.2 rather than 0.7.4. Unfortunately, I don't know where the actual restbase configuration that is used in production is stored.

Change 630910 had a related patch set uploaded (by Physikerwelt; owner: Physikerwelt):
[mediawiki/services/mathoid@master] Add pipeline config

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

Physikerwelt moved this task from Incoming to Doing on the Math board.Sep 29 2020, 5:12 PM

@jeena I have added to config file from the tutorial. But I could not see any effect on gerrit. I don't know what to do next, thus I am assigning the ticket to you.

Change 630961 had a related patch set uploaded (by Jeena Huneidi; owner: Jeena Huneidi):
[integration/config@master] Add mathoid pipeline project

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

Change 630961 merged by jenkins-bot:
[integration/config@master] Add mathoid pipeline project

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

Change 630910 merged by jenkins-bot:
[mediawiki/services/mathoid@master] Add pipeline config

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

What remains to be done here?

Physikerwelt triaged this task as Medium priority.Tue, Nov 3, 6:21 AM
jeena renamed this task from Migrate mathoid and other remaining services to use PipelineLib to Migrate mathoid to use PipelineLib.Mon, Nov 16, 8:27 PM
jeena closed this task as Resolved.
jeena updated the task description. (Show Details)

The title and description were a bit vague so I changed them to be specific to mathoid only. With that I'll close this task and we can take care of other repos as they come up.

@jeena thank you. So what needs to be done to deploy mathoid today? I have just checked https://phabricator.wikimedia.org/T148304 and event though the patch was merged on gerrit it is not availible via restbase.

jeena added a comment.EditedTue, Nov 17, 7:21 AM

@Physikerwelt First, someone needs to merge this patchset, https://gerrit.wikimedia.org/r/c/operations/deployment-charts/+/640523, which was generated by CI as a result of the patch you referenced being merged. Then, someone will need to log onto the deployment server to deploy the changes with helmfile. I had understood that something was to be arranged with CPT to do deploys for mathoid more regularly. If that hasn't happened I can look for the appropriate person to bring it up with.

@jeena thank you. This was extremy helpful. Now I understand the process much better. Is the deployment doku linked here https://wikitech.wikimedia.org/wiki/How_to_deploy_code ? I have two goals. First, I would like to see the linked patch deployed. Second, I would like to document and the process of chaning mathoid and related components, so that wikipedia editors can understand and track the progress regarding the changes they need to perform the edits they currently can not perform.

@Physikerwelt Happy to help. Here is the documentation for doing deployments of kubernetes services: https://wikitech.wikimedia.org/wiki/Deployments_on_kubernetes. I just learned that mathoid has some sort of npm publish steps as well, although I don't know anything about them, so I assume those should happen before the deployment of mathoid to kubernetes.

I think @Clarakosi has already deployed the new change to kubernetes today so you should be able to see it in production now.