-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathinstall.yaml
More file actions
46 lines (43 loc) · 1.58 KB
/
install.yaml
File metadata and controls
46 lines (43 loc) · 1.58 KB
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
# Details about the install.yaml file are at https://ddev.readthedocs.io/en/latest/users/extend/additional-services/#sections-and-features-of-ddev-get-add-on-installyaml
name: ddev-drupal-core-dev
project_files:
- config.ddev-drupal-core-dev.yaml
- docker-compose.core-dev-selenium.yaml
- web-build/Dockerfile.chromium
- commands/web/drupal
- commands/web/phpunit
- commands/web/nightwatch
- core-dev/gitignore
- core-dev/.env
- core-dev/src/Command/AdminLoginCommand.php
- core-dev/src/Command/BootCommand.php
- core-dev/src/Command/CacheCommand.php
- core-dev/src/Command/TestCommand.php
- core-dev/src/Command/TestBrowserCommand.php
- core-dev/src/Command/TestExtensionsCommand.php
- core-dev/src/Command/UninstallCommand.php
- core-dev/src/Command/LintPhpCsCommand.php
- core-dev/src/Command/LintPhpStanCommand.php
- core-dev/src/Command/LintCssCommand.php
- core-dev/src/Command/LintJsCommand.php
- core-dev/src/Command/LintCspellCommand.php
- core-dev/src/Command/LintCommand.php
- core-dev/src/Command/ModuleInstallCommand.php
post_install_actions:
- cp core-dev/gitignore ../.gitignore
- mkdir -p ../test_output
- chmod +w ../test_output
- |
if ! ddev status | grep -q "chrome:4444"; then
ddev start
fi
- |
if [ -d "../web" ]; then
cp core-dev/.env ../web/core/.env
ddev exec -d /var/www/html/web/core yarn
else
cp core-dev/.env ../core/.env
ddev exec -d /var/www/html/core yarn
fi
- echo "Restarting DDEV and pulling selenium/standalone-chromium image, this may take some time..."
- ddev restart