diff options
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 |
