Liking cljdoc? Tell your friends :D

monkey.ci.process

Process execution functions. Executes build scripts in a separate process, using clojure cli tools.

Process execution functions.  Executes build scripts in a separate process,
using clojure cli tools.
raw docstring

child-configclj

(child-config build api-conf)

Creates a configuration map that can then be passed to the child process.

Creates a configuration map that can then be passed to the child process.
sourceraw docstring

default-script-configclj

Default configuration for the script runner.

Default configuration for the script runner.
sourceraw docstring

execute!clj

(execute! {:keys [checkout-dir build-id] :as build} rt)

Executes the build script located in given directory. This actually runs the clojure cli with a generated build alias. This expects absolute directories. Returns a deferred that will hold the process result when it completes.

Executes the build script located in given directory.  This actually runs the
clojure cli with a generated `build` alias.  This expects absolute directories.
Returns a deferred that will hold the process result when it completes.
sourceraw docstring

exit!clj

(exit! exit-code)
source

generate-depsclj

(generate-deps build rt)

Generates a string that will be added as a commandline argument to the clojure process when running the script. Any existing deps.edn should be used as well.

Generates a string that will be added as a commandline argument
to the clojure process when running the script.  Any existing `deps.edn`
should be used as well.
sourceraw docstring

generate-test-depsclj

(generate-test-deps rt watch?)
source

m2-cache-dirclj

source

restore-cache!clj

(restore-cache! build {:keys [build-cache]})

Restores the m2 cache for the specified repo. This speeds up the child process, because it reduces the number of dependencies it needs to download (likely to zero).

Restores the m2 cache for the specified repo.  This speeds up the child process, because
it reduces the number of dependencies it needs to download (likely to zero).
sourceraw docstring

runclj

(run args & _)

Run function for when a build task is executed using clojure tools. This function is run in a child process by the execute! function below. This exits the VM with a nonzero value on failure.

Run function for when a build task is executed using clojure tools.  This function
is run in a child process by the `execute!` function below.  This exits the VM
with a nonzero value on failure.
sourceraw docstring

save-cache!clj

(save-cache! build {:keys [build-cache]})

Saves the m2 cache generated by the child process to blob store

Saves the m2 cache generated by the child process to blob store
sourceraw docstring

test!clj

(test! build rt)

Executes any unit tests that have been defined for the build by starting a clojure process with a custom alias for running tests using kaocha.

Executes any unit tests that have been defined for the build by starting a clojure process
with a custom alias for running tests using kaocha.
sourceraw docstring

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

× close