build-configs/examples/drupal/build-configs.yaml
2024-08-03 10:32:05 +01:00

45 lines
700 B
YAML

---
name: project-name
template: drupal
parameters:
database:
type: mariadb
version: 10
drupal:
docroot: web
docker-compose:
services:
- database
- php
- web
dockerfile:
stages:
build:
commands:
- composer validate --strict
- composer install
php:
version: 8.2-fpm-bullseye
phpcs:
paths:
- web/modules/custom
standards:
- Drupal
- DrupalPractice
phpstan:
level: max
paths:
- web/modules/custom
web:
type: nginx
experimental:
createGitHubActionsConfiguration: true
runGitHooksBeforePush: true
useNewDatabaseCredentials: true