mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
Fix Drupal CI errors
This commit is contained in:
parent
c888fc2c28
commit
e5892e1904
|
@ -18,9 +18,9 @@ function ci:test {
|
||||||
|
|
||||||
docker compose version
|
docker compose version
|
||||||
|
|
||||||
docker network create traefik_proxy
|
docker network create traefik_proxy || true
|
||||||
|
|
||||||
cp --no-clobber .env.example .env
|
cp --no-clobber .env.example .env || true
|
||||||
|
|
||||||
docker compose build --progress plain
|
docker compose build --progress plain
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ function install {
|
||||||
|
|
||||||
function lint:dockerfile {
|
function lint:dockerfile {
|
||||||
docker container run --rm -i \
|
docker container run --rm -i \
|
||||||
hadolint/hadolint hadolint --ignore DL3008 --ignore DL3059 -t style "${@}" - < Dockerfile
|
hadolint/hadolint hadolint --ignore DL3008 --ignore DL3022 --ignore DL3059 -t style "${@}" - < Dockerfile
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if not php.phpcs is same as false and not php.phpstan is same as false %}
|
{% if not php.phpcs is same as false and not php.phpstan is same as false %}
|
||||||
|
|
Loading…
Reference in a new issue