Page MenuHomePhabricator

Create blubberfile for articlequality model server
Closed, ResolvedPublic

Description

We need to create a production image for the articlequality model server that can be hosted in the WMF Docker registry.

This should be a blubber.yaml file that lives in the ./pipeline/articlequality directory. It should target the revscoring/articlequality directory and copy the model-server/ directory.

This has already been done for editquality (see: T279004) which can be used as an example.

Blubber tutorial: https://wikitech.wikimedia.org/wiki/Blubber/Tutorial

Side note: It may also be helpful in defining a 'test' variant that can run linting/formatting tools that can be used in the deployment pipeline.

Event Timeline

Running into some issues building the package directly via setuptools like we do in our original dockerfile. It looks like setuptools keeps writing to /usr/lib/python3.7/dist-packages, even though I am setting a prefix to match where blubber installs the other python dependencies. I'm going to look into some alternative solutions, I'm wondering if we can just install via pip install <repo-git-url> ...?

Change 709834 had a related patch set uploaded (by Accraze; author: Accraze):

[machinelearning/liftwing/inference-services@main] added articlequality blubberfile

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

Change 709834 merged by jenkins-bot:

[machinelearning/liftwing/inference-services@main] added articlequality blubberfile

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