capistrano-mb 0.30.0 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13018566887440950e1972872f1e386738fed32a
|
4
|
+
data.tar.gz: 552f540aafb63cb054544caf30364b42bfa21976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a13aa35ca383b18a16663bd18855d6119bcb771c5af7452d5b2c03a80fa1a1bf158c3ff8ff06ef270c436e53fd2b6882a7df67535f5002b671b05cd4ce8706a9
|
7
|
+
data.tar.gz: e8bc4071f4577399c6e10e6aa3b170e0f54976f06306126032c367bf03d420665df15c57f665f2b1627d72640e2a90d12ba55ef61eadcf0c985a83f902e4349c
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
* Your contribution here!
|
4
4
|
|
5
|
+
## [0.31.0][] (2016-10-14)
|
6
|
+
|
7
|
+
* Ensure `software-properties-common` package is installed during `provision:14_04` so that `apt-add-repository` works.
|
8
|
+
* Don't echo dotenv values for keys with `pepper` in the name.
|
9
|
+
* Add `ntp` to the list of packages installed on all server roles.
|
10
|
+
* Fix "Capistrano tasks may only be invoked once" warning when using `deploy:migrate_and_restart` with Sidekiq.
|
11
|
+
|
5
12
|
## [0.30.0][] (2016-08-30)
|
6
13
|
|
7
14
|
* Change the hooks such that `mb:crontab` is run at the end of every deployment,
|
@@ -181,7 +188,8 @@ Flush console output after each line is printed. This allows deployment progress
|
|
181
188
|
|
182
189
|
Initial Rubygems release!
|
183
190
|
|
184
|
-
[Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.
|
191
|
+
[Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.31.0...HEAD
|
192
|
+
[0.31.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.30.0...v0.31.0
|
185
193
|
[0.30.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.29.0...v0.30.0
|
186
194
|
[0.29.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.28.0...v0.29.0
|
187
195
|
[0.28.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.27.0...v0.28.0
|
@@ -1,5 +1,6 @@
|
|
1
1
|
mb_recipe :aptitude do
|
2
2
|
during :provision, %w(upgrade install)
|
3
|
+
before "provision:14_04", "mb:aptitude:install_software_properties"
|
3
4
|
before "provision:14_04", "mb:aptitude:install_postgres_repo"
|
4
5
|
before "provision:14_04", "mb:aptitude:change_postgres_packages"
|
5
6
|
end
|
@@ -54,6 +55,15 @@ namespace :mb do
|
|
54
55
|
set(:mb_aptitude_packages, packages)
|
55
56
|
end
|
56
57
|
|
58
|
+
desc "Install package needed for apt-add-repository on 14.04"
|
59
|
+
task :install_software_properties do
|
60
|
+
privileged_on roles(:all) do |host|
|
61
|
+
unless _already_installed?("software-properties-common")
|
62
|
+
_install("software-properties-common")
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
57
67
|
def _already_installed?(pkg)
|
58
68
|
test(:sudo, "dpkg", "-s", pkg, "2>/dev/null", "|", :grep, "-q 'ok installed'")
|
59
69
|
end
|
@@ -32,6 +32,9 @@ namespace :mb do
|
|
32
32
|
|
33
33
|
desc "restart sidekiq"
|
34
34
|
task :restart do
|
35
|
+
# Re-enable the "stop" task, just in case we called it once already
|
36
|
+
# (as would happen during deploy:migrate_and_restart).
|
37
|
+
Rake::Task["mb:sidekiq:stop"].reenable
|
35
38
|
invoke "mb:sidekiq:stop"
|
36
39
|
invoke "mb:sidekiq:start"
|
37
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-mb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
160
|
rubyforge_project:
|
161
|
-
rubygems_version: 2.6.
|
161
|
+
rubygems_version: 2.6.7
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Additional Capistrano 3 recipes
|