Skip to content

install nodejs/npm on workers #187

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

Merged
merged 1 commit into from
Sep 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/staging.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ knife cookbook site install partial_search
knife cookbook site install ssh_known_hosts
knife cookbook site install git_user
knife cookbook site install chef-vault
knife cookbook site install homebrew
knife cookbook site install nodejs
```

### Current cookbooks
Expand All @@ -58,8 +60,10 @@ knife cookbook site install chef-vault
- ebs == 0.3.6
- git == 4.2.2
- git_user == 0.3.1
- homebrew == 2.1.2
- java == 1.39.0
- logrotate == 1.9.1
- nodejs == 2.4.4
- packagecloud == 0.0.17
- partial_search == 1.0.8
- runit == 1.6.0
Expand Down
5 changes: 4 additions & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@
depends 'chef-sbt'
depends 'sbt-extras'

depends 'runit', '~> 1.5'
depends 'runit', '~> 1.5'

depends 'nodejs'

2 changes: 2 additions & 0 deletions recipes/_worker-init-debian.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

include_recipe "apt" # do apt-get update

include_recipe "nodejs" # for Scala.js

include_recipe "scala-jenkins-infra::_java_packages"

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