Commit Graph

22 Commits

Author SHA1 Message Date
Jake Howard eae2953b89
Add eslint 2022-08-03 21:19:19 +01:00
Jake Howard 512f9cd3b9
Add djhtml 2022-08-03 20:37:34 +01:00
Jake Howard e096dd8cf5
Install curlylint 2022-08-03 20:34:18 +01:00
Jake Howard 856079c118
Don't explicitly list python directories
This means as others are added, they'll be automatically linted
2022-07-29 08:46:44 +01:00
Jake Howard c88fddf835
Use full debian for CI
The containers are bigger, but it has all the required dependencies.
It's also what's run in production anyway.
2022-07-28 23:20:06 +01:00
Jake Howard ed039ce6ed
Use postgres for project db 2022-07-28 20:41:30 +01:00
Jake Howard 13c355bf0a
Use pip-tools for dependency management 2022-07-28 18:55:47 +01:00
Jake Howard 13f356c900
Use dind and buildkit to build container 2022-07-28 17:25:13 +01:00
Jake Howard 97d786e969
Move development into docker
This makes working with related services like redis much easier, and
helps start writing a production container
2022-07-28 14:42:12 +01:00
Jake Howard 478f987421
Just install bash during static build 2022-06-12 19:42:15 +01:00
Jake Howard b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
Jake Howard 786bd251a1
Merge collectstatic job into tests
Tests are the only one which really need it. Should make the other tests much faster
2022-06-12 15:58:06 +01:00
Jake Howard f6221a42dd
Remove duplicate checks from test job 2022-06-12 15:55:48 +01:00
Jake Howard c66acadd43
Only use `just` during development
This makes the CI tasks more verbose, but makes the whole setup much easier to manage
2022-06-12 15:52:45 +01:00
Jake Howard e2d5101a56
Add linting 2022-06-12 15:24:17 +01:00
Jake Howard bea6b53bd3
Ensure static build directory still exists during tests
This silences a warning. It's not actually _required_
2022-06-10 17:22:39 +01:00
Jake Howard a2044db646
Run collect_static job after pip and static 2022-06-10 17:20:06 +01:00
Jake Howard 2c1cc3e411
Collect static before
Run as a separate job, and then tests split out into 2
2022-06-10 17:15:13 +01:00
Jake Howard 85785dddb7
Use Python 3.10 on CI 2022-06-10 17:01:26 +01:00
Jake Howard f5d45e65ba
Set secret key during tests 2022-06-10 16:56:25 +01:00
Jake Howard 284d139968
Add pip cache 2022-06-10 16:56:07 +01:00
Jake Howard adb2b3aa8b
Add CI config 2022-06-10 16:46:47 +01:00