diff --git a/examples/drupal/build-configs.yaml b/examples/drupal/build-configs.yaml new file mode 100644 index 0000000..e519ccd --- /dev/null +++ b/examples/drupal/build-configs.yaml @@ -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