Deployment Service
Manages the lifecycle of a deployment, which represents the automation of an ML model task within Media Magic.
The core entity is a deployment, but as a part of a deployment, there is also jobs, which are the individual tasks which make up a deployment.
Run locally
This service can be ran locally using $ make run-local
.
This will run a Postgres container, a Redis container, and the service itself, which is a Go process on the host, not in a Docker container.
Prerequisites
migrate: https://github.com/golang-migrate/migrate
Integration tests
$ make tests.integration
Protobuf definition
This service exposes a gRPC + Protobuf server, for certain endpoints/functions. You
The protobuf definition can be found in ./proto
, you can re-build the protobuf definitions $ make build.proto
.
Last updated