Commit graph

351 commits

Author SHA1 Message Date
Oliver Davies 52b370fbf3 Re-add src/Controllers 2024-08-10 13:41:10 +01:00
Oliver Davies afcca18c9e drupal: make simpletest DB URL configurable 2024-08-10 13:40:50 +01:00
Oliver Davies 5eb658ddec Delete the translations directory 2024-08-04 18:39:05 +01:00
Oliver Davies 87848bd0ac Delete the dist directory 2024-08-03 22:54:30 +01:00
Oliver Davies de7c734b8a Delete the Controller directory 2024-08-03 22:50:57 +01:00
Oliver Davies cf15b8bac1 Add supported projects 2024-08-03 22:42:03 +01:00
Oliver Davies af3c1fb840 Automatically find the build configuration file
Automatically find and use a `build-configs.yaml` or `build.yaml` if it
exists.

The `--config-file` option is still available if a custom filename needs
to be used, and it's currently used when running snapshot tests.
2024-08-03 20:56:45 +01:00
Oliver Davies 2ca755ee28 Refactor Actions to Commands 2024-08-03 20:48:15 +01:00
Oliver Davies a83c51bbcd Move console commands into a Console directory 2024-08-03 12:22:19 +01:00
Oliver Davies c1da7e3c5a Add Fractal example 2024-08-03 10:49:11 +01:00
Oliver Davies 39988504d9 fractal: create both Docker and Nix files if needed
The two aren't mutually exclusive so a project could use both.
2024-08-03 10:44:48 +01:00
Oliver Davies 11b72e35d4 Remove unused Terraform templates 2024-08-03 10:39:29 +01:00
Oliver Davies 4938202813 Add Drupal example 2024-08-03 10:32:05 +01:00
Oliver Davies 43f7f13da5 Add sculpin-site and symfony-cli examples 2024-07-31 19:10:05 +01:00
Oliver Davies 7684f05d59 Delete todo 2024-07-31 19:01:49 +01:00
Oliver Davies 7bdb91630a Replace build.yaml with build-configs.yaml 2024-07-31 18:27:18 +01:00
Oliver Davies 5c976b13fb Alias symfony-cli to symfony 2024-07-31 18:21:30 +01:00
Oliver Davies 6a724297b5 Delete .tmuxinator 2024-07-31 18:10:16 +01:00
Oliver Davies 75bbef2dc9 Replace just with run 2024-07-31 18:06:27 +01:00
Oliver Davies bfe0117e5e Update snapshots 2024-07-31 15:11:51 +01:00
Oliver Davies 3d573975cd Fix snapshot test failure 2024-07-31 10:20:28 +01:00
Oliver Davies 8b59f9f1c9 Map the sculpin-site template to the sculpin
...type
2024-07-31 10:20:28 +01:00
Oliver Davies e81303b7bc Add support for the new build-configs.yaml file
- `template` is mapped to `type`.
- Parameters are moved into a `parameters` key.
- `parameters.nix` is mapped to `parameters.flake` (`parameters.flake`
  will be deprecated).
2024-07-31 10:20:28 +01:00
Oliver Davies 5e801fc1b7 sculpin: update .gitignore 2024-07-31 01:46:53 +01:00
Oliver Davies 4e255cd667 Ensure run.local files are located relative to the
...run file

Prevent erroring if `run` is being executed within a sub-directory, like
`assets`.
2024-07-31 01:20:30 +01:00
Oliver Davies ac8246704e Add comments to functions 2024-07-20 13:56:04 +01:00
Oliver Davies 97836712f2 Add run db to connect to the database 2024-07-20 13:52:19 +01:00
Oliver Davies 937f8dce88 Update composer dependencies 2024-07-18 22:17:03 +01:00
Oliver Davies bf5f9256eb Update build configuration files 2024-07-17 20:17:23 +01:00
Oliver Davies e5892e1904 Fix Drupal CI errors 2024-07-17 20:14:56 +01:00
Oliver Davies c888fc2c28 Update build configuration files 2024-06-27 12:16:40 +01:00
Oliver Davies bb9820e052 Set the default URL for Drush to use when
...executing commands
2024-06-27 12:14:45 +01:00
Oliver Davies e00140d4af Add .tmux 2024-06-27 12:14:45 +01:00
Oliver Davies 0aa6d18cd4 Create a Nix derivation with a default package 2024-05-22 09:11:58 +01:00
Oliver Davies 2e701e7dd5 Fix app:generate command
Without this commit, I get this error:

> Unable to find template "common/.githooks/prepare-commit-msg.twig"
(looked into:
phar:///home/opdavies/Code/personal/build-configs/nix-derivation/dist/build-configs/templates).

I don't know why this isn't added by the `templates` value that's
already there, but adding `templates/common/.githooks` explicitly fixes
the error when running the `app:generate` command.
2024-05-21 07:59:36 +01:00
Oliver Davies 605849cb80 Rename the proxy network to proxy
This makes its intent clearer and avoids confusion with the `web`
service.
2024-05-10 23:57:44 +02:00
Oliver Davies abf76c50bb Update hostname to *.docker.localhost
Following updates in https://github.com/opdavies/traefik-development to
add HTTPS support to Docker Compose-based projects, this commit changes
the host name from `*.localhost` to `*.docker.localhost`.

This should allow each project to be available at
https://{project_name}.docker.localhost instead of
http://{project_name}.localhost.
2024-05-10 23:05:38 +02:00
Oliver Davies 43849524a2 Add PHP opcache 2024-04-08 18:12:57 +01:00
Oliver Davies 1369ee750a Remove createInclusiveGitIgnoreFile option 2024-04-04 23:39:37 +01:00
Oliver Davies 988a677ded Always ignore .phpunit.result.cache 2024-04-04 23:37:20 +01:00
Oliver Davies ec44eb402b Add todo 2024-04-04 23:28:00 +01:00
Oliver Davies e84c22b721 Fix build recipe 2024-04-04 19:10:12 +01:00
Oliver Davies 3065597f64 Add Apache support to Drupal 2024-04-04 19:09:53 +01:00
Oliver Davies 2f6673d941 Add just 2024-04-04 18:41:36 +01:00
Oliver Davies 0e33324fd0 Rename .tmuxinator.yml 2024-03-31 10:25:39 +01:00
Oliver Davies b0f7e872e9 Remove flake parts 2024-03-30 18:03:40 +00:00
Oliver Davies f55e19b6b7 Add tmuxinator configuration 2024-03-27 09:33:33 +00:00
Oliver Davies 5957e20d63 Update to PHP 8.2 2024-03-20 13:00:48 +00:00
Oliver Davies 5edd45c121 Update lock file 2024-03-20 13:00:24 +00:00
Oliver Davies bdfc54379a Update CI commands to use just 2024-03-01 20:46:04 +00:00