suite
This commit is contained in:
parent
08cf4baa38
commit
2eff914f12
3
Capfile
3
Capfile
@ -29,8 +29,9 @@ install_plugin Capistrano::SCM::Git
|
||||
require "capistrano/rvm"
|
||||
# require "capistrano/rbenv"
|
||||
# require "capistrano/chruby"
|
||||
require "capistrano/bundler"
|
||||
require "capistrano/rails/assets"
|
||||
require "capistrano/bundler"
|
||||
|
||||
require "capistrano/rails/migrations"
|
||||
# require "capistrano/passenger"
|
||||
|
||||
|
@ -82,6 +82,8 @@ GEM
|
||||
capistrano-rvm (0.1.2)
|
||||
capistrano (~> 3.0)
|
||||
sshkit (~> 1.2)
|
||||
capistrano3-nginx (2.1.6)
|
||||
capistrano (>= 3.0.0)
|
||||
capybara (3.18.0)
|
||||
addressable
|
||||
mini_mime (>= 0.1.3)
|
||||
@ -344,6 +346,7 @@ DEPENDENCIES
|
||||
capistrano-bundler (~> 1.1)
|
||||
capistrano-rails (~> 1.1)
|
||||
capistrano-rvm
|
||||
capistrano3-nginx (~> 2.0)
|
||||
capybara (>= 2.15)
|
||||
carrierwave
|
||||
coffee-rails
|
||||
|
@ -1,3 +1,5 @@
|
||||
#require "rvm/capistrano"
|
||||
|
||||
# config valid for current version and patch releases of Capistrano
|
||||
lock "~> 3.11.0"
|
||||
|
||||
@ -6,6 +8,5 @@ set :application, 'qi6_app'
|
||||
set :domain, 'quartz-www02.sysnove.net'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set :rvm_ruby_version, '2.6.0' # use the same ruby as used locally for deployment
|
||||
set :rvm_autolibs_flag, "read-only"
|
||||
|
@ -5,6 +5,8 @@ server "quartz.snlab.fr", user: "web", roles: %w{web app db}
|
||||
|
||||
set :branch, ENV["REVISION"] || ENV["BRANCH_NAME"] || "master"
|
||||
|
||||
|
||||
|
||||
# server-based syntax
|
||||
# ======================
|
||||
# Defines a single server with a list of roles and multiple properties.
|
||||
@ -37,7 +39,9 @@ set :branch, ENV["REVISION"] || ENV["BRANCH_NAME"] || "master"
|
||||
# For available Capistrano configuration variables see the documentation page.
|
||||
# http://capistranorb.com/documentation/getting-started/configuration/
|
||||
# Feel free to add new variables to customise your setup.
|
||||
set :deploy_to, "/srv/www/web/#{fetch(:application)}/"
|
||||
|
||||
set :repo_url, "git@quartz.snlab.fr:nicolas/#{fetch(:application)}.git"
|
||||
|
||||
|
||||
# Custom SSH Options
|
||||
|
Loading…
x
Reference in New Issue
Block a user