diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2023-01-23 18:31:14 +0100 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2023-02-02 17:57:19 +0100 |
commit | bd66d45945dc186a0d08db7d9845ef657d549577 (patch) | |
tree | 51fa0b9c630ed388fc8aa36f5314b30fdc6bd5ff /src/buildtool/execution_api/execution_service/TARGETS | |
parent | 0658ef369e9dc27ca3a16075fc0f9e20931a2350 (diff) | |
download | justbuild-bd66d45945dc186a0d08db7d9845ef657d549577.tar.gz |
execution-service: add new subcommand execute
This subcommand starts a single node remote execution service honoring
the just native remote protocol.
If the flag --compatible is provided, the execution service will honor
the original remote build execution protocol.
New command line args supported by this subcommand:
-p,--port INT: Execution service will listen to this port. If unset,
the service will listen to the first available one.
--info-file TEXT: Write the used port, interface, and pid to this file
in JSON format. If the file exists, it will be overwritten.
-i,--interface TEXT: Interface to use. If unset, the loopback device
is used.
--pid-file TEXT Write pid to this file in plain txt. If the file
exists, it will be overwritten.
--tls-server-cert TEXT: Path to the TLS server certificate.
--tls-server-key TEXT: Path to the TLS server key.
Co-authored by: Klaus Aehlig <klaus.aehlig@huawei.com>
Diffstat (limited to 'src/buildtool/execution_api/execution_service/TARGETS')
-rw-r--r-- | src/buildtool/execution_api/execution_service/TARGETS | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/src/buildtool/execution_api/execution_service/TARGETS b/src/buildtool/execution_api/execution_service/TARGETS new file mode 100644 index 00000000..91726eac --- /dev/null +++ b/src/buildtool/execution_api/execution_service/TARGETS @@ -0,0 +1,98 @@ +{ "execution_server": + { "type": ["@", "rules", "CC", "library"] + , "name": ["execution_server"] + , "hdrs": ["execution_server.hpp"] + , "srcs": ["execution_server.cpp"] + , "proto": [["@", "bazel_remote_apis", "", "remote_execution_proto"]] + , "stage": ["src", "buildtool", "execution_api", "execution_service"] + , "deps": + [ ["src/buildtool/execution_api/local", "local"] + , ["src/buildtool/logging", "logging"] + ] + , "private-deps": + [ ["src/buildtool/compatibility", "compatibility"] + , ["@", "fmt", "", "fmt"] + , ["src/buildtool/execution_api/local", "garbage_collector"] + ] + } +, "ac_server": + { "type": ["@", "rules", "CC", "library"] + , "name": ["ac_server"] + , "hdrs": ["ac_server.hpp"] + , "srcs": ["ac_server.cpp"] + , "proto": [["@", "bazel_remote_apis", "", "remote_execution_proto"]] + , "stage": ["src", "buildtool", "execution_api", "execution_service"] + , "deps": + [ ["src/buildtool/execution_api/local", "local"] + , ["src/buildtool/logging", "logging"] + ] + , "private-deps": + [["src/buildtool/execution_api/local", "garbage_collector"]] + } +, "cas_server": + { "type": ["@", "rules", "CC", "library"] + , "name": ["cas_server"] + , "hdrs": ["cas_server.hpp"] + , "srcs": ["cas_server.cpp"] + , "proto": [["@", "bazel_remote_apis", "", "remote_execution_proto"]] + , "stage": ["src", "buildtool", "execution_api", "execution_service"] + , "deps": + [ ["src/buildtool/execution_api/local", "local"] + , ["src/buildtool/logging", "logging"] + ] + , "private-deps": + [ ["src/buildtool/compatibility", "compatibility"] + , ["@", "fmt", "", "fmt"] + , ["src/buildtool/execution_api/local", "garbage_collector"] + ] + } +, "server_implementation": + { "type": ["@", "rules", "CC", "library"] + , "name": ["sever_implemenation"] + , "hdrs": ["server_implementation.hpp"] + , "srcs": ["server_implementation.cpp"] + , "stage": ["src", "buildtool", "execution_api", "execution_service"] + , "private-deps": + [ "execution_server" + , "ac_server" + , "cas_server" + , "bytestream_server" + , "capabilities_server" + , ["src/buildtool/execution_api/remote", "config"] + , ["src/buildtool/auth", "auth"] + , ["@", "json", "", "json"] + , ["src/buildtool/execution_api/local", "local"] + , ["@", "grpc", "", "grpc++"] + , ["src/buildtool/execution_api/remote", "config"] + ] + } +, "bytestream_server": + { "type": ["@", "rules", "CC", "library"] + , "name": ["bytestream"] + , "hdrs": ["bytestream_server.hpp"] + , "srcs": ["bytestream_server.cpp"] + , "proto": [["@", "googleapis", "", "google_bytestream_proto"]] + , "stage": ["src", "buildtool", "execution_api", "execution_service"] + , "deps": + [ ["src/buildtool/execution_api/local", "local"] + , ["src/buildtool/logging", "logging"] + ] + , "private-deps": + [ ["src/buildtool/compatibility", "compatibility"] + , ["src/buildtool/execution_api/common", "bytestream-common"] + , ["src/utils/cpp", "tmp_dir"] + , ["@", "fmt", "", "fmt"] + , ["src/buildtool/execution_api/local", "garbage_collector"] + ] + } +, "capabilities_server": + { "type": ["@", "rules", "CC", "library"] + , "name": ["capabilities_server"] + , "hdrs": ["capabilities_server.hpp"] + , "srcs": ["capabilities_server.cpp"] + , "proto": [["@", "bazel_remote_apis", "", "remote_execution_proto"]] + , "stage": ["src", "buildtool", "execution_api", "execution_service"] + , "deps": [["src/buildtool/execution_api/local", "local"]] + , "private-deps": [["src/buildtool/logging", "logging"]] + } +} |