-
Notifications
You must be signed in to change notification settings - Fork 0
/
runner.yml.dist
49 lines (47 loc) · 2.61 KB
/
runner.yml.dist
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
drupal:
root: "build"
base_url: "http://css-aspect-ratio.docksal"
database:
host: "db"
port: "3306"
name: "drupal_upb"
user: "user"
password: "user"
post_install:
- "./vendor/bin/drush en -y css_aspect_ratio"
- "./vendor/bin/drush cr"
settings:
settings:
hash_salt: "hash"
container_yamls:
- "/var/www/${drupal.root}/sites/development.services.yml"
cache:
bins:
dynamic_page_cache: "cache.backend.null"
page_cache: "cache.backend.null"
render: "cache.backend.null"
extension_discovery_scan_tests: TRUE
file_scan_ignore_directories:
- "vendor"
selenium:
host: "http://selenium:4444"
browser: "chrome"
commands:
drupal:site-setup:
- { task: "symlink", from: "../../../../config", to: "${drupal.root}/modules/custom/css_aspect_ratio/config" }
- { task: "symlink", from: "../../../../css", to: "${drupal.root}/modules/custom/css_aspect_ratio/css" }
- { task: "symlink", from: "../../../../src", to: "${drupal.root}/modules/custom/css_aspect_ratio/src" }
- { task: "symlink", from: "../../../../templates", to: "${drupal.root}/modules/custom/css_aspect_ratio/templates" }
- { task: "symlink", from: "../../../../tests", to: "${drupal.root}/modules/custom/css_aspect_ratio/tests" }
- { task: "symlink", from: "../../../../css_aspect_ratio.info.yml", to: "${drupal.root}/modules/custom/css_aspect_ratio/css_aspect_ratio.info.yml" }
- { task: "symlink", from: "../../../../css_aspect_ratio.libraries.yml", to: "${drupal.root}/modules/custom/css_aspect_ratio/css_aspect_ratio.libraries.yml" }
- { task: "symlink", from: "../../../../css_aspect_ratio.module", to: "${drupal.root}/modules/custom/css_aspect_ratio/css_aspect_ratio.module" }
- { task: "symlink", from: "../../../../css_aspect_ratio.routing.yml", to: "${drupal.root}/modules/custom/css_aspect_ratio/css_aspect_ratio.routing.yml" }
- { task: "symlink", from: "../../../../css_aspect_ratio.services.yml", to: "${drupal.root}/modules/custom/css_aspect_ratio/css_aspect_ratio.services.yml" }
# Generate settings.testing.php, it will be used when running functional tests.
- { task: "process-php", type: "write", config: "drupal.settings", source: "${drupal.root}/sites/default/default.settings.php", destination: "${drupal.root}/sites/default/settings.testing.php", override: true }
- { task: "run", command: "drupal:drush-setup" }
- { task: "run", command: "drupal:settings-setup" }
- { task: "run", command: "setup:phpunit" }
setup:phpunit:
- { task: "process", source: "phpunit.xml.dist", destination: "phpunit.xml" }