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

add-job-dirclj

(add-job-dir wd)

Adds the directory for the job files in the event to the context

Adds the directory for the job files in the event to the context
sourceraw docstring

arch-argclj

(arch-arg arch)
source

build-cmd-argsclj

(build-cmd-args {:keys [job sid] base :work-dir sd :script-dir :as opts})

Builds command line args for the podman executable

Builds command line args for the podman executable
sourceraw docstring

build-sidclj

source

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-jobclj

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

get-job-dirclj

The directory where files for this job are put

The directory where files for this job are put
sourceraw docstring

get-log-dirclj

The directory where container output is written to

The directory where container output is written to
sourceraw docstring

get-script-dirclj

The directory where script files are stored

The directory where script files are stored
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 conf ctx)
source

job-work-dirclj

(job-work-dir ctx job)
source

make-routesclj

(make-routes {:keys [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

restore-wsclj

(restore-ws workspace)

Prepares the job working directory by restoring the files from the workspace.

Prepares the job working directory by restoring the files from the workspace.
sourceraw docstring

save-jobclj

Saves job to state for future reference

Saves job to state for future reference
sourceraw docstring

set-jobclj

(set-job ctx job)
source

set-job-dirclj

(set-job-dir ctx wd)
source

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

× close