Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
we need two workers for shipit
Browse files Browse the repository at this point in the history
dwradcliffe committed May 26, 2015
1 parent 6e9c334 commit 8ed36c4
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -338,7 +338,7 @@ GRAPH
rubygems (>= 0.0.0)
sensu (= 2.1.0)
uchiwa (= 1.0.0)
rubygems-shipit (0.0.44)
rubygems-shipit (0.0.46)
apt (>= 0.0.0)
git (>= 0.0.0)
logrotate (>= 0.0.0)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-shipit/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name 'rubygems-shipit'

version '0.0.44'
version '0.0.46'

depends 'apt'
depends 'git'
4 changes: 2 additions & 2 deletions cookbooks/rubygems-shipit/recipes/app.rb
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
end
end

1.times do |n|
2.times do |n|
worker_name = "shipit-resque-#{n+1}"

runit_service worker_name do
@@ -40,7 +40,7 @@
user: 'shipit',
queue: 'deploys,default,*',
worker_name: worker_name,
num_workers: 1
num_workers: 2
)
end
end
2 changes: 2 additions & 0 deletions cookbooks/rubygems-shipit/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -10,6 +10,8 @@
include_recipe 'nodejs'
include_recipe 'runit'

gem_package 'heroku'

include_recipe 'rubygems-people::deploy'
include_recipe 'rubygems-shipit::setup'
include_recipe 'rubygems-shipit::app'

0 comments on commit 8ed36c4

Please sign in to comment.