funcx-faas / funcx-container-service

Apache License 2.0
3 stars 2 forks source link

Container Service Persistence #3

Closed BenGalewsky closed 3 years ago

BenGalewsky commented 4 years ago

As a funcX administrator I want the container service to persist container build requests so I can understand the types of containers being used by deployed functions

Assumptions

  1. Will use SQLAlchemy to persist to a relational database
  2. New REST endpoint to retrieve container build results as well as the full docker image reference (my.registry.address:port/repositoryname)
  3. Save specification as well as build metrics (time)
  4. Save a hash of the build specification

Acceptance Criteria

  1. When I submit a container build request I get back a UID for the request
  2. When I request the results for the UID I get back information about the build
  3. When I request a log for the UID I get back the detailed build log
  4. When I submit the same specification a second time, the build is skipped and I'm given a reference to the existing image
BenGalewsky commented 3 years ago

From the old project plan - closing as obsolete