Permalink
Switch branches/tags
v0.0.2 v0.0.1 deploy.2012-11-07.07-29 deploy.2012-11-07.06-37 deploy.2012-11-05.15-58 deploy.2012-11-01.14-40 deploy.2012-10-31.22-14 deploy.2012-10-31.22-11 deploy.2012-10-18.19-54 deploy.2012-10-18.19-53 deploy.2012-10-18.19-41 deploy.2012-10-18.16-51 deploy.2012-10-18.16-33 deploy.2012-10-18.16-29 deploy.2012-10-18.16-26 deploy.2012-10-15.23-49 deploy.2012-10-10.13-40 deploy.2012-10-05.00-32 deploy.2012-10-04.19-51 deploy.2012-10-03.23-27 deploy.2012-10-03.23-24 deploy.2012-09-27.14-12 deploy.2012-09-18.11-46 deploy.2012-09-15.13-56 deploy.2012-09-12.18-23 deploy.2012-09-11.15-00 deploy.2012-09-11.09-09 deploy.2012-09-10.15-20 deploy.2012-09-10.15-19 deploy.2012-09-10.12-25 deploy.2012-09-04.14-40 deploy.2012-09-04.10-42 deploy.2012-09-04.10-30 deploy.2012-08-28.15-09 deploy.2012-08-21.15-57 deploy.2012-08-20.12-12 deploy.2012-08-14.15-13 deploy.2012-08-09.11-41 deploy.2012-08-05.15-09 deploy.2012-08-03.14-12 deploy.2012-08-02.09-40 deploy.2012-07-31.23-46 deploy.2012-07-31.15-27 deploy.2012-07-27.13-29 deploy.2012-07-26.22-45 deploy.2012-07-26.22-11 deploy.2012-07-26.22-02 deploy.2012-07-26.16-13 deploy.2012-07-19.16-56 deploy.2012-07-17.16-23 deploy.2012-07-16.14-32 deploy.2012-07-16.13-32 deploy.2012-07-16.12-51 deploy.2012-06-19.12-06 deploy.2012-06-18.20-28 deploy.2012-06-18.12-40 deploy.2012-06-18.12-26 deploy.2012-06-18.12-25 deploy.2012-06-18.12-23 deploy.2012-06-18.12-22 deploy.2012-06-16.19-28 deploy.2012-06-11.10-49 deploy.2012-06-06.13-56 deploy.2012-05-28.21-40 deploy.2012-05-27.16-17 deploy.2012-05-27.15-30 deploy.2012-05-27.15-24 deploy.2012-05-27.15-11 deploy.2012-05-21.11-46 deploy.2012-05-21.10-56 deploy.2012-05-14.16-23 deploy.2012-05-06.16-14 deploy.2012-05-06.15-19 deploy.2012-05-06.15-15 deploy.2012-05-06.15-10 deploy.2012-05-06.15-04 deploy.2012-05-06.14-15 deploy.2012-05-05.19-30 deploy.2012-05-05.19-14 deploy.2012-05-05.18-23 deploy.2012-05-05.13-22 deploy.2012-05-05.10-02 deploy.2012-05-05.09-20 deploy.2012-05-03.14-48 deploy.2012-05-03.13-50 deploy.2012-05-03.11-39 deploy.2012-05-03.11-21 deploy.2012-05-03.10-58 deploy.2012-04-30.16-24 deploy.2012-04-30.14-38 deploy.2012-04-30.14-20 deploy.2012-04-30.14-11 deploy.2012-04-27.07-48 deploy.2012-04-19.11-27 deploy.2012-04-16.20-39 deploy.2012-04-16.19-41 deploy.2012-04-10.14-50 deploy.2012-04-10.13-56 deploy.2012-04-10.13-18 deploy.2012-03-28.15-58
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (12 sloc) 843 Bytes
#!/usr/bin/env ruby
require 'bundler/setup'
require 'bunny'
amqp = ARGV[0]
# amqp://gzqeyzpl:nTrc8hRERCiupG9e@qqkkcunk.rabbitmq-bigwig.lshift.net:17335/qqkkc unk
puts amqp
bunny = Bunny.new(amqp)
bunny.start
exchange = bunny.exchange('reporting', type: :topic, durable: true)
%w{builds.common builds.jvmotp builds.php builds.rails builds.requests builds.spree reporting.jobs.builds.common reporting.jobs.builds.jvmotp reporting.jobs.builds.php reporting.jobs.builds.rails reporting.jobs.builds.spree reporting.jobs.logs reporting.jobs.logs.0 reporting.jobs.logs.1 reporting.jobs.logs.2 reporting.jobs.logs.3 reporting.jobs.logs.4 reporting.jobs.logs.5 reporting.jobs.logs.6 reporting.jobs.logs.7 reporting.jobs.logs.8 reporting.jobs.logs.9 reporting.workers sync.user}.each do |queue_name|
bunny.queue(queue_name, durable: true)
end