-
Notifications
You must be signed in to change notification settings - Fork 0
/
runner.yml.dist
89 lines (86 loc) · 3.39 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
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
drupal:
root: "build"
base_url: "http://web:8080/build"
database:
host: "mysql"
port: "3306"
name: "drupal"
user: "root"
password: ""
sparql:
host: "sparql"
port: "8890"
site:
profile: "minimal"
name: "OpenEuropa"
post_install:
- "./vendor/bin/drush en oe_theme_helper -y"
- "./vendor/bin/drush en oe_multilingual -y"
- "./vendor/bin/drush en oe_search -y"
- "./vendor/bin/drush en oe_corporate_blocks -y"
- "./vendor/bin/drush en oe_theme_content_page -y"
- "./vendor/bin/drush en oe_theme_content_news -y"
- "./vendor/bin/drush en oe_theme_content_policy -y"
- "./vendor/bin/drush en oe_theme_content_publication -y"
- "./vendor/bin/drush en oe_theme_content_event -y"
- "./vendor/bin/drush en oe_theme_contact_forms -y"
- "./vendor/bin/drush en field_ui -y"
- "./vendor/bin/drush en config_devel -y"
- "./vendor/bin/drush en toolbar -y"
- "./vendor/bin/drush theme:enable oe_theme -y"
- "./vendor/bin/drush theme:enable seven -y"
- "./vendor/bin/drush config-set system.theme default oe_theme -y"
- "./vendor/bin/drush config-set system.theme admin seven -y"
- "./vendor/bin/drush config-set node.settings use_admin_theme 1 -y"
- "./vendor/bin/drush cr"
settings:
settings:
file_scan_ignore_directories:
- "node_modules"
- "bower_components"
- "vendor"
- "${drupal.root}"
file_private_path: 'sites/default/files/private'
databases:
sparql_default:
default:
prefix: ""
host: ${drupal.sparql.host}
port: ${drupal.sparql.port}
namespace: 'Drupal\Driver\Database\sparql'
driver: 'sparql'
selenium:
host: "http://selenium"
port: "4444"
browser: "chrome"
commands:
drupal:site-setup:
- { task: "symlink", from: "../../..", to: "${drupal.root}/themes/custom/oe_theme" }
- { task: "symlink", from: "${drupal.root}/core/.stylelintrc.json", to: ".stylelintrc.json" }
- { task: "run", command: "drupal:drush-setup" }
- { task: "run", command: "drupal:settings-setup" }
# 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: "setup:phpunit" }
- { task: "run", command: "setup:behat" }
setup:phpunit:
- { task: "process", source: "phpunit.xml.dist", destination: "phpunit.xml" }
setup:behat:
- { task: "process", source: "behat.yml.dist", destination: "behat.yml" }
release:
tasks:
- { task: "remove", file: "oe_theme/js" }
- { task: "remove", file: "oe_theme/templates" }
- { task: "copy", from: "css", to: "oe_theme/css" }
- { task: "copy", from: "dist", to: "oe_theme/dist" }
- { task: "copy", from: "images", to: "oe_theme/images" }
- { task: "copy", from: "js", to: "oe_theme/js" }
- { task: "copy", from: "templates", to: "oe_theme/templates" }
- { task: "copy", from: "components", to: "oe_theme/components" }
- task: "append"
file: "oe_theme/oe_theme.info.yml"
text: |
# Information added by OpenEuropa packaging script on ${release.date} at ${release.time}.
project: oe_theme
version: ${release.version}
datestamp: ${release.timestamp}