-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.lando.yml
98 lines (98 loc) · 3.09 KB
/
.lando.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: helfi-manuska
recipe: drupal10
config:
via: nginx
webroot: public
php: "8.3"
database: mysql
composer_version: 2
proxy:
mailhog:
- mail.helfimanuska.lndo.site
search:
- admin.solr.lndo.site:8983
services:
mailhog:
type: mailhog
hogfrom:
- appserver
redis:
type: redis
appserver:
xdebug: true
build:
- "/app/vendor/bin/phpcs --config-set installed_paths /app/coder/vendor/drupal/coder/coder_sniffer"
- "/app/vendor/bin/cghooks update"
config:
php: .lando.php.ini
overrides:
environment:
ENVIRONMENT: "local"
PHP_IDE_CONFIG: "serverName=appserver"
SIMPLETEST_BASE_URL: "http://helfi-manuska.lndo.site"
SIMPLETEST_DB: "mysql://drupal10:drupal10@database/drupal10"
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chrome:9515"]'
DRUSH_OPTIONS_URI: "https://helfi-manuska.lndo.site"
TFA_KEY: ''
FILE_PRIVATE_PATH: "/app/private"
chrome:
type: compose
services:
image: drupalci/webdriver-chromedriver:production
command: chromedriver --log-path=/tmp/chromedriver.log --verbose --whitelisted-ips=
elastic:
type: elasticsearch:7
portforward: true
mem: 1025m
solr:
type: solr:8
core: solr
portforward: true
config:
dir: ./.solr/core
database:
portforward: 37001
tooling:
# Create additional commands for lando
install-drupal:
service: appserver
description: Run Citrus specific Drupal 8 installation script
cmd: /app/scripts/citrus/install-drupal-lando.sh
create-drupal-theme:
service: appserver
description: Create Drupal 8 theme for current environment
cmd: /app/scripts/citrus/create-drupal-theme-lando.sh
test:
service: appserver
cmd: "php /app/vendor/bin/phpunit -c /app/phpunit.xml"
test-cs:
service: appserver
description: Run Drupal 8 tests
cmd:
- /app/vendor/bin/phpcs --standard=Drupal,DrupalPractice -n --report=full public/modules/custom
# - /app/vendor/bin/behat --config=/app/tests/behat-lando.yml
platform:
service: appserver
description: Run Platform CLI commands
cmd: /var/www/.platformsh/bin/platform
phplint:
service: appserver
cmd: /app/vendor/bin/phplint
phpcs:
service: appserver
cmd: /app/vendor/bin/phpcs --standard=Drupal --ignore=node_modules,bower_components,vendor --extensions=php,module,inc,install,test,profile,theme,info,yml
phpcsp:
service: appserver
cmd: /app/vendor/bin/phpcs --standard=DrupalPractice --ignore=node_modules,bower_components,vendor --extensions=php,module,inc,install,test,profile,theme,info,yml
phpcbf:
service: appserver
cmd: /app/vendor/bin/phpcbf --standard=Drupal --ignore=node_modules,bower_components,vendor --extensions=php,module,inc,install,test,profile,theme,info,yml
phpunit:
service: appserver
cmd: /app/vendor/bin/phpunit
behat:
service: appserver
cmd: /app/vendor/bin/behat --config=/app/tests/behat-lando.yml
cghooks:
service: appserver
cmd: cghooks