capistrano-magento2 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -0
- data/lib/capistrano/magento2/defaults.rb +1 -0
- data/lib/capistrano/magento2/version.rb +1 -1
- data/lib/capistrano/tasks/magento.rake +10 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7d4369210d8db99ce4f85161fe74b93f137dc81718189c5a8c140bd9f4d6a62
|
4
|
+
data.tar.gz: 38ef5ba10d7682f664dd250aecfefefff645f0fc45a980dff1da29253df5394f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b75ec700efc122e0582abb86b9ddf96a3e5c5893e2fb9a668e06b67ae3a7c4ac65868b59e6be048e3d68023c2a7a7bd09400bbfcd833151e268e6f05694ff0b
|
7
|
+
data.tar.gz: 79cd63c362f468e47f5385c4c086bf0170aa61281bfe6b886e5d8c0f336745a966b0bc59e1d662c90d0ac5eb69c380222ec231482294c11a615e4de4715d555b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -127,6 +127,7 @@ Before you can use Capistrano to deploy, you must configure the `config/deploy.r
|
|
127
127
|
| `:magento_deploy_jobs` | `4` | Number of threads to use for static content deploy
|
128
128
|
| `:magento_deploy_composer` | `true` | Enables composer install behaviour in the built-in deploy routine
|
129
129
|
| `:magento_deploy_production` | `true` | Enables production specific DI compilation and static content generation
|
130
|
+
| `:magento_deploy_no_dev` | `true` | Enables use of --no-dev flag on composer install
|
130
131
|
| `:magento_deploy_maintenance` | `true` | Enables use of maintenance mode while magento:setup:upgrade runs
|
131
132
|
| `:magento_deploy_confirm` | `[]` | Used to require confirmation of deployment to a set of capistrano stages
|
132
133
|
| `:magento_deploy_chmod_d` | `2770` | Default permissions applied to all directories in the release path
|
@@ -50,6 +50,7 @@ set :magento_deploy_confirm, fetch(:magento_deploy_confirm, [])
|
|
50
50
|
set :magento_deploy_languages, fetch(:magento_deploy_languages, ['en_US'])
|
51
51
|
set :magento_deploy_maintenance, fetch(:magento_deploy_maintenance, true)
|
52
52
|
set :magento_deploy_production, fetch(:magento_deploy_production, true)
|
53
|
+
set :magento_deploy_no_dev, fetch(:magento_deploy_no_dev, true)
|
53
54
|
set :magento_deploy_themes, fetch(:magento_deploy_themes, [])
|
54
55
|
set :magento_deploy_jobs, fetch(:magento_deploy_jobs, nil) # this defaults to 4 when supported by bin/magento
|
55
56
|
set :magento_deploy_strategy, fetch(:magento_deploy_strategy, nil) # Magento 2.2 or later only: http://bit.ly/2yhMvVv
|
@@ -107,7 +107,11 @@ namespace :magento do
|
|
107
107
|
|
108
108
|
on release_roles :all do
|
109
109
|
within release_path do
|
110
|
-
composer_flags = '--
|
110
|
+
composer_flags = '--prefer-dist --no-interaction'
|
111
|
+
|
112
|
+
if fetch(:magento_deploy_no_dev)
|
113
|
+
composer_flags += ' --no-dev'
|
114
|
+
end
|
111
115
|
|
112
116
|
if fetch(:magento_deploy_production)
|
113
117
|
composer_flags += ' --optimize-autoloader'
|
@@ -129,7 +133,11 @@ namespace :magento do
|
|
129
133
|
|
130
134
|
on release_roles :all do
|
131
135
|
within release_path do
|
132
|
-
composer_flags = '--no-
|
136
|
+
composer_flags = '--no-interaction'
|
137
|
+
|
138
|
+
if fetch(:magento_deploy_no_dev)
|
139
|
+
composer_flags += ' --no-dev'
|
140
|
+
end
|
133
141
|
|
134
142
|
if fetch(:magento_deploy_production)
|
135
143
|
composer_flags += ' --optimize'
|
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.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Alger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.7.
|
104
|
+
rubygems_version: 2.7.6
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: A Capistrano extension for Magento 2 deployments.
|