capistrano-buildpack 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/capistrano-buildpack/tasks.rb +3 -3
- data/lib/capistrano-buildpack/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MmU3N2Q2ZmUxNDk2NmYwZjdkOTg5N2U4N2VkYWMwNmU0NTAyNDJiYg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3e9923582971ae91298c0419e77b16f0b00f8f2c
|
4
|
+
data.tar.gz: 5287b4dbad980e2c58f7c24942f2d62afae89890
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
Y2UyMTU2MDE4MGE1MDQyNDJkN2Q0ODZlN2IxMjYxMGE1M2RjMTAwYmVlOTIz
|
11
|
-
YTI5OGY2YjM3MjVlMTU2NWFiMTQwZDhhNWY4YWE5YWVhNTkxMTE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MzBhNDBmZDU2ZDdmYzA0NDBjYTVlMjUyZTA2ZDE4MmYwNTY0ZTY2ZTc5MDA5
|
14
|
-
YmYyZTcyZjY2ZTY4YTcwZDdhMWQ4NDA3YTUxNjc1YjkzOTliNzViNDI4ZTAx
|
15
|
-
N2Y0MTY0YzY0YmNhZjkyNzM3YmYzMmU3NzEwMjNhZTAwZDllNTY=
|
6
|
+
metadata.gz: 8c1b39f706a08863749d2e7173ee23f5db041751f991f6c7eb9519b9d1c77e4723ded57770c4af79e068943fe7bfce2724d008d694a6fe910ca9ea40cf90131f
|
7
|
+
data.tar.gz: 0a89a259fc4a97bc32ae4b027f9b2f6f34bf42a8648e0ce3b5164fb8b57564ad8d53414fd42cedca9507019e007ae7763c8224c4e83cc064c41cf5003b8a3301
|
@@ -12,7 +12,7 @@ if Capistrano::Configuration.instance
|
|
12
12
|
_cset(:deploy_to) { "/apps/#{application}" }
|
13
13
|
_cset(:buildpack_url) { abort "Please specify the buildpack URL to use, set :buildpack_url, 'http://example.com/buildpack'" }
|
14
14
|
_cset(:base_port) { abort "Please specify a base port to use, set :base_port, 6500" }
|
15
|
-
_cset(:concurrency) {
|
15
|
+
_cset(:concurrency) { '' }
|
16
16
|
_cset(:app_user) { user }
|
17
17
|
|
18
18
|
_cset :foreman_export_path, "/etc/init"
|
@@ -85,8 +85,8 @@ if Capistrano::Configuration.instance
|
|
85
85
|
_default_server = exists?(:default_server) ? "DEFAULT_SERVER=true" : ''
|
86
86
|
_listen_address = exists?(:listen_address) ? "LISTEN_ADDRESS=#{listen_address}" : ''
|
87
87
|
|
88
|
-
sudo "foreman export #{foreman_export_type} #{foreman_export_path} -d #{release_path} -l /var/log/#{application} -a #{application} -u #{app_user} -p #{base_port} -
|
89
|
-
sudo "env #{_use_ssl} #{_ssl_cert_path} #{_ssl_key_path} #{_force_ssl} #{_force_domain} #{_listen_address} ADDITIONAL_DOMAINS=#{additional_domains.join(',')} #{_default_server} BASE_DOMAIN=$CAPISTRANO:HOST$ nginx-foreman export nginx #{nginx_export_path} -d #{release_path} -l /var/log/apps -a #{application} -u #{app_user} -p #{base_port} -
|
88
|
+
sudo "foreman export #{foreman_export_type} #{foreman_export_path} -d #{release_path} -l /var/log/#{application} -a #{application} -u #{app_user} -p #{base_port} -m #{concurrency}"
|
89
|
+
sudo "env #{_use_ssl} #{_ssl_cert_path} #{_ssl_key_path} #{_force_ssl} #{_force_domain} #{_listen_address} ADDITIONAL_DOMAINS=#{additional_domains.join(',')} #{_default_server} BASE_DOMAIN=$CAPISTRANO:HOST$ nginx-foreman export nginx #{nginx_export_path} -d #{release_path} -l /var/log/apps -a #{application} -u #{app_user} -p #{base_port} -m #{concurrency}"
|
90
90
|
sudo "service #{application} restart || service #{application} start"
|
91
91
|
sudo "service nginx reload || service nginx start"
|
92
92
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-buildpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Keen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Deploy 12-factor applications using Capistrano
|
14
14
|
email:
|
@@ -17,8 +17,8 @@ executables: []
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- .gitignore
|
21
|
-
- .repo.yml
|
20
|
+
- ".gitignore"
|
21
|
+
- ".repo.yml"
|
22
22
|
- Gemfile
|
23
23
|
- LICENSE.txt
|
24
24
|
- README.md
|
@@ -36,17 +36,17 @@ require_paths:
|
|
36
36
|
- lib
|
37
37
|
required_ruby_version: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- -
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
requirements: []
|
48
48
|
rubyforge_project:
|
49
|
-
rubygems_version: 2.
|
49
|
+
rubygems_version: 2.6.8
|
50
50
|
signing_key:
|
51
51
|
specification_version: 4
|
52
52
|
summary: Deploy 12-factor applications using Capistrano
|