Open JimOfLeisure opened 2 years ago
It should be noted that there are currently no resource constraints (time, memory) in the task runner. Will need to look into that, too.
Taking notes: An early favorite seems to be to use RabbitMQ for messaging and Celery to run the tasks.
I've already started on this in task-runner/ with a Dockerfile which successfully uses a node 18.3 image with mocha installed to run
mocha /app/test.js
, so mapping an /app directory containing the concatenated submission & test as test.js will run the test.Additional steps will be to figure out how send submissions from the API and have them run.