Another implementation of a job runner that uses OCI container instances. This one uses mailman-style events instead of manifold. This should make it more robust and better suited for multiple replicas. Instead of waiting for a container instance to complete, we just register multiple event handlers that follow the flow.
Another implementation of a job runner that uses OCI container instances. This one uses mailman-style events instead of manifold. This should make it more robust and better suited for multiple replicas. Instead of waiting for a container instance to complete, we just register multiple event handlers that follow the flow.
(decrypt-ssh-keys vault)
Interceptor that decrypts ssh keys on incoming build event
Interceptor that decrypts ssh keys on incoming build event
(delete-instance client ctx)
Deletes the container instance associated with the build
Deletes the container instance associated with the build
(instance-config config build)
Prepares container instance configuration to run a build. It contains two containers, one for the controller process and another one for the script itself. The controller is responsible for preparing the workspace and starting an API server, which the script will connect to.
Prepares container instance configuration to run a build. It contains two containers, one for the controller process and another one for the script itself. The controller is responsible for preparing the workspace and starting an API server, which the script will connect to.
Interceptor that fetches build runner details from the db. This assumes the db is present in the context.
Interceptor that fetches build runner details from the db. This assumes the db is present in the context.
(make-routes conf vault)
Creates event handling routes for the given oci configuration
Creates event handling routes for the given oci configuration
Interceptor that stores build runner details for oci, such as container instance ocid. This assumes the db is present in the context.
Interceptor that stores build runner details for oci, such as container instance ocid. This assumes the db is present in the context.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close