opensafely-core / backend-server

Infrastructure code for managing partner hosted OpenSAFELY backend servers.
0 stars 2 forks source link

Move jobrunner to using a docker image with autodeployment. #253

Closed bloodearnest closed 1 month ago

bloodearnest commented 1 month ago

This is patterned on how we run airlock:

We get to remove the code/lib dirs, and some of the awkward scripting.

Jobrunner has a lot of management commands, but those are mostly abstracted behind just, and I have added any that were missing to the justfile.

Deploying this will require some post install manuall cleanup of code/lib dirs.

It was difficult to break up into small commits, at its a big refactor that touches a lot of related things.