Liking cljdoc? Tell your friends :D

monkey.ci.runners.oci

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.
raw docstring

add-ssh-keys-mountclj

(add-ssh-keys-mount conf build)
source

add-ssh-keys-volumeclj

(add-ssh-keys-volume conf build)
source

build-container-nameclj

source

build-scriptclj

source

build-ssh-keysclj

source

config-fileclj

source

config-mountclj

source

config-pathclj

source

config-volclj

source

controller-containerclj

(controller-container config)
source

decrypt-ssh-keysclj

(decrypt-ssh-keys vault)

Interceptor that decrypts ssh keys on incoming build event

Interceptor that decrypts ssh keys on incoming build event
sourceraw docstring

default-containerclj

source

delete-instanceclj

(delete-instance client ctx)

Deletes the container instance associated with the build

Deletes the container instance associated with the build
sourceraw docstring

end-on-ci-failureclj

source

evt-buildclj

source

get-ci-configclj

source

get-ci-responseclj

source

get-runner-detailsclj

source

handle-errorclj

Marks build as failed

Marks build as failed
sourceraw docstring

initialize-buildclj

(initialize-build ctx)
source

instance-configclj

(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.
sourceraw docstring

load-runner-detailsclj

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.
sourceraw docstring

log-config-fileclj

source

log-config-mountclj

source

log-config-volclj

source

m2-cache-dirclj

source

make-routerclj

(make-router conf storage vault)
source

make-routesclj

(make-routes conf vault)

Creates event handling routes for the given oci configuration

Creates event handling routes for the given oci configuration
sourceraw docstring

prepare-ci-configclj

(prepare-ci-config config)
source

root-userclj

source

save-runner-detailsclj

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.
sourceraw docstring

script-containerclj

(script-container config)
source

script-mountclj

source

script-pathclj

source

script-volclj

source

set-ci-configclj

(set-ci-config ctx bi)
source

set-ci-responseclj

(set-ci-response ctx bi)
source

set-runner-detailsclj

(set-runner-details ctx bi)
source

ssh-keys-dirclj

source

ssh-keys-mountclj

source

ssh-keys-volumeclj

source

start-ciclj

(start-ci client)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close