Orca's web server is responsible for (1) creating docker images from Dockerfiles sent over by Bottlenose, (2) keeping jobs submitted that rely on the image in a temporary queue (and releasing them afterwards) while an image is being built, and (3) removing docker images when they have been used after n number of days (currently 7).
Solution (Changes Made)
Creation of docker images
Adding jobs to temporary queue while image is being built
Subprocess for touching [image].tgz
Redis locking for atomic operations
Still Todo
Clean up script
API endpoint for sending Dockerfiles/their content
Check if SHA in Redis inside createJob and createImmediateJob
Feature/Problem Description
Orca's web server is responsible for (1) creating docker images from Dockerfiles sent over by Bottlenose, (2) keeping jobs submitted that rely on the image in a temporary queue (and releasing them afterwards) while an image is being built, and (3) removing docker images when they have been used after n number of days (currently 7).
Solution (Changes Made)
Still Todo
createJob
andcreateImmediateJob