-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrunner.yml.dist
executable file
·62 lines (56 loc) · 2.33 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
50
51
52
53
54
55
56
57
58
59
60
61
62
drupal:
root: web
base_url: 'http://web.test:8080'
site:
profile: minimal
name: Collabora Drupal
database:
host: "mysql"
port: "3306"
name: "drupal"
user: "root"
password: ""
account:
name: admin
password: admin
settings:
settings:
# Allow the test module to be installed.
extension_discovery_scan_tests: true
post_install:
- "./vendor/bin/drush -y theme:enable olivero"
- "./vendor/bin/drush -y theme:enable claro"
- "./vendor/bin/drush -y config-set system.theme default olivero"
- "./vendor/bin/drush -y config-set system.theme admin claro"
- "./vendor/bin/drush -y en toolbar field_ui"
# Switch relevant settings to development mode.
- "./vendor/bin/drush -y config-set system.performance css.preprocess 0"
- "./vendor/bin/drush -y config-set system.performance js.preprocess 0"
- "./vendor/bin/drush -y config-set system.logging error_level verbose"
# Install and configure Collabora Online module.
- "./vendor/bin/drush -y en collabora_online"
- "./vendor/bin/drush -y config-set collabora_online.settings cool.server http://collabora.test:9980/"
- "./vendor/bin/drush -y config-set collabora_online.settings cool.wopi_base http://web.test:8080"
- "./vendor/bin/drush -y config-set collabora_online.settings cool.key_id collabora"
- "./vendor/bin/drush -y config-set collabora_online.settings cool.disable_cert_check 1"
# Configure media module.
- "./vendor/bin/drush -y config-set media.settings standalone_url 1"
# Enable the test module to import its configuration.
# This is needed both for manual testing and evaluation, and for the
# ExistingSite tests.
- "./vendor/bin/drush -y en collabora_online_test"
# In the current version, the test module provides nothing beyond
# configuration, and can be uninstalled after it has done its job.
- "./vendor/bin/drush -y pmu collabora_online_test"
selenium:
host: 'http://selenium'
port: '4444'
browser: chrome
commands:
drupal:site-setup:
- { task: "run", command: "drupal:symlink-project" }
- { 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" }