Optional
buildOwner gid that is set on build artifacts.
Optional
buildOwner uid that is set on build artifacts.
Whether to enable build caching. When set to false, this builder will rebuild even when binary and checksum are both present in wasm/ directory
Used to launch build container.
Path to the dockerfile to build the build container if missing.
Readonly
idUnique identifier of this builder implementation.
Tag of the docker image for the build container.
Logger
Whether to skip any git fetch
calls in the build script.
Name of directory where build artifacts are collected.
Used for historical builds.
Whether the build log should be printed only on error, or always
Default Git reference from which to build sources.
Optional
scriptThe build script.
Optional
sshUsed to authenticate Git in build container.
Version of Rust toolchain to use.
Whether the build process should print more detail to the console.
Optional
workspaceThe project workspace.
Static
variantsGlobal registry of builder variants. Populated downstream.
Protected
buildProtected
buildThis implementation groups the passed source by workspace and ref, in order to launch one build container per workspace/ref combination and have it build all the crates from that combination in sequence, reusing the container's internal intermediate build cache.
Protected
collectGo over the list of inputs, filtering out the ones that are already built, and collecting the source repositories and revisions. This will allow for multiple crates from the same source checkout to be passed to a single build command.
Protected
collectProtected
fetchProtected
getProtected
getProtected
getProtected
getProtected
getProtected
getProtected
hashProtected
killProtected
locationProtected
matchMatch each crate from the current repo/ref pair with its index in the originally passed list of inputs.
Protected
populateProtected
prebuildProtected
resolveProtected
runBuild the crates from each same workspace/revision pair and collect the results.
Generated using TypeDoc
This builder launches a one-off build container using Dockerode.