capistrano-magento2 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -2
- data/lib/capistrano/magento2/version.rb +1 -1
- data/lib/capistrano/tasks/deploy.rake +1 -0
- data/lib/capistrano/tasks/magento.rake +17 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5899cb85ebb2927b4fe4204c5fac29bcb4af9021
|
4
|
+
data.tar.gz: da7de9d38d7dc4f6305a9eefe4f79e4f4be7c00b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 148251eaa1d77e14b4d7919051e0da0d8dfefe6057a34500743395d9d8661482655b7dc9f245e6148776df35313da85144df015964e41fbe53fa6b717574de70
|
7
|
+
data.tar.gz: d1f26ea16820b441257fc875098f4feab784e43ee943553373dbfcb36e36166f00faede11361efcce500cc4e455c3cd33fd88f73b16c7ff165a56843ff643a23
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,18 @@
|
|
1
1
|
# Capistrano::Magento2 Change Log
|
2
2
|
|
3
|
+
0.2.3
|
3
4
|
==========
|
4
|
-
Unreleased
|
5
5
|
|
6
|
-
*
|
6
|
+
* Added file check to halt deploy if app/etc/config.php is not present in repository
|
7
|
+
* Added check to verify that app/etc/env.php contains an array with an install date
|
7
8
|
|
9
|
+
0.2.2
|
8
10
|
==========
|
11
|
+
|
12
|
+
* Revert "Add workaround for M2.0.4 bug noted in magento/magento2#4070"
|
13
|
+
|
9
14
|
0.2.1
|
15
|
+
==========
|
10
16
|
|
11
17
|
* Fixed issue with initial deploy failing before 'current' link has been created on target
|
12
18
|
|
@@ -95,6 +95,23 @@ namespace :magento do
|
|
95
95
|
end
|
96
96
|
|
97
97
|
namespace :setup do
|
98
|
+
task :verify do
|
99
|
+
on release_roles :all do
|
100
|
+
unless test "[ -f #{release_path}/app/etc/config.php ]"
|
101
|
+
error "The repository is missing app/etc/config.php. Please install the application and retry!"
|
102
|
+
exit 1
|
103
|
+
end
|
104
|
+
|
105
|
+
unless test %Q[#{SSHKit.config.command_map[:php]} -r '
|
106
|
+
$cfg = include "#{release_path}/app/etc/env.php";
|
107
|
+
exit((int)!isset($cfg["install"]["date"]));
|
108
|
+
']
|
109
|
+
error "No environment configuration could be found. Please configure app/etc/env.php and retry!"
|
110
|
+
exit 1
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
98
115
|
desc 'Run the Magento upgrade process'
|
99
116
|
task :upgrade do
|
100
117
|
on release_roles :all 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.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Alger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|