-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update cap and deploy info for diglib machines
- Loading branch information
Showing
6 changed files
with
17 additions
and
18 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
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,4 +1,4 @@ | ||
lock '3.5.0' | ||
lock '3.17.3' | ||
|
||
set :department, 'ldpd' | ||
set :instance, fetch(:department) | ||
|
@@ -9,14 +9,15 @@ | |
# Default value for :rails_env is fetch(:stage) | ||
set :rails_env, fetch(:deploy_name) | ||
# use the rvm wrapper | ||
set :rvm_custom_path, '~/.rvm-alma8' | ||
set :rvm_ruby_version, fetch(:deploy_name) | ||
|
||
set :repo_url, "[email protected]:cul/#{fetch(:repo_name)}.git" | ||
|
||
set :remote_user, "#{fetch(:instance)}serv" | ||
set :remote_user, "renserv" | ||
# Default deploy_to directory is /var/www/:application | ||
# set :deploy_to, '/var/www/my_app_name' | ||
set :deploy_to, "/opt/passenger/#{fetch(:instance)}/#{fetch(:deploy_name)}" | ||
set :deploy_to, "/opt/passenger/#{fetch(:deploy_name)}" | ||
|
||
# Default value for :scm is :git | ||
# set :scm, :git | ||
|
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,3 +1,3 @@ | ||
server 'all-nginx-dev1.cul.columbia.edu', user: fetch(:remote_user), roles: %w(app db web) | ||
server 'diglib-rails-dev1.cul.columbia.edu', user: fetch(:remote_user), roles: %w(app db web) | ||
# Current branch is suggested by default in development | ||
ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp |
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,3 +1,3 @@ | ||
server "#{fetch(:instance)}-nginx-#{fetch(:stage)}1.cul.columbia.edu", user: fetch(:remote_user), roles: %w(app db web) | ||
server 'diglib-rails-prod1.cul.columbia.edu', user: fetch(:remote_user), roles: %w(app db web) | ||
# In test/prod, deploy from release tags; most recent version is default | ||
ask :branch, proc { `git tag --sort=version:refname`.split("\n").last } |
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,3 +1,3 @@ | ||
server "#{fetch(:instance)}-nginx-#{fetch(:stage)}1.cul.columbia.edu", user: fetch(:remote_user), roles: %w(app db web) | ||
server 'diglib-rails-test1.cul.columbia.edu', user: fetch(:remote_user), roles: %w(app db web) | ||
# In test/prod, deploy from release tags; most recent version is default | ||
ask :branch, proc { `git tag --sort=version:refname`.split("\n").last } |