-
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.
Merge pull request #81 from cul/hours-126_almalinux
Hours 126 almalinux
- Loading branch information
Showing
8 changed files
with
45 additions
and
40 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
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,23 +1,24 @@ | ||
# config valid only for current version of Capistrano | ||
lock "3.8.2" | ||
lock "~> 3.17.3" | ||
|
||
set :department, 'ldpd' | ||
set :instance, fetch(:department) | ||
set :application, 'hours' | ||
set :repo_name, "#{fetch(:department)}-#{fetch(:application)}" | ||
set :repo_name, "ldpd-hours" | ||
set :deploy_name, "#{fetch(:application)}_#{fetch(:stage)}" | ||
# used to run rake db:migrate, etc | ||
# 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, "/opt/passenger/#{fetch(:instance)}/#{fetch(:deploy_name)}" | ||
set :deploy_to, "/opt/passenger/#{fetch(:deploy_name)}" | ||
|
||
# Default value for :log_level is :debug | ||
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,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 "ldpd-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 'ldpd-nginx-test1.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) | ||
# Current branch is suggested by default in development | ||
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