Skip to content

A client for running jobs in an opensafely secure environment, requested via job-server (q.v.)

Notifications You must be signed in to change notification settings

stjordanis/job-runner

 
 

Repository files navigation

A runner which encapsulates the task of checking out an OpenSAFELY study repo and storing its results in a particular location.

It also has a watch mode where it polls a REST API for jobs to execute, and posts the result there.

To run in watch mode, copy dotenv-sample to .env and edit its values; then

docker-compose up

To run locally, set environment variables per the environment key in docker-compose.yml, and run:

python run.py watch https://jobs.opensafely.org/jobs

About

A client for running jobs in an opensafely secure environment, requested via job-server (q.v.)

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.4%
  • Dockerfile 8.6%