This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
runner.yml.dist
51 lines (49 loc) · 1.98 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
drupal:
root: "build"
base_url: "http://web:8080/build"
database:
host: "mysql"
port: "3306"
name: "europa_demo"
user: "root"
password: ""
site:
profile: "config_installer"
name: "Europa Demo"
pre_install:
- { task: "chmod", permissions: 0775, file: "${drupal.root}/sites/default" }
- { task: "touch", file: "${drupal.root}/sites/default/settings.php" }
- { task: "chmod", permissions: 0664, file: "${drupal.root}/sites/default/settings.php" }
- { task: "remove", file: "${drupal.root}/sites/default/settings.php" }
post_install:
# OpenEuropa Profile overrides some configuration values in its hook_install(), so we re-run configuration import.
# @todo: Fix this.
- "./vendor/bin/drush cim -y"
- "./vendor/bin/drush cr"
- "./vendor/bin/run drupal:import-interface-translations"
settings:
config_directories:
sync: '../config/sync'
# Configuration for the OpenEuropa Webtools Analytics module:
# config:
# oe_webtools_analytics.settings:
# siteID: '<your siteId>'
# sitePath: '<your sitePath>'
selenium:
host: "http://selenium"
port: "4444"
commands:
drupal:import-interface-translations:
- "./vendor/bin/drush language-import modules/custom/europa_demo_core/translations/fr.po"
- "./vendor/bin/drush language-import modules/custom/europa_demo_core/translations/it.po"
drupal:site-setup:
- { task: "symlink", from: "../../modules", to: "${drupal.root}/modules/custom" }
- { task: "symlink", from: "../../themes", to: "${drupal.root}/themes/custom" }
- { task: "run", command: "drupal:drush-setup" }
- { task: "run", command: "drupal:settings-setup" }
- { task: "run", command: "setup:behat" }
drupal:export-content:
- './vendor/bin/drush dcer node --folder modules/custom/europa_demo_content/content'
- { task: "remove", file: "modules/europa_demo_content/content/user" }
setup:behat:
- { task: "process", source: "behat.yml.dist", destination: "behat.yml" }