diff options
| author | Luc Donnet | 2013-12-11 14:03:50 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2013-12-11 14:03:50 +0100 | 
| commit | 62dac463665bbe9c5255162c0bbb3b6217a067cb (patch) | |
| tree | fd67f6465f97fc4bb2991331984e4f0adffb38b5 /config/deploy | |
| parent | adb8844abec23b4ab0382d59397cd2e6a0caaa58 (diff) | |
| download | chouette-core-62dac463665bbe9c5255162c0bbb3b6217a067cb.tar.bz2 | |
Add capistrano to chouette2
Diffstat (limited to 'config/deploy')
| -rw-r--r-- | config/deploy/production.rb | 5 | ||||
| -rw-r--r-- | config/deploy/sandbox.rb | 2 | ||||
| -rw-r--r-- | config/deploy/staging.rb | 6 | ||||
| -rw-r--r-- | config/deploy/unstable.rb | 1 | 
4 files changed, 14 insertions, 0 deletions
| diff --git a/config/deploy/production.rb b/config/deploy/production.rb new file mode 100644 index 000000000..43a1351cb --- /dev/null +++ b/config/deploy/production.rb @@ -0,0 +1,5 @@ +server "chouette.cityway.fr", :app, :web, :db, :primary => true +set :copy_exclude, ".git/*" +set :branch, "V2_1_0" +ssh_options[:forward_agent] =   true +ssh_options[:keys] = [File.join(ENV["HOME"], ".ssh", "id_rsa")] diff --git a/config/deploy/sandbox.rb b/config/deploy/sandbox.rb new file mode 100644 index 000000000..f9e1354d6 --- /dev/null +++ b/config/deploy/sandbox.rb @@ -0,0 +1,2 @@ +server "sandbox", :app, :web, :db, :primary => true +set :deploy_via, :remote_cache diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb new file mode 100644 index 000000000..41cedd594 --- /dev/null +++ b/config/deploy/staging.rb @@ -0,0 +1,6 @@ +server "chouette-int.aix.cityway.fr", :app, :web, :db, :primary => true +set :deploy_via, :copy +set :copy_cache, true +set :copy_via, :scp +set :copy_exclude, ".git/*" +set :branch, "V2_1_0" diff --git a/config/deploy/unstable.rb b/config/deploy/unstable.rb new file mode 100644 index 000000000..1eecaf323 --- /dev/null +++ b/config/deploy/unstable.rb @@ -0,0 +1 @@ +server "chouette-int.cityway.fr", :app, :web, :db, :primary => true | 
