From ef2da9cbe1d55fd9667ad7fe42792ffd8ed0ec50 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 5 Dec 2023 13:07:05 +0100 Subject: Add CLI option to set write strategy for target-level cache --- share/man/just.1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'share') diff --git a/share/man/just.1.md b/share/man/just.1.md index ac30f9c1..e1e939fd 100644 --- a/share/man/just.1.md +++ b/share/man/just.1.md @@ -452,6 +452,24 @@ Supported by: build|install|rebuild|traverse. Do not omit runfiles in build report. Supported by: build|install|rebuild|traverse. +**`--target-cache-write-strategy`** *`STRATEGY`* +Strategy for creating target-level cache entries. Supported values are + + - *`sync`* Synchronize the artifacts of the export targets and write + target-level cache entries. This is the default behaviour. + - *`split`* Synchronize the artifacts of the export targets, using + blob splitting if the remote-execution endpoint supports it, + and write target-level cache entries. As opposed to the default + strategy, additional entries (the chunks) are created in the CAS, + but subsequent syncs of similar blobs might need less traffic. + - *`disable`* Do not write any target-level cache entries. As + no artifacts have to be synced, this can be useful for one-off + builds of a project or when the connection to the remote-execution + endpoint is behind a very slow network. + +Supported by: build|install|rebuild. + + Output dir and path ------------------- -- cgit v1.2.3