Page MenuHomePhabricator

Adapt RTB to new yaml release config
Closed, ResolvedPublic

Description

We used make-wmf-branch/config.json to determine which repositories to process, but this has been deprecated (and, luckily, renamed so that RTB broke and I actually noticed this)

https://phabricator.wikimedia.org/diffusion/MREL/browse/master/make-wmf-branch/config.json-deprecated

is now

https://phabricator.wikimedia.org/diffusion/MREL/browse/master/make-release/settings.yaml

For now I have hotpatched the bot to use a local copy of the deprecated json file, but we should convert soon-ish. I *think* the new wmf_core group is what we need.

It might be possible as well to reuse some of the Python codebase in make-release which parses the json file.

Event Timeline

Oh, oops, I didn't know RTB used this file. :-)

(Yes, wmf_core is Wikimedia production, base is the MediaWiki release tarball.)

It might be possible as well to reuse some of the Python codebase in make-release which parses the json file.

We can use https://gerrit.wikimedia.org/r/plugins/gitiles/integration/utils/+/master/wikimediaci_utils/__init__.py#62 (published on pypi as wikimediaci-utils) ... but I need to update that library now.

Change 565515 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[labs/tools/forrestbot@master] Use wikimediaci_utils library to get list of deployed repositories

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

Change 565515 merged by jenkins-bot:
[labs/tools/forrestbot@master] Use wikimediaci_utils library to get list of deployed repositories

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

valhallasw claimed this task.

Thanks, deployed!