mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-02 05:47:32 +00:00
Add Drupal example
This commit is contained in:
parent
43f7f13da5
commit
4938202813
44
examples/drupal/build-configs.yaml
Normal file
44
examples/drupal/build-configs.yaml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
---
|
||||||
|
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
|
Loading…
Reference in a new issue