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
|
name: docker-example-drupal-localgov
|
||||||
language: php
|
language: php
|
||||||
type: drupal-project
|
type: drupal
|
||||||
|
|
||||||
web:
|
web:
|
||||||
type: nginx
|
type: nginx
|
||||||
|
|
@ -21,39 +21,18 @@ drupal:
|
||||||
|
|
||||||
docker-compose:
|
docker-compose:
|
||||||
services:
|
services:
|
||||||
database: ~
|
- database
|
||||||
php:
|
- php
|
||||||
build:
|
- web
|
||||||
target: build
|
|
||||||
|
|
||||||
dockerfile:
|
dockerfile:
|
||||||
stages:
|
stages:
|
||||||
build:
|
build:
|
||||||
extends: base
|
|
||||||
packages:
|
|
||||||
- git
|
|
||||||
- libpng-dev
|
|
||||||
- libzip-dev
|
|
||||||
- mariadb-client
|
|
||||||
- unzip
|
|
||||||
extensions:
|
|
||||||
install:
|
|
||||||
- gd
|
|
||||||
- pdo_mysql
|
|
||||||
- zip
|
|
||||||
commands:
|
commands:
|
||||||
- composer validate --strict
|
- composer validate --strict
|
||||||
- composer install
|
- composer install
|
||||||
extra_directories:
|
extra_directories:
|
||||||
- assets
|
- assets
|
||||||
|
|
||||||
test:
|
|
||||||
extends: base
|
|
||||||
commands:
|
|
||||||
- parallel-lint src --no-progress
|
|
||||||
- phpcs -vv
|
|
||||||
- phpstan
|
|
||||||
- phpunit --testdox
|
|
||||||
|
|
||||||
experimental:
|
experimental:
|
||||||
useNewDatabaseCredentials: true
|
useNewDatabaseCredentials: true
|
||||||
|
|
|
||||||
Reference in a new issue