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

Commit

Permalink
retire old stage environment
Browse files Browse the repository at this point in the history
  • Loading branch information
tallenaz committed Dec 11, 2018
1 parent 69956fc commit b32566a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
2 changes: 0 additions & 2 deletions bin/createBag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ module SdrServices
case `hostname -s`.chomp
when "sul-sdr-services", "sdr-services-app-stage", "sdr-services-app-prod"
"production.rb"
when "sdr-services-test"
"sdr-services-test.rb"
else
'development'
end
Expand Down
2 changes: 0 additions & 2 deletions bin/objectFileInfor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ module SdrServices
case `hostname -s`.chomp
when "sul-sdr-services", "sdr-services-app-stage", "sdr-services-app-prod"
"production.rb"
when "sdr-services-test"
"sdr-services-test.rb"
else
'development'
end
Expand Down
9 changes: 0 additions & 9 deletions config/deploy/new_stage.rb

This file was deleted.

8 changes: 3 additions & 5 deletions config/deploy/stage.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
ENV['APP_ENV'] ||= 'staging'

set :default_env, 'APP_ENV' => ENV['APP_ENV']

server 'sdr-services-test.stanford.edu', user: 'sdr2service', roles: %w{app}
server 'sdr-services-app-stage.stanford.edu', user: 'sdr2service', roles: %w{app}

Capistrano::OneTimeKey.generate_one_time_key!

set :honeybadger_env, 'stage'

set :deploy_to, '/opt/app/sdr2service/sdr-services-app'

0 comments on commit b32566a

Please sign in to comment.