chore: rename drupal-project to drupal
This commit is contained in:
parent
b359927080
commit
f14021901c
1 changed files with 4 additions and 25 deletions
29
build.yaml
29
build.yaml
|
|
@ -1,6 +1,6 @@
|
|||
name: docker-example-drupal-localgov
|
||||
language: php
|
||||
type: drupal-project
|
||||
type: drupal
|
||||
|
||||
web:
|
||||
type: nginx
|
||||
|
|
@ -21,39 +21,18 @@ drupal:
|
|||
|
||||
docker-compose:
|
||||
services:
|
||||
database: ~
|
||||
php:
|
||||
build:
|
||||
target: build
|
||||
- database
|
||||
- php
|
||||
- web
|
||||
|
||||
dockerfile:
|
||||
stages:
|
||||
build:
|
||||
extends: base
|
||||
packages:
|
||||
- git
|
||||
- libpng-dev
|
||||
- libzip-dev
|
||||
- mariadb-client
|
||||
- unzip
|
||||
extensions:
|
||||
install:
|
||||
- gd
|
||||
- pdo_mysql
|
||||
- zip
|
||||
commands:
|
||||
- composer validate --strict
|
||||
- composer install
|
||||
extra_directories:
|
||||
- assets
|
||||
|
||||
test:
|
||||
extends: base
|
||||
commands:
|
||||
- parallel-lint src --no-progress
|
||||
- phpcs -vv
|
||||
- phpstan
|
||||
- phpunit --testdox
|
||||
|
||||
experimental:
|
||||
useNewDatabaseCredentials: true
|
||||
|
|
|
|||
Reference in a new issue