Commit graph

315 commits

Author SHA1 Message Date
Oliver Davies ca8ffc5685 Add more snapshot tests 2023-12-15 15:30:03 +00:00
Oliver Davies 680b72bb64 Add snapshot tests for a basic Drupal project 2023-12-15 15:18:55 +00:00
Oliver Davies 58e454b2c2 Fix TTY in run files for Drupal projects 2023-12-15 13:28:55 +00:00
Oliver Davies 0d622d3121 Add .tmux script
[ci skip]
2023-12-15 12:11:49 +00:00
Oliver Davies de990f3836 Rename DTO class and variable names 2023-12-15 12:09:50 +00:00
Oliver Davies 537a715d74 Fix deprecations since upgrading to Symfony 6 2023-12-09 14:36:04 +00:00
Oliver Davies 8344f16b2e Run the command using Nix 2023-11-29 21:34:19 +00:00
Oliver Davies 00045aaab2 Run the command using Nix 2023-11-29 21:31:37 +00:00
Oliver Davies 2c8f41b784 Unable to create the "cache" directory 2023-11-29 21:27:02 +00:00
Oliver Davies b3cd0d562a Update Symfony versions 2023-11-29 20:49:57 +00:00
Oliver Davies 6ba0390978 composer update 2023-11-29 20:09:05 +00:00
Oliver Davies b1778cad27 Unable to create the "cache" directory 2023-11-29 19:56:04 +00:00
Oliver Davies 161d2b6e84 Force remove, just in case it doesn't exist 2023-11-29 19:38:37 +00:00
Oliver Davies c44033ff45 Remove the var directory from the phar
...configuration
2023-11-29 19:34:58 +00:00
Oliver Davies 9def239aca Add the dist directory so it's present 2023-11-29 19:31:27 +00:00
Oliver Davies 5fd8f2d816 Less output when cleaning up 2023-11-29 19:27:06 +00:00
Oliver Davies 5a129be1ad Split tasks 2023-11-29 19:23:54 +00:00
Oliver Davies c9c9a6d7d6 Build the binary once the tests pass 2023-11-29 19:20:11 +00:00
Oliver Davies b21e22c89a Syntax error 2023-11-29 19:18:03 +00:00
Oliver Davies abd4a9267f Store the current date as an environment variable 2023-11-29 19:15:29 +00:00
Oliver Davies 28b50cadcf Switch to ncipollo/release-action 2023-11-29 19:04:17 +00:00
Oliver Davies 4b442f0132 Create release in CI pipeline 2023-11-29 18:54:06 +00:00
Oliver Davies 0c6cb391b8 Fix critical error when using the compiled phar 2023-11-29 09:59:49 +00:00
Oliver Davies 96ec8d2cc6 Change the output directory 2023-11-29 09:31:09 +00:00
Oliver Davies 87c2f2e496 Allow for running PHPStan on test files and not
...ignoring them within the PHPStan configuration file
2023-11-28 13:31:23 +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 15d4fdbd5a test: use static data providers 2023-11-25 08:25:00 +00:00
Oliver Davies e6a757cd05 fix: typed property error 2023-11-23 08:35:19 +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 df070e1c7d style: add spacing between values 2023-11-22 23:57:23 +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 5627480a1a build: remove justfile 2023-11-22 23:48:54 +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
Oliver Davies 0aaf2cc59e test: remove serialisation
Refactor the tests so they don't need to serialise data, making the
tests simpler and faster to run.
2023-11-22 21:45:02 +00:00
Oliver Davies b65e92b790 test: ensure the web server is a valid type 2023-11-22 21:45:01 +00:00
Oliver Davies 95012241e1 chore: add missing values to the Config DTO
Add missing properties and constraints to the `Config` data transfer
object.
2023-11-22 21:08:18 +00:00
Oliver Davies 517309e222 chore: PHPStan errors 2023-11-22 20:06:30 +00:00
Oliver Davies d5f412ee16 test: re-add integer test 2023-11-18 10:36:11 +00:00
Oliver Davies 2d27c2f71b test: null instead of NULL 2023-11-18 09:37:05 +00:00
Oliver Davies 13bde5fa26 test: re-add null value test assertions 2023-11-18 09:07:47 +00:00