File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,14 @@ workflows:
1313 - version # Version to upgrade to
1414
1515 tasks :
16+ upgrade_nodejs :
17+ action : core.remote
18+ input :
19+ hosts : <% $.host %>
20+ cmd : " curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -"
21+ timeout : 180
22+ on-success :
23+ - install_pkg
1624 install_pkg :
1725 with-items : pkg in <% $.pkg_list %>
1826 workflow : install_latest_revision_of_pkg
Original file line number Diff line number Diff line change @@ -13,6 +13,14 @@ workflows:
1313 - version # Version to upgrade to
1414
1515 tasks :
16+ upgrade_nodejs :
17+ action : core.remote
18+ input :
19+ hosts : <% $.host %>
20+ cmd : " curl -sL https://rpm.nodesource.com/setup_6.x | sudo -E bash -; sudo yum clean all; sudo rpm -e --nodeps npm; sudo yum update -y nodejs || true"
21+ timeout : 180
22+ on-success :
23+ - install_pkg
1624 install_pkg :
1725 with-items : pkg in <% $.pkg_list %>
1826 workflow : install_latest_revision_of_pkg
You can’t perform that action at this time.
0 commit comments