Skip to content

Commit

Permalink
Revert "Merge pull request #314 from coopdevs/feature/staging"
Browse files Browse the repository at this point in the history
This reverts commit 94a4ad8, reversing
changes made to 6660a79.
  • Loading branch information
sauloperez committed Feb 7, 2018
1 parent fd494f8 commit 3a85664
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 115 deletions.
1 change: 0 additions & 1 deletion Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ require 'capistrano/deploy'
# https://github.com/capistrano/passenger
#
require 'capistrano/rails'
require 'capistrano/rbenv'

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ group :development do
gem 'web-console', '2.1.3'
gem 'capistrano', '~> 3.1'
gem 'capistrano-rails', '~> 1.1'
gem 'capistrano-rbenv', '~> 2.1'
gem 'airbrussh', require: false
gem "quiet_assets"
gem 'localeapp', '2.1.1', require: false
Expand Down
4 changes: 0 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ GEM
capistrano-rails (1.1.5)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rbenv (2.1.3)
capistrano (~> 3.1)
sshkit (~> 1.3)
capybara (2.4.4)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -387,7 +384,6 @@ DEPENDENCIES
byebug
capistrano (~> 3.1)
capistrano-rails (~> 1.1)
capistrano-rbenv (~> 2.1)
capybara (~> 2.4.4)
coffee-rails
dalli
Expand Down
4 changes: 0 additions & 4 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ test:
<<: *defaults
database: <%= ENV.fetch('DATABASE_NAME', 'timeoverflow_test') %>

staging:
<<: *defaults
database: <%= ENV.fetch('DATABASE_NAME', 'timeoverflow_staging') %>

production:
# Set DATABASE_URL environment variable
url: <%= ENV['DATABASE_URL'] %>
4 changes: 1 addition & 3 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
set :application, 'timeoverflow'
set :repo_url, '[email protected]:coopdevs/timeoverflow.git'

set :rbenv_type, :user

# Default branch is :master
ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
# ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp

# Default deploy_to directory is /var/www/my_app_name
# set :deploy_to, '/var/www/my_app_name'
Expand Down
1 change: 0 additions & 1 deletion config/deploy/staging.rb
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
server 'staging.timeoverflow.org', user: 'timeoverflow', roles: %w(app db web)
98 changes: 0 additions & 98 deletions config/environments/staging.rb

This file was deleted.

3 changes: 0 additions & 3 deletions config/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ development:
test:
secret_key_base: fde628fa241d74a55d7b0fc8fe1b650091e296d6a4d1e51beba3bfa2ed5c143801c28aaadf318aaefc4423bca781f9715441298052b4f704a8c44f97968feb00

staging:
secret_key_base: <%= ENV['SECRET_TOKEN'] %>

production:
secret_key_base: <%= ENV['SECRET_TOKEN'] %>

0 comments on commit 3a85664

Please sign in to comment.