Closed
Bug 918266
Opened 11 years ago
Closed 11 years ago
Install nodejs via puppet on mozqa1.qa.scl3.mozilla.com
Categories
(Infrastructure & Operations :: IT-Managed Tools, task, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: whimboo, Assigned: bburton)
References
Details
To be able to run our testday bot (see bug 899766), we need nodejs installed on the system. I assume it is already available through the default packages. All the remaining code is in a github repository (https://github.com/AutomatedTester/testdaybot) and includes necessary npm packages. So none of those have to be installed via puppet. I just wonder how you usually setup and run such kind of tools. Should this also be managed via puppet, or what is the proposed way of doing it?
Assignee | ||
Comment 1•11 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #0) > To be able to run our testday bot (see bug 899766), we need nodejs installed > on the system. I assume it is already available through the default packages. > > All the remaining code is in a github repository > (https://github.com/AutomatedTester/testdaybot) and includes necessary npm > packages. So none of those have to be installed via puppet. > > I just wonder how you usually setup and run such kind of tools. Should this > also be managed via puppet, or what is the proposed way of doing it? We can run it out of a git clone using supervisord for easy of upgrading, that's how most of our Django sites are deployed. I'll work on installing the system stuff with Puppet
Assignee: server-ops-webops → bburton
Status: NEW → ASSIGNED
Priority: -- → P3
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Brandon Burton [:solarce] from comment #1) > We can run it out of a git clone using supervisord for easy of upgrading, > that's how most of our Django sites are deployed. I think that would be good, but for now we would have to restart the bot for each upcoming testday because it only supports specifying the etherpad url when starting it: node bot.js <testday etherpad> Would anyone able to do that who can log into mozqa.com? Could we let the bot even run on normal user accounts or would a shared one be better?
Assignee | ||
Comment 3•11 years ago
|
||
The service is running as root right now, we can add another user and make it run as that if you want. Anyone with sudo on mozqa1.qa.scl3.mozilla.com is able to login and tweak the config and restart the daemon I've updated the documentation on https://mana.mozilla.org/wiki/display/websites/mozqa.com with details on how the bot is installed and how you update the configuration I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=919829 to get a flow to irc.mozilla.org So once you configure the bot with a URL and that flow is in place, you should be good to go
Assignee | ||
Comment 4•11 years ago
|
||
Everything should work now, feel free to ping me in #it for quick troubleshooting or open a new bug if I'm not around Thanks!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•11 years ago
|
||
Now everything works fine. I only have to setup the bot correctly now with the right url and fix some bugs, which currently prevent some features of the bot. Thanks for your help in setting the bot up!
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•