Page MenuHomePhabricator

Create service account for npm
Closed, DeclinedPublic

Description

WVUI will ideally publish a new prerelease version of itself on npm on every new merge into master. To get this to work securely and not depend on any Wikimedia employee, we should use a (non-human) npm account to do the publishes in PipelineLib.

Event Timeline

Tagging Release Engineering Team, wondering if there's a best way to do this, if such an account already exists, or if i can just make one : )

Tagging Release Engineering Team, wondering if there's a best way to do this, if such an account already exists, or if i can just make one : )

There is not currently an account that exists to do this. In the past what I've done is to create bots that operate on Gerrit is to create an account via wikitech and then put a notification on the bot user's talk page; e.g., https://wikitech.wikimedia.org/wiki/User:PipelineBot

Once the bot is created we can add the permissions needed in Gerrit:

@thcipriani Thanks for the input! Would I need another bot in this case though? This ticket was just for tracking an npm account that would need to be part of the wikimedia npm org. Whichever bots start up the pipeline jobs should still work, unless you recommend making a separate npm-publish bot so it is clear that is publishing to npm?

Volker_E subscribed.

As WVUI is deprecated and on the brink of being removed from MediaWiki, I'm declining this task. All focus is on Codex now.