Commit graph

244 commits

Author SHA1 Message Date
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
Oliver Davies df550dc051 test: update names 2023-11-18 08:54:37 +00:00
Oliver Davies 61d2ca0d76 fix: warning if run.local isn't preset 2023-11-18 08:40:43 +00:00
Oliver Davies 175d63950a ci: run tests 2023-11-06 01:17:53 +00:00
Oliver Davies 1c5eac72bb test: re-add original tests 2023-11-06 01:07:23 +00:00
Oliver Davies 1a4eba7349 chore: switch to nixos-23.05 2023-10-24 17:26:30 +01:00
Oliver Davies fbfd751621 fix(run): local tasks override non-local tasks 2023-10-19 23:07:38 +02:00
Oliver Davies 08e81c5e16 feat(run): include any local tasks 2023-10-19 22:51:30 +02:00
Oliver Davies 7c95164fee feat(flake): ignore .direnv by default 2023-10-19 22:48:40 +02:00
Oliver Davies 02774b820b feat(gitignore): add additional ignored paths 2023-10-18 20:54:36 +02:00
Oliver Davies 696aa5d617 feat(drupal): allow for disabling quality checks
For Commerce Kickstart, there are no custom modules so these checks will
fail in the CI pipeline.
2023-10-18 20:38:53 +02:00
Oliver Davies f58846ef20 feat(fractal): add GitHub Actions template 2023-10-08 17:38:52 +01:00
Oliver Davies db55ceee6c fix(dockerfile): clean up after apt install 2023-10-08 17:38:27 +01:00
Oliver Davies aa3eeeb842 feat(gitignore): add comment 2023-10-08 17:38:09 +01:00
Oliver Davies edbfb3c045 feat(drupal): ignore Docker-related files 2023-10-08 17:24:49 +01:00
Oliver Davies 52bc0f14a4 fix(fractal): add missing steps 2023-10-08 17:24:31 +01:00
Oliver Davies 71175563cd fix(fractal): template error 2023-10-08 10:02:12 +01:00
Oliver Davies 764db99ef8 fix(fractal): start Docker Compose in CI 2023-10-08 09:59:03 +01:00
Oliver Davies 4b67b0edb1 fix(fractal): run inside the container 2023-10-08 09:52:50 +01:00
Oliver Davies f5a8c691f0 chore(run): replace justfiles with run files 2023-10-07 22:23:40 +01:00
Oliver Davies 3a86b4813a build: generate a phar version of build-configs 2023-10-06 23:52:20 +01:00
Oliver Davies ae6155dc39 build(deps): update composer.lock 2023-10-06 21:54:02 +01:00