Liking cljdoc? Tell your friends :D

monkey.ci.containers.common


abort-fileclj

source

arch-amdclj

source

arch-armclj

source

arch-creditsclj

Credits per cpu for each arch

Credits per cpu for each arch
sourceraw docstring

base-work-dirclj

(base-work-dir build)

Determines the base work dir to use inside the container

Determines the base work dir to use inside the container
sourceraw docstring

checkout-dirclj

source

checkout-subdirclj

(checkout-subdir n)

Returns the path for n as a subdir of the checkout dir

Returns the path for `n` as a subdir of the checkout dir
sourceraw docstring

checkout-volclj

source

config-dirclj

source

config-fileclj

source

config-volclj

source

container-endclj

(container-end ctx)

Indicates job script has terminated. If the sidecar has also ended, the job has been executed

Indicates job script has terminated.  If the sidecar has also ended, the job has been
executed
sourceraw docstring

container-ended?clj

source

credit-multiplierclj

(credit-multiplier arch cpus mem)

Calculates the credit multiplier that needs to be applied for the container instance. This varies depending on the architecture, number of cpu's and amount of memory.

Calculates the credit multiplier that needs to be applied for the container
instance.  This varies depending on the architecture, number of cpu's and 
amount of memory.
sourceraw docstring

ctx->build-sidclj

source

ctx->job-idclj

source

event-fileclj

source

events-dirclj

source

get-container-statusclj

(get-container-status ctx)
source

get-job-stateclj

(get-job-state ctx)

Retrieves state for the job indicated by job-id in the event.

Retrieves state for the job indicated by `job-id` in the event.
sourceraw docstring

home-dirclj

source

ignore-unknown-jobclj

Interceptor that aborts processing if the job indicated in the event is not found in the state. This means the job was handled by another container runner, and should be ignored. Requires state and works in conjunction with register-job.

Interceptor that aborts processing if the job indicated in the event is not found in the
state.  This means the job was handled by another container runner, and should be ignored.
Requires state and works in conjunction with `register-job`.
sourceraw docstring

job-container-nameclj

source

job-scriptclj

source

job-stateclj

(job-state ctx f)

Applies f to job state. Does not update state.

Applies `f` to job state.  Does not update state.
sourceraw docstring

job-work-dirclj

(job-work-dir job build)

The work dir to use for the job in the container. This is the external job work dir, relative to the container checkout dir.

The work dir to use for the job in the container.  This is the external job
work dir, relative to the container checkout dir.
sourceraw docstring

key-dirclj

source

log-dirclj

source

make-sidecar-configclj

(make-sidecar-config {:keys [build job] :as conf})

Creates a configuration map using the runtime, that can then be passed on to the sidecar container.

Creates a configuration map using the runtime, that can then be passed on to the
sidecar container.
sourceraw docstring

promtail-config-dirclj

source

promtail-config-fileclj

source

promtail-config-volclj

source

register-jobclj

Interceptor that registers the job referred to in the event in the state, indicating that it's being handled by this runner. Requires state.

Interceptor that registers the job referred to in the event in the state, indicating
that it's being handled by this runner.  Requires state.
sourceraw docstring

script-dirclj

source

script-volclj

source

set-container-statusclj

source

set-sidecar-statusclj

source

sidecar-cmdclj

Sidecar command list

Sidecar command list
sourceraw docstring

sidecar-container-nameclj

source

sidecar-endclj

(sidecar-end ctx)

Indicates job sidecar has terminated. If the container script has also ended, the job has been executed

Indicates job sidecar has terminated.  If the container script has also ended, the job
has been executed
sourceraw docstring

sidecar-ended?clj

(sidecar-ended? ctx)
source

start-fileclj

source

update-job-stateclj

(update-job-state ctx f & args)

Applies f to job state, updates state.

Applies `f` to job state, updates state.
sourceraw docstring

valid-architecturesclj

source

work-dirclj

source

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

× close