Added registrant deploy

This commit is contained in:
Priit Tark 2015-05-13 13:38:55 +03:00
parent ec62f9ccb4
commit 14675f5bb7
2 changed files with 29 additions and 1 deletions

View file

@ -4,8 +4,9 @@
13.05.2015
* Added new environment for EPP server: 'registrant_url'
* Added Registrant portal and apache config example
* Added mina deploy script for registrant
* Added new environment for EPP server: 'registrant_url'
12.05.2015

View file

@ -35,6 +35,15 @@ task :registrar do
set :rails_env, 'alpha'
end
# alpha branch, only use for heavy debugging
task :registrant do
set :domain, 'registry-st'
set :deploy_to, '$HOME/registrant'
set :repository, 'https://github.com/domify/registry' # dev repo
set :branch, 'master'
set :rails_env, 'alpha'
end
# staging
task :st do
set :domain, 'registry-st'
@ -62,6 +71,15 @@ task :registrarst do
set :rails_env, 'staging'
end
# staging
task :registrantst do
set :domain, 'registrant-st'
set :deploy_to, '$HOME/registrant'
set :repository, 'https://github.com/internetee/registry' # production repo
set :branch, 'master'
set :rails_env, 'staging'
end
# production
task :pr do
set :domain, 'registry'
@ -89,6 +107,15 @@ task :registrarpr do
set :rails_env, 'production'
end
# production
task :registrantpr do
set :domain, 'registrant'
set :deploy_to, '$HOME/registrant'
set :repository, 'https://github.com/internetee/registry' # production repo
set :branch, 'master'
set :rails_env, 'production'
end
# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
# They will be linked in the 'deploy:link_shared_paths' step.
set :shared_paths, [