Closed Bug 1491116 Opened 6 years ago Closed 6 years ago

Register IRC bot for hgmo deployment notifications

Categories

(Developer Services :: Mercurial: hg.mozilla.org, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Unassigned)

Details

Before the IRC spam attacks that took place earlier this year, deploying to hg.mozilla.org included a step where we join the #vcs channel and send a notification about the deployment. At the moment this step is broken as we have "+R" (nick registration required) set on #vcs, and the nick we use is not registered. As a workaround, gps suggested that we register a nick (currently we use "hg-deploy-bot") and write the password out somewhere on hgssh. Then during deployments we can slurp the file and authenticate the nick with those credentials.
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/7ad3de3d5c69
ansible: grab hg-deploy-bot IRC password from the server
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/1f6da419859e
ansible: fix use of host variable from other hosts
The deploy bot is back up and running again. I have written the password to a file at /repo/hg/hg-deploy-bot.pw and during the deploy we slurp the password and register before sending the notification. At the moment the bot is registered to my work email - we probably want to switch to a more permanent location in the near future.
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.