Liking cljdoc? Tell your friends :D

monkey.ci.containers.oci

Container runner implementation that uses OCI container instances.

Container runner implementation that uses OCI container instances.
raw docstring

add-configclj

(add-config conf)
source

build-sidclj

source

calc-credit-multiplierclj

Calculates credit multiplier according to instance config

Calculates credit multiplier according to instance config
sourceraw docstring

container-startclj

(container-start ctx)

Indicates the container script has started. This means the job is actually running, since events are proliferated by the sidecar, so if events arrive, we're sure that the sidecar is running.

Indicates the container script has started.  This means the job is actually running,
since events are proliferated by the sidecar, so if events arrive, we're sure that
the sidecar is running.
sourceraw docstring

container-start-timeoutclj

Max msecs to wait until container has started

Max msecs to wait until container has started
sourceraw docstring

end-on-ci-failureclj

Fails the job when we can't create a container instance

Fails the job when we can't create a container instance
sourceraw docstring

filter-container-jobclj

Terminates processing when there is no instance id in the state, so it's not a container job.

Terminates processing when there is no instance id in the state, so it's not a container job.
sourceraw docstring

get-buildclj

source

get-configclj

source

get-credit-multiplierclj

source

get-instance-idclj

(get-instance-id ctx)
source

instance-configclj

(instance-config {:keys [job build oci] :as conf})

Generates the configuration for the container instance. It has a container that runs the job, as configured in the :job, and next to that a sidecar that is responsible for capturing the output and dispatching events. If configured, it also

Generates the configuration for the container instance.  It has 
a container that runs the job, as configured in the `:job`, and
next to that a sidecar that is responsible for capturing the output
and dispatching events.  If configured, it also 
sourceraw docstring

job-idclj

source

job-queuedclj

(job-queued ctx)
source

load-instance-idclj

source

make-routesclj

(make-routes conf build)
source

max-pod-cpusclj

Max number of cpu's to assign to a pod

Max number of cpu's to assign to a pod
sourceraw docstring

max-pod-memoryclj

Max memory that can be assigned to a pod, in gbs

Max memory that can be assigned to a pod, in gbs
sourceraw docstring

prepare-instance-configclj

source

save-instance-idclj

Stores instance id taken from the instance creation response in the job state.

Stores instance id taken from the instance creation response in the job state.
sourceraw docstring

set-buildclj

(set-build ctx b)
source

set-configclj

(set-config ctx c)
source

set-credit-multiplierclj

(set-credit-multiplier ctx cm)
source

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

× close