Skip to content

Commit 359128b

Browse files
committed
install nodejs/npm on workers
for Scala.js. requested by @sjrd at scala/community-build#276
1 parent 657c4ed commit 359128b

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

doc/staging.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ knife cookbook site install partial_search
4141
knife cookbook site install ssh_known_hosts
4242
knife cookbook site install git_user
4343
knife cookbook site install chef-vault
44+
knife cookbook site install nodejs
4445
```
4546

4647
### Current cookbooks
@@ -60,6 +61,7 @@ knife cookbook site install chef-vault
6061
- git_user == 0.3.1
6162
- java == 1.39.0
6263
- logrotate == 1.9.1
64+
- nodejs == 2.4.4
6365
- packagecloud == 0.0.17
6466
- partial_search == 1.0.8
6567
- runit == 1.6.0

metadata.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@
3232
depends 'chef-sbt'
3333
depends 'sbt-extras'
3434

35-
depends 'runit', '~> 1.5'
35+
depends 'runit', '~> 1.5'
36+
37+
depends 'nodejs'
38+

recipes/_worker-init-debian.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
include_recipe "apt" # do apt-get update
1111

12+
include_recipe "nodejs" # for Scala.js
13+
1214
include_recipe "scala-jenkins-infra::_java_packages"
1315

1416
# NOTE: MUST BE LAST -- it selects the chef-configured jdk (the above packages install openjdk 7 & 8, but we want something else)

0 commit comments

Comments
 (0)