Liking cljdoc? Tell your friends :D

monkey.ci.containers.podman

Functions for running containers using Podman. We don't use the api here, because it requires a socket, which is not always available. Instead, we invoke the podman command as a child process and communicate with it using the standard i/o streams.

Functions for running containers using Podman.  We don't use the api here, because
it requires a socket, which is not always available.  Instead, we invoke the podman
command as a child process and communicate with it using the standard i/o streams.
raw docstring

add-job-ctxclj

(add-job-ctx initial-ctx)

Adds the job context to the event context, and adds the job from state. Also updates the build in the context so the checkout dir is the workspace dir.

Adds the job context to the event context, and adds the job from state.  Also
updates the build in the context so the checkout dir is the workspace dir.
sourceraw docstring

build-cmd-argsclj

(build-cmd-args job {:keys [build] :as conf})
(build-cmd-args job job-sid wd opts)

Builds command line args for the podman executable

Builds command line args for the podman executable
sourceraw docstring

copy-wsclj

(copy-ws src wd)

Prepares the job working directory by copying all files from src.

Prepares the job working directory by copying all files from `src`.
sourceraw docstring

filter-container-jobclj

Interceptor that terminates when the job in the event is not a container job

Interceptor that terminates when the job in the event is not a container job
sourceraw docstring

get-buildclj

source

get-jobclj

(get-job ctx)
(get-job ctx id)
source

get-log-dirclj

The directory where container output is written to

The directory where container output is written to
sourceraw docstring

get-work-dirclj

The directory where the container process is run

The directory where the container process is run
sourceraw docstring

job-execclj

(job-exec {{:keys [job-id sid status result]} :event})

Invoked after the podman container has exited. Posts a job/executed event.

Invoked after the podman container has exited.  Posts a job/executed event.
sourceraw docstring

job-executed-evtclj

Creates an internal job-executed event, specifically for podman containers. This is used as an intermediate step to save artifacts.

Creates an internal job-executed event, specifically for podman containers.  This is used
as an intermediate step to save artifacts.
sourceraw docstring

job-initclj

(job-init ctx)
source

job-queuedclj

(job-queued ctx)
source

job-work-dirclj

(job-work-dir ctx job)
source

make-routesclj

(make-routes {:keys [build workspace work-dir mailman] :as conf})
source

prepare-child-cmdclj

(prepare-child-cmd ctx)

Prepares podman command to execute as child process

Prepares podman command to execute as child process
sourceraw docstring

require-jobclj

Terminates if no job is present in the state

Terminates if no job is present in the state
sourceraw docstring

save-jobclj

Saves job to state for future reference

Saves job to state for future reference
sourceraw docstring

set-buildclj

(set-build ctx b)
source

set-jobclj

(set-job ctx job)
source

set-log-dirclj

(set-log-dir ctx wd)
source

set-work-dirclj

(set-work-dir ctx wd)
source

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

× close