-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let's upgrade to node 6 #78
Changes from 4 commits
95cef06
2ca2b0e
2eed9aa
f8cb388
2d09a69
c92dac1
d418667
6dce22f
a773fcb
ba655c3
7babeaf
aec5af4
1244bb0
9aed887
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:4.2.2-slim | ||
FROM node:6.11.1-slim | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
python \ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ TimeoutSec=60 | |
PrivateTmp=true | ||
Restart=on-failure | ||
RestartSec=5 | ||
StandardOutput=syslog+console | ||
StandardError=syslog+console | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does that fix hubot logging bug described here: StackStorm/st2-packages#300 ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does not. This directive instructs journalctl to write to console which should get logged to /var/log according to docs but it doesn't. So sad. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With this param, feels like the truth is out there. Let's try this for - ExecStart=/opt/stackstorm/chatops/bin/hubot $DAEMON_ARGS
+ ExecStart=exec bin/hubot $DAEMON_ARGS >> /var/log/st2/st2chatops.log 2>&1 |
||
|
||
[Install] | ||
WantedBy=multi-user.target |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering
nodejs
epopeya https://github.com/StackStorm/ops-infra/pull/206, please pin node versions to6
for both deb/rpm.So we won't install any node7 or node8 or whatever in future.