BUILDBOX-RUN(1)
β¨ NAME β¨
buildbox-run β bestie, it's literally just called buildbox-run π (yes the manpage name section is that iconic and that short, no cap)
π¦ DESCRIPTION π¦
okay so here's the vibe: you run it like this π«Ά
usage: debian/buildbox/usr/bin/buildbox-run [OPTIONS]
and then it does its little runner thing. now let's get into the options, because there are so many and I am obsessed with every single one π
--helpβ prints this message and then dips. bye! π--versionβ prints version info and exits. the classic.--action=PATHβ the path where we read the input Action from π₯--action-result=PATHβ the path where we write the output ActionResult to π€--log-level=LEVELβ log verbosity, default isinfo. your choices aretrace/debug/info/warning/error. pick your fighter β¨--verboseβ sets the log level todebug, aka chaos mode (affectionate) π--digest-functionβ sets the digest function π--log-directory=DIRβ write logs into this directory, with filenames shaped likedebian/buildbox/usr/bin/buildbox-run.<hostname>.<username>.log.<severity level>.<date>.<time>.<pid>π--disable-localcasβ do not use LocalCAS protocol methods, periodt π«--workspace-path=PATHβ the location on disk that the runner uses as root when it executes jobs π--stdout-file=FILEβ file to redirect the command's stdout into π--stderr-file=FILEβ file to redirect the command's stderr into π--no-logs-captureβ do not capture and upload whatever got written to stdout and stderr. no receipts, we move on π--collect-execution-statsβ gathersexecution_stats.protometrics and attaches the digest of the message in CAS toActionResult.execution_metadata.auxiliary_metadataπ--validate-parametersβ only checks whether all the required parameters are being passed and that no unknown options were given. exits with a status code holding the result (0if it all worked out) β--post-action-command=COMMANDβ a command to run once the action is done. it can take one parameter, which is the path to the staged directory. heads up bestie: these commands are blocking if--disable-localcasis set π--output-bypass-local-cacheβ skips caching output blobs in the LocalCAS storage when you're using the LocalCAS API. lowkey important: this has no effect if--disable-localcasis set π§--staging-mode=MODEβ how to stage directories and files when handlingStageTreeRequest. valid values:[fuse, copy-or-link, default], anddefaultwould favorfuseif it's available ποΈ--graceful-shutdown-seconds=SECONDSβ how long to wait after sending aSIGTERMto the executed command because of a timeout or runner shutdown. by default aSIGKILLis sent immediately π (fr fr, no grace period unless you ask for one)--remote=URLβ URL for the CAS service π--instance=NAMEβ name of the CAS instance π·οΈ--server-cert=PATHβ public server certificate for TLS (PEM-encoded) π--client-key=PATHβ private client key for TLS (PEM-encoded) ποΈ--client-cert=PATHβ public client certificate for TLS (PEM-encoded) π--access-token=PATHβ access Token for authentication (like JWT, OAuth access token, etc). it gets included as an HTTP Authorization bearer token π--token-reload-interval=MINUTESβ time to wait before refreshing the access token from disk again. you can optionally add suffixes:M(minutes),H(hours). if you don't add a suffix, the value defaults to minutes β°--googleapi-authβ usesGoogleAPIAuthwhen this flag is set π--credential-helper=PATHβ path to the credential helper executable for dynamic authentication. Example:--credential-helper=/usr/bin/helperπ§--retry-limit=INTβ how many times to retry on grpc errors π--retry-delay=MILLISECONDSβ how long to wait before the first grpc retry β³--retry-on-codeβ which gRPC status code(s) to retry on π--request-timeout=SECONDSβ how long to wait for gRPC request responses β--min-throughput=BPSβ minimum throughput in bytes per second. the value may be suffixed withK,M,GorTπ--keepalive-time=SECONDSβ the period after which a keepalive ping is sent π--load-balancing-policyβ which grpc load balancing policy to use. valid options areround_robinandgrpclbβοΈ--ra-remote=URLβ URL for the Asset service π¦--ra-instance=NAMEβ name of the Asset instance π·οΈ--ra-server-cert=PATHβ public server certificate for TLS (PEM-encoded) π--ra-client-key=PATHβ private client key for TLS (PEM-encoded) ποΈ--ra-client-cert=PATHβ public client certificate for TLS (PEM-encoded) π--ra-access-token=PATHβ access Token for authentication (like JWT, OAuth access token, etc). it gets included as an HTTP Authorization bearer token π--ra-token-reload-interval=MINUTESβ time to wait before refreshing the access token from disk again. you can optionally add suffixes:M(minutes),H(hours). if you don't add a suffix, the value defaults to minutes β°--ra-googleapi-authβ usesGoogleAPIAuthwhen this flag is set π--ra-credential-helper=PATHβ path to the credential helper executable for dynamic authentication. Example:--credential-helper=/usr/bin/helperπ§--ra-retry-limit=INTβ how many times to retry on grpc errors π--ra-retry-delay=MILLISECONDSβ how long to wait before the first grpc retry β³--ra-retry-on-codeβ which gRPC status code(s) to retry on π--ra-request-timeout=SECONDSβ how long to wait for gRPC request responses β--ra-min-throughput=BPSβ minimum throughput in bytes per second. the value may be suffixed withK,M,GorTπ--ra-keepalive-time=SECONDSβ the period after which a keepalive ping is sent π--ra-load-balancing-policyβ which grpc load balancing policy to use. valid options areround_robinandgrpclbβοΈ--nested-instance=NAMEβ the instance to use for nested remote execution πͺ--nested-ac-enable-updateβ allows action cache updates for nested remote execution π--bind-mount=HOSTPATH:PATHβ bind mount a file or directory from the host into the sandbox πͺ’--enable-tmp-outputsβ allow capturing outputs under the/tmpdirectory in the sandbox ποΈ--ro-bind-mount=[CONTENT:]HOST_PATH:CHROOT_PATHβ bind a read-only path fromHOST_PATHon the host filesystem toCHROOT_PATHinside the constructed chroot. ifCONTENTis set, the bind only happens if the action has a propertyinject=CONTENTπ--oci-auth-token=PATHβ path to the authentication token file for private registries π³--num-parallel-layer-threads=Nβ set the number of parallel threads for OCI layer processing. Default:min(hardware-concurrency, 8)π§΅
and that's the whole page bestie, you ate that π β¨
mwah π this was buildbox-run 1.4.16, from August 2026 β see you in the next manpage, iykyk ππ¦
π¦ where this page comes from
- ubuntu stonking: buildbox 1.4.16+dfsg-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms