-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Darren Hardy
committed
Mar 31, 2016
1 parent
39fc599
commit 5a2b105
Showing
8 changed files
with
26 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,14 @@ | |
lock '3.4.0' | ||
|
||
set :application, 'sul-pub' | ||
set :repo_url, '[email protected]:sul-dlss/sul-pub.git' | ||
set :user, 'pub' | ||
set :repo_url, "[email protected]:sul-dlss/#{fetch(:application)}.git" | ||
set :ssh_options, keys: [Capistrano::OneTimeKey.temporary_ssh_private_key_path], | ||
forward_agent: true, | ||
auth_methods: %w(publickey password) | ||
|
||
# Default deploy_to directory is /var/www/my_app_name | ||
set :deploy_to, '/home/***REMOVED***/sulbib' | ||
set :home_directory, "/opt/app/#{fetch(:user)}" | ||
set :deploy_to, "#{fetch(:home_directory)}/#{fetch(:application)}" | ||
|
||
# Default branch is the current checkout branch | ||
ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call | ||
|
@@ -32,5 +33,3 @@ | |
) | ||
|
||
before 'deploy:publishing', 'squash:write_revision' | ||
|
||
# set :bundle_audit_ignore, %w(CVE-2015-3226) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
server 'sulcap-dev.stanford.edu', user: '***REMOVED***', roles: %w(web db app) | ||
server 'sul-pub-dev.stanford.edu', user: fetch(:user), roles: %w(web db app) | ||
|
||
Capistrano::OneTimeKey.generate_one_time_key! | ||
|
||
set :rails_env, 'development' | ||
set :deploy_via, :copy | ||
|
||
# This is a development box, do not exclude development gems. | ||
set :bundle_without, 'test' | ||
set :bundle_without, %w(test).join(' ') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
server 'sulcap-prod.stanford.edu', user: '***REMOVED***', roles: %w(web db app) | ||
server 'sul-pub-prod.stanford.edu', user: fetch(:user), roles: %w(web db app) | ||
|
||
Capistrano::OneTimeKey.generate_one_time_key! | ||
|
||
set :rails_env, 'production' | ||
set :deploy_via, :copy | ||
set :bundle_without, %w(test development).join(' ') | ||
|
||
set :log_level, :info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
server 'sulcap-qa.stanford.edu', user: '***REMOVED***', roles: %w(web db app) | ||
server 'sul-pub-qa.stanford.edu', user: fetch(:user), roles: %w(web db app) | ||
|
||
Capistrano::OneTimeKey.generate_one_time_key! | ||
|
||
set :rails_env, 'production' | ||
set :deploy_via, :copy | ||
|
||
set :bundle_without, %w(test development).join(' ') | ||
|
||
set :log_level, :info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
server 'sul-pub-stage.stanford.edu', user: fetch(:user), roles: %w(web db app) | ||
|
||
Capistrano::OneTimeKey.generate_one_time_key! | ||
|
||
set :rails_env, 'production' | ||
|
||
set :bundle_without, %w(test development).join(' ') | ||
|
||
set :log_level, :info |
This file was deleted.
Oops, something went wrong.