Bob-s-Fullstack-Builders / open-code-harmony

We'll make our own CodeWars! With solution sharing and learning as a focus!
MIT License
0 stars 0 forks source link

Create task runner #8

Open JimOfLeisure opened 2 years ago

JimOfLeisure commented 2 years ago

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.

JimOfLeisure commented 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.

JimOfLeisure commented 2 years ago

Taking notes: An early favorite seems to be to use RabbitMQ for messaging and Celery to run the tasks.