Commit graph

15 commits

Author SHA1 Message Date
Oliver Davies 58e454b2c2 Fix TTY in run files for Drupal projects 2023-12-15 13:28:55 +00:00
Oliver Davies 7c17007d84 refactor(validator): remove duplicate constraints
e.g. if a constraint is a choice of strings, that implies the value must
be a string so there's no need for an additional type constraint.
2023-11-25 08:55:50 +00:00
Oliver Davies fecc65b655 fix(git-hooks): Set TTY if using Docker 2023-11-23 08:27:05 +00:00
Oliver Davies baaf3bf16b refactor: add isDocker and isFlake to the
...Configuration DTO
2023-11-23 08:24:34 +00:00
Oliver Davies ebc4d899b2 refactor(git-hooks): use long set names
Use the long name versions for `set` to be consistent with `run` files.
2023-11-23 07:04:58 +00:00
Oliver Davies 8eb8a9d6e3 fix: recursively merge default values 2023-11-23 06:58:10 +00:00
Oliver Davies afb630c93e fix(git-hooks): use run test:commit
Use the `run` script instead of `just` as its no longer being generated.
2023-11-23 06:38:35 +00:00
Oliver Davies 9ae880664a test: add violation message assertions 2023-11-23 01:19:33 +00:00
Oliver Davies fb53f307af test: adding extra databases 2023-11-23 00:59:27 +00:00
Oliver Davies 16ad71f4f4 chore: add missing values to the Config DTO
* Add `dockerfile.stages.*.extra_directories` as an optional list of
  strings.
* Allow `php.phpstan` and `php.phpcs` to be `false` or a Collection so
  their configuration files can not be generated.
* Add `php.phpunit` and allow it to be set to `false` so its
  configuration files can not be generated.
* Add `database.extra_databases`
* Add `php.phpstan.baseline` as an optional boolean.
* Add `node.version` as a string.
2023-11-22 23:50:20 +00:00
Oliver Davies b32813f4d7 chore: use new database credentials by default
Use the new database credentials by default.

The `experimental.useNewDatabaseCredentials` feature flag can be removed
once it's been removed from all `build.yaml` files.
2023-11-22 23:45:49 +00:00
Oliver Davies b1571f3174 refactor(run): change set statements
Use the long form name for each option instead of short hand names or a
combination of both - e.g. `set -eu` and `set -o pipefail`.
2023-11-22 21:53:50 +00:00
Oliver Davies 9b360be240 build(run): add test task 2023-11-22 21:49:11 +00:00
Oliver Davies e9d5c4ea6f test: ensure the project type is valid 2023-11-22 21:48:49 +00:00
Oliver Davies 08852c898a docs: add CHANGELOG.md 2023-11-22 21:45:02 +00:00