File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ definitions:
6
6
export MAGECLI_DB_TAG={{ get "db-image-tag" }}
7
7
export MAGECLI_ES_IMAGE={{ get "es-image-name" }}
8
8
export MAGECLI_ES_TAG={{ get "es-image-tag" }}
9
+ export MAGECLI_PHP_BIN_CMD={{ get "php-bin-cmd" }}
9
10
10
11
parameters : &global
11
12
- name : project
@@ -28,7 +29,7 @@ definitions:
28
29
description : routes used for local development server
29
30
default : $(pwd)/pub/ $(pwd)/phpserver/router.php
30
31
31
- - name : php-cmd
32
+ - name : php-bin- cmd
32
33
type : string
33
34
description : default command to use to trigger local php server
34
35
default : php -d memory_limit=-1 -d max_input_time=3600 -d max_input_vars=10000
Original file line number Diff line number Diff line change 5
5
description : installs magento to the backend services
6
6
parameters : *global
7
7
script :
8
- - *envvars
9
8
- |
10
9
php -d memory_limit=-1 bin/magento setup:install \
11
10
--base-url=http://{{ get "host" }}:{{ get "port" }} \
Original file line number Diff line number Diff line change 1
1
# !/usr/bin/env variant
2
2
interactive : true
3
- parameters : *global
4
3
script : |
5
4
CMD=$(echo {{ index .args }} | sed -r 's/(\[|\])//g')
6
- echo {{ get "php-bin-cmd" }} bin/magento $CMD
5
+ php -d memory_limit=-1 -d max_input_vars=10000 bin/magento $CMD
Original file line number Diff line number Diff line change 1
1
# !/usr/bin/env variant
2
+
2
3
tasks :
3
4
serve :
4
- parameters : *global
5
- script : |
6
- COMMAND="{{ get "php-bin-cmd" }} -S {{ get "host" }}:{{ get "port" }} -t {{ get "routes" }}"
7
- echo $COMMAND
8
- $COMMAND
5
+ parameters : *global
6
+ script :
7
+ - COMMAND="{{ get "php-bin-cmd" }} -S {{ get "host" }}:{{ get "port" }} -t {{ get "routes" }}"
8
+ - echo $COMMAND
9
+ - $COMMAND
You can’t perform that action at this time.
0 commit comments