capistrano-magento2 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +4 -1
- data/lib/capistrano/magento2/version.rb +1 -1
- data/lib/capistrano/tasks/deploy.rake +11 -5
- data/lib/capistrano/tasks/magento.rake +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7b7b9c0779c38f43fd63be6e4751b8fc62adecb6764d4b57810694110d6ee7f
|
4
|
+
data.tar.gz: 9009bb69c4aeefcdabc24401dc4326f64d3a6a42222a221e7b7ef8161bbd16cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e545fd874fac6edecd5e7bfccc2f305d59475c7ee1a524f9d780985576f1863bb803416e9cb0fcc6d524c3974a84eeef1392ec8b7b045822465732c027cf78de
|
7
|
+
data.tar.gz: 3a4ad3557415fc876dcc46b025723ad78ca334c0344585208b53038e6363505e7be954f4ec89797226db9cf16e371fe7a4b142f4b6c1c353a7121f52450bb6da
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Capistrano::Magento2 Change Log
|
2
2
|
|
3
|
+
0.9.2
|
4
|
+
=========
|
5
|
+
|
6
|
+
* Fixed issue preventing use of `after` tasks on `magento:cache:flush` from being used to trigger service reloads at end of deployment ([issue #143](https://github.com/davidalger/capistrano-magento2/issues/143))
|
7
|
+
* Updated to use DSL method `invoke!` to call iterant tasks ([see capistrano/capistrano/pull/1911](https://github.com/capistrano/capistrano/pull/1911)))
|
8
|
+
|
3
9
|
0.9.1
|
4
10
|
=========
|
5
11
|
|
data/README.md
CHANGED
@@ -6,7 +6,10 @@ A Capistrano extension for Magento 2 deployments. Takes care of specific Magento
|
|
6
6
|
|
7
7
|
## Supported Magento Versions
|
8
8
|
|
9
|
-
|
9
|
+
The following describes minimum Magento versions supported by releases of this gem. Please use an earlier version to deploy older releases of Magento not supported by the most recent iterations of this gem.
|
10
|
+
|
11
|
+
* Version 0.9.x supports deployment of Magento 2.3.0 and later.
|
12
|
+
* Version 0.7.x supports deployment of Magento 2.1.1 and later.
|
10
13
|
|
11
14
|
## Installation
|
12
15
|
|
@@ -63,7 +63,7 @@ namespace :deploy do
|
|
63
63
|
invoke 'magento:deploy:mode:production'
|
64
64
|
end
|
65
65
|
|
66
|
-
invoke 'magento:setup:permissions'
|
66
|
+
invoke! 'magento:setup:permissions'
|
67
67
|
invoke 'magento:maintenance:check'
|
68
68
|
invoke 'magento:maintenance:enable' if fetch(:magento_deploy_maintenance)
|
69
69
|
|
@@ -75,10 +75,16 @@ namespace :deploy do
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
78
|
+
if not fetch(:magento_internal_zero_down_flag)
|
79
|
+
on cache_hosts do
|
80
|
+
within release_path do
|
81
|
+
execute :magento, 'cache:flush'
|
82
|
+
end
|
83
|
+
end
|
84
|
+
invoke 'magento:app:config:import'
|
85
|
+
invoke 'magento:setup:db:schema:upgrade'
|
86
|
+
invoke 'magento:setup:db:data:upgrade'
|
87
|
+
end
|
82
88
|
|
83
89
|
on primary fetch(:magento_deploy_setup_role) do
|
84
90
|
within release_path do
|
@@ -51,7 +51,6 @@ namespace :magento do
|
|
51
51
|
execute :magento, 'cache:flush'
|
52
52
|
end
|
53
53
|
end
|
54
|
-
Rake::Task['magento:cache:flush'].reenable ## make task perpetually callable
|
55
54
|
end
|
56
55
|
|
57
56
|
desc 'Clean Magento cache by types'
|
@@ -297,7 +296,6 @@ namespace :magento do
|
|
297
296
|
end
|
298
297
|
end
|
299
298
|
end
|
300
|
-
Rake::Task['magento:setup:permissions'].reenable ## make task perpetually callable
|
301
299
|
end
|
302
300
|
|
303
301
|
namespace :di do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-magento2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Alger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|