StackStorm / st2chatops

Packaging environment for building StackStorm chatops native packages
Apache License 2.0
32 stars 42 forks source link

Updated node #161

Closed amanda11 closed 3 years ago

amanda11 commented 3 years ago

Testing the build as part of investigating nodejs upgrade

arm4b commented 3 years ago

Node version requirements are defined in the deb/rpm package specs:

https://github.com/StackStorm/st2chatops/blob/dc4bd38cc8b42316c1e21553c65144fb79d2751d/rpm/st2chatops.spec#L11 https://github.com/StackStorm/st2chatops/blob/dc4bd38cc8b42316c1e21553c65144fb79d2751d/debian/control#L14

Next, package.json https://github.com/StackStorm/st2chatops/blob/dc4bd38cc8b42316c1e21553c65144fb79d2751d/package.json#L27-L29

And good news, looks like in hubot-stackstorm which is a core component of st2 chatops solution, looks like we already test with nodejs 12: https://github.com/StackStorm/hubot-stackstorm/blob/48eccfdbcbc5e3f72d2dbe8c366bd5648207ef50/.travis.yml#L10 (https://travis-ci.org/github/StackStorm/hubot-stackstorm/builds/548411849)

Hopefully @blag could help with the pointers more.

amanda11 commented 3 years ago

Build passed. Not yet tried the package in a node > 10 environment.

amanda11 commented 3 years ago

When built against node 10, and installed on a ST2 using node 14 and connected to slack - ran initial tests ok. When built against node 14 (As per last commit) and installed on ST2 using node 14, got authorisation issues connecting to slack. Not been able to track down why.

amanda11 commented 3 years ago

Merged latest changes in, and re-built dependencies. Manual isntall of ST2 on EL8 with node 14. Put in place artifact from this build and tested against live slack - all ok.