mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 10:17:32 +00:00
2 KiB
2 KiB
Changelog
2023-12-15
Fixed
- Make
TTY
configurable inrun
files for Drupal projects.
2023-11-24
Changed
- Simplified constraints on properties within the
Config
DTO class.
2023-11-23
Added
- Test assertions for the expected violation messages.
Fixed
- The
pre-push
Git hook should use./run test:commit
instead ofjust test-commit
sincejust
is no longer used. - Recursively merge
build.defaults.yaml
into the given configuration. - Set
TTY
in thepre-push
Git hook so it can run if using Docker.
Changed
- Replace
set -ueo
in Git hook templates to use the long names and be consistent withrun
scripts. - Add
isDocker
andisFlake
to the Configuration DTO and remove duplicate variables within templates.
2023-11-22
Added
- Add CHANGELOG.md.
- Add missing validation rules to the
Configuration
DTO object.- Add
dockerfile.stages.*.extra_directories
as an optional list of strings (used in the Drupal Commerce Kickstart example). - Allow
php.phpstan
andphp.phpcs
to befalse
or a Collection so their configuration files can not be generated (used in the Drupal Commerce Kickstart example). - Add
php.phpunit
and allow it to be set tofalse
so its configuration files can not be generated (used in the Drupal Commerce Kickstart example).- No further PHPUnit configuration is supported.
- Add
database.extra_databases
- Add
php.phpstan.baseline
as an optional boolean. - Add
node.version
as a string.
- Add
- Add a test to ensure extra databases is an optional array of non-blank strings.
- Add a test to ensure the project type is a valid type.
- Add a test to ensure the web server is a valid type.
- Add a
test
task torun
script.
Changed
App\Enum\ProjectType
now returns a string.App\Enum\Webserver
now returns a string.ConfigurationValidatorTest
no longer performs serialisation.- Use
set -o errexit
andset -o pipefail
inrun
scripts instead ofset -eu
. - Use new database credentials by default.