Commit graph

34 commits

Author SHA1 Message Date
c3dac42eb0
Only deploy container on master 2022-08-26 10:44:31 +01:00
8ab7e3d70e
Pull existing container to aid build
If layers haven't changed, don't bother rebuilding them
2022-08-26 10:42:38 +01:00
ad255e813d
Add separate deploy stage for container 2022-08-26 10:38:25 +01:00
132040c47d
Remove auth from postgres DB during tests 2022-08-26 00:08:37 +01:00
5f4d8828ab
Use extends syntax
This allows deep merging for config, which is needed for variables`
2022-08-26 00:03:28 +01:00
680a545650
Upload container to registry 2022-08-25 14:27:14 +01:00
10b32da3e0
Add crontab to project
Cron will likely be a duplicate compose service with a different
command.
2022-08-20 20:48:27 +01:00
9f2b2a81c9
Add coverage reports 2022-08-17 19:09:07 +01:00
32412c1172
Docker build doesn't depend on any artifacts 2022-08-03 22:52:51 +01:00
684bb90707
Only download static artifacts for jobs which need them 2022-08-03 22:43:17 +01:00
21fb994445
Only build container as far as production 2022-08-03 22:39:11 +01:00
4917a0fd95
Inline node CI configuration
There's likely only going to be 1
2022-08-03 22:35:55 +01:00
eae2953b89
Add eslint 2022-08-03 21:19:19 +01:00
512f9cd3b9
Add djhtml 2022-08-03 20:37:34 +01:00
e096dd8cf5
Install curlylint 2022-08-03 20:34:18 +01:00
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
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
ed039ce6ed
Use postgres for project db 2022-07-28 20:41:30 +01:00
13c355bf0a
Use pip-tools for dependency management 2022-07-28 18:55:47 +01:00
13f356c900
Use dind and buildkit to build container 2022-07-28 17:25:13 +01:00
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
478f987421
Just install bash during static build 2022-06-12 19:42:15 +01:00
b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
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
f6221a42dd
Remove duplicate checks from test job 2022-06-12 15:55:48 +01:00
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
e2d5101a56
Add linting 2022-06-12 15:24:17 +01:00
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
a2044db646
Run collect_static job after pip and static 2022-06-10 17:20:06 +01:00
2c1cc3e411
Collect static before
Run as a separate job, and then tests split out into 2
2022-06-10 17:15:13 +01:00
85785dddb7
Use Python 3.10 on CI 2022-06-10 17:01:26 +01:00
f5d45e65ba
Set secret key during tests 2022-06-10 16:56:25 +01:00
284d139968
Add pip cache 2022-06-10 16:56:07 +01:00
adb2b3aa8b
Add CI config 2022-06-10 16:46:47 +01:00