deployinator 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,9 +51,9 @@ namespace :deployinator do
51
51
  before 'deploy:starting', 'deployinator:check_templates'
52
52
 
53
53
  desc 'Write example config files'
54
- task :install do
54
+ task :write_example_configs do
55
55
  run_locally do
56
- execute "mkdir -p config/deploy templates/deploy"
56
+ execute "mkdir", "-p", "config/deploy", "templates/deploy"
57
57
  {
58
58
  "examples/Capfile" => "Capfile_example",
59
59
  "examples/config/deploy.rb" => "config/deploy_example.rb",
@@ -258,6 +258,7 @@ namespace :deploy do
258
258
  end
259
259
  execute "chown", "-R", "#{fetch(:deployer_user_id)}:#{fetch(:deployer_user_id)}", "#{fetch(:deploy_to)}/shared/bundle"
260
260
  end
261
+ execute("rm", "-f", "#{fetch(:external_socket_path)}/unicorn.pid")
261
262
  execute("docker", "run", fetch(:docker_run_bluepill_command))
262
263
  end
263
264
  end
@@ -5,10 +5,12 @@ set :assets_roles, [:app] # Defaults to [:web]
5
5
  #set :assets_prefix, 'prepackaged-assets' # Defaults to 'assets' this should match config.assets.prefix in your rails config/application.rb
6
6
 
7
7
  # If you are using nginxinator and postgresinator, your settings would look similar to this:
8
- set :nginx_container_name, "my-app-staging.example.com-nginx-80-443"
8
+ # if using nginxinator, :nginx_container_name will be set by it, so leave this one commented out:
9
+ #set :nginx_container_name, "my-app-staging.example.com-nginx-80-443"
9
10
  set :external_socket_path, "/my-app-staging.example.com-nginx-80-443-conf/run"
10
11
  set :internal_socket_path, "/var/run/unicorn"
11
- set :postgres_container_name, "my-app-staging.example.com-postgres-5432-master"
12
+ # if using postgresinator, :postgres_container_name will be set by it, so leave this one commented out:
13
+ #set :postgres_container_name, "my-app-staging.example.com-postgres-5432-master"
12
14
  set :postgres_port, "5432"
13
15
  set :ruby_image_name, "snarlysodboxer/ruby:1.9.3-p547"
14
16
  set :ruby_container_name, "my-app-staging.example.com-ruby-bluepill"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-10 00:00:00.000000000 Z
12
+ date: 2014-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano