Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Commit

Permalink
set up health check
Browse files Browse the repository at this point in the history
  • Loading branch information
davetron5000 committed Oct 28, 2016
1 parent 6cac453 commit 708fcd2
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 54 deletions.
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
RESQUE_BRAIN_INSTANCES=www,admin
RESQUE_BRAIN_INSTANCES_www=redis://localhost:6379
RESQUE_BRAIN_INSTANCES_admin=redis://localhost:6379/1
AWS_ELB_HEALTH_CHECK_SECRET_KEY=123456
HTTP_AUTH_USERNAME=a
HTTP_AUTH_PASSWORD=a
12 changes: 6 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
source 'https://rubygems.org'

gem 'rails', '~> 4.2.5.1'
gem 'sass-rails', '~> 4.0.3'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'rails', '~> 4.2'
gem 'sass-rails'
gem 'uglifier'
gem 'coffee-rails'
gem 'jquery-rails'
gem 'jbuilder', '~> 2.0'
gem 'jbuilder'
gem 'spring', group: :development
gem 'bower-rails'
gem 'resque', github: 'resque/resque', branch: 'master'#'https://github.com/stitchfix/resque.git', branch: 'resque-redis-interface'
Expand All @@ -14,7 +14,7 @@ gem 'puma'
gem "foreman"
gem "cron2english"
gem "rack-timeout"

gem "aws_elb_health_check"
gem 'resqutils'
gem 'resque-retry'
gem 'resque-scheduler'
Expand Down
100 changes: 52 additions & 48 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,46 +23,48 @@ GIT
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.5.2)
actionpack (= 4.2.5.2)
actionview (= 4.2.5.2)
activejob (= 4.2.5.2)
actionmailer (4.2.7.1)
actionpack (= 4.2.7.1)
actionview (= 4.2.7.1)
activejob (= 4.2.7.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.5.2)
actionview (= 4.2.5.2)
activesupport (= 4.2.5.2)
actionpack (4.2.7.1)
actionview (= 4.2.7.1)
activesupport (= 4.2.7.1)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.5.2)
activesupport (= 4.2.5.2)
actionview (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.5.2)
activesupport (= 4.2.5.2)
activejob (4.2.7.1)
activesupport (= 4.2.7.1)
globalid (>= 0.3.0)
activemodel (4.2.5.2)
activesupport (= 4.2.5.2)
activemodel (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
activerecord (4.2.5.2)
activemodel (= 4.2.5.2)
activesupport (= 4.2.5.2)
activerecord (4.2.7.1)
activemodel (= 4.2.7.1)
activesupport (= 4.2.7.1)
arel (~> 6.0)
activesupport (4.2.5.2)
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
arel (6.0.3)
aws_elb_health_check (0.0.1)
rails (~> 4.2.7.1)
bower-rails (0.11.0)
builder (3.2.2)
capybara (2.9.2)
capybara (2.10.1)
addressable
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand All @@ -72,9 +74,9 @@ GEM
childprocess (0.5.9)
ffi (~> 1.0, >= 1.0.11)
cliver (0.3.2)
coffee-rails (4.0.1)
coffee-rails (4.2.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
railties (>= 4.0.0, < 5.2.x)
coffee-script (2.4.1)
coffee-script-source
execjs
Expand Down Expand Up @@ -112,10 +114,10 @@ GEM
minitest (5.9.1)
mono_logger (1.1.0)
multi_json (1.12.1)
newrelic_rpm (3.15.1.316)
newrelic_rpm (3.17.0.325)
nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0)
poltergeist (1.10.0)
poltergeist (1.11.0)
capybara (~> 2.1)
cliver (~> 0.3.1)
websocket-driver (>= 0.2.0)
Expand All @@ -126,16 +128,16 @@ GEM
rack-test (0.6.3)
rack (>= 1.0)
rack-timeout (0.4.2)
rails (4.2.5.2)
actionmailer (= 4.2.5.2)
actionpack (= 4.2.5.2)
actionview (= 4.2.5.2)
activejob (= 4.2.5.2)
activemodel (= 4.2.5.2)
activerecord (= 4.2.5.2)
activesupport (= 4.2.5.2)
rails (4.2.7.1)
actionmailer (= 4.2.7.1)
actionpack (= 4.2.7.1)
actionview (= 4.2.7.1)
activejob (= 4.2.7.1)
activemodel (= 4.2.7.1)
activerecord (= 4.2.7.1)
activesupport (= 4.2.7.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.5.2)
railties (= 4.2.7.1)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
Expand All @@ -150,9 +152,9 @@ GEM
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (4.2.5.2)
actionpack (= 4.2.5.2)
activesupport (= 4.2.5.2)
railties (4.2.7.1)
actionpack (= 4.2.7.1)
activesupport (= 4.2.7.1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (11.3.0)
Expand All @@ -171,13 +173,14 @@ GEM
resque
rubyzip (1.2.0)
rufus-scheduler (3.2.2)
sass (3.2.19)
sass-rails (4.0.5)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.2)
sprockets (~> 2.8, < 3.0)
sprockets-rails (~> 2.0)
selenium-webdriver (2.53.4)
sass (3.4.22)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
selenium-webdriver (3.0.0)
childprocess (~> 0.5)
rubyzip (~> 1.0)
websocket (~> 1.0)
Expand Down Expand Up @@ -205,7 +208,7 @@ GEM
tilt (1.4.1)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (3.0.2)
uglifier (3.0.3)
execjs (>= 0.3.0, < 3)
vegas (0.1.11)
rack (>= 1.0.0)
Expand All @@ -221,20 +224,21 @@ PLATFORMS

DEPENDENCIES
angular-rails-templates!
aws_elb_health_check
bower-rails
capybara
coffee-rails (~> 4.0.0)
coffee-rails
cron2english
dotenv-rails
foreman
jbuilder (~> 2.0)
jbuilder
jquery-rails
newrelic_rpm
nokogiri (>= 1.6.7.2)
poltergeist
puma
rack-timeout
rails (~> 4.2.5.1)
rails (~> 4.2)
rails-html-sanitizer (~> 1.0.3)
rails_12factor
rails_serve_static_assets
Expand All @@ -243,11 +247,11 @@ DEPENDENCIES
resque-retry
resque-scheduler
resqutils
sass-rails (~> 4.0.3)
sass-rails
selenium-webdriver
spring
teaspoon-jasmine
uglifier (>= 1.3.0)
uglifier

BUNDLED WITH
1.13.3
1.12.5
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Rails.application.routes.draw do
root 'home#index'
mount AwsElbHealthCheck::Engine, at: "/aws_elb_health_check"

resources :resques, only: [ :index, :show ] do
resource :jobs, only: [ :show ] do
Expand Down

0 comments on commit 708fcd2

Please sign in to comment.