capistrano-buildpack 0.0.16 → 0.0.17
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.
- checksums.yaml +4 -4
- data/lib/capistrano-buildpack/tasks.rb +3 -0
- data/lib/capistrano-buildpack/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3710176be34648f218894c4e98b9dd3b01592f5
|
|
4
|
+
data.tar.gz: 4394764e59822d7f1147f2e4fe5fd55a66228306
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29cb4a12efe4a8e6b44f6bd96ca7c3b2bb2822a0f9e3306609ca1b3019f5d221969e343922182f5e6c9c9f593765d9caeb8e3b32359ecb62679904defa24e2ae
|
|
7
|
+
data.tar.gz: b91f848d2fcbcf1377ab82d40ff71789994f658b10bcfbd611f48e03ed41bc1e0c0504273b087353c658601f06b5f9b09a91650179bdd67c845f3450aa124a57
|
|
@@ -91,7 +91,10 @@ if Capistrano::Configuration.instance
|
|
|
91
91
|
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}"
|
|
92
92
|
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}"
|
|
93
93
|
|
|
94
|
+
next if concurrency == ''
|
|
95
|
+
|
|
94
96
|
if foreman_export_type.to_s == 'systemd'
|
|
97
|
+
sudo "systemctl daemon-reload"
|
|
95
98
|
sudo "systemctl restart #{application}.target || systemctl start #{application}.target"
|
|
96
99
|
sudo "systemctl restart nginx || systemctl start nginx"
|
|
97
100
|
else
|
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.17
|
|
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: 2018-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Deploy 12-factor applications using Capistrano
|
|
14
14
|
email:
|
|
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
46
46
|
version: '0'
|
|
47
47
|
requirements: []
|
|
48
48
|
rubyforge_project:
|
|
49
|
-
rubygems_version: 2.6.
|
|
49
|
+
rubygems_version: 2.6.13
|
|
50
50
|
signing_key:
|
|
51
51
|
specification_version: 4
|
|
52
52
|
summary: Deploy 12-factor applications using Capistrano
|