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.
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.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add pipeline config | mediawiki/services/mathoid | master | +34 -2 | |
Add mathoid pipeline project | integration/config | master | +22 -3 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T198901 Migrate production services to kubernetes using the pipeline | |||
Resolved | jeena | T261809 Migrate mathoid to use PipelineLib | |||
Resolved | jeena | T262987 Migrate termbox to pipelineLib CI |
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
@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
Change 630961 merged by jenkins-bot:
[integration/config@master] Add mathoid pipeline project
Change 630910 merged by jenkins-bot:
[mediawiki/services/mathoid@master] Add pipeline config
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.
@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.