summaryrefslogtreecommitdiff
path: root/src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution.proto
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-03-16 12:39:22 +0000
committerJürg Billeter <j@bitron.ch>2020-03-16 12:39:22 +0000
commitc7e2b993d679a961114884bb28850001788d44be (patch)
treeeeedf49bd2b5390aa895c86a688138d36e4394f8 /src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution.proto
parent78da6e372200a54660f102a9c7e82c260c562c95 (diff)
parent1ce31d4b25b4aa1ab7f27e72a56e9fed1ab80aee (diff)
downloadbuildstream-c7e2b993d679a961114884bb28850001788d44be.tar.gz
Merge branch 'juerg/reapi' into 'master'
Update remote_execution.proto See merge request BuildStream/buildstream!1831
Diffstat (limited to 'src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution.proto')
-rw-r--r--src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution.proto23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution.proto b/src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution.proto
index efbf513f9..0cb33acaf 100644
--- a/src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution.proto
+++ b/src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution.proto
@@ -246,6 +246,9 @@ service ContentAddressableStorage {
// Clients can use this API before uploading blobs to determine which ones are
// already present in the CAS and do not need to be uploaded again.
//
+ // Servers SHOULD increase the TTLs of the referenced blobs if necessary and
+ // applicable.
+ //
// There are no method-specific errors.
rpc FindMissingBlobs(FindMissingBlobsRequest) returns (FindMissingBlobsResponse) {
option (google.api.http) = { post: "/v2/{instance_name=**}/blobs:findMissing" body: "*" };
@@ -413,15 +416,7 @@ message Action {
// requests for the same `Action` may not be merged.
bool do_not_cache = 7;
- // List of required supported [NodeProperty][build.bazel.remote.execution.v2.NodeProperty]
- // keys. In order to ensure that equivalent `Action`s always hash to the same
- // value, the supported node properties MUST be lexicographically sorted by name.
- // Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
- //
- // The interpretation of these properties is server-dependent. If a property is
- // not recognized by the server, the server will return an `INVALID_ARGUMENT`
- // error.
- repeated string output_node_properties = 8;
+ reserved 8; // Used for field moved to [Command][build.bazel.remote.execution.v2.Command].
}
// A `Command` is the actual command executed by a worker running an
@@ -554,6 +549,16 @@ message Command {
// in. It must be a directory which exists in the input tree. If it is left
// empty, then the action is run in the input root.
string working_directory = 6;
+
+ // List of required supported [NodeProperty][build.bazel.remote.execution.v2.NodeProperty]
+ // keys. In order to ensure that equivalent `Action`s always hash to the same
+ // value, the supported node properties MUST be lexicographically sorted by name.
+ // Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
+ //
+ // The interpretation of these properties is server-dependent. If a property is
+ // not recognized by the server, the server will return an `INVALID_ARGUMENT`
+ // error.
+ repeated string output_node_properties = 8;
}
// A `Platform` is a set of requirements, such as hardware, operating system, or