Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions third_party/buildbuddy/copy.bara.sky
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,18 @@ core.workflow(
name = "default",
origin = git.origin(
url = "https://github.com/buildbuddy-io/buildbuddy",
ref = "9891dc69a036040d6e7eaab616d4a11186c311d5", # v2.44.0
ref = "372b95b41a6ed82da632ee44ff0c48071c849c21", # master as of 26Jan2022
),
destination = git.github_pr_destination(
url = "https://github.com/enfabrica/enkit",
destination_ref = "master",
),
origin_files = glob([
"proto/invocation.proto",
"proto/acl.proto",
"proto/api_key.proto",
"proto/cache.proto",
"proto/command_line.proto",
"proto/context.proto",
"proto/invocation.proto",
"proto/invocation_status.proto",
"proto/option_filters.proto",
"proto/remote_execution.proto",
"proto/resource.proto",
"proto/scheduler.proto",
"proto/semver.proto",
"proto/stat_filter.proto",
"proto/target.proto",
"proto/trace.proto",
"proto/user_id.proto",
"proto/api/v1/common.proto",
]),
destination_files = glob(
["third_party/buildbuddy/**"],
Expand Down
186 changes: 0 additions & 186 deletions third_party/buildbuddy/proto/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,9 @@ proto_library(
],
)

proto_library(
name = "api_key_proto",
srcs = ["api_key.proto"],
deps = [
":context_proto",
],
)

proto_library(
name = "cache_proto",
srcs = ["cache.proto"],
deps = [
":context_proto",
":remote_execution_proto",
":resource_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:field_mask_proto",
"@com_google_protobuf//:timestamp_proto",
"@googleapis//google/rpc:status_proto",
],
)

proto_library(
Expand All @@ -51,89 +34,14 @@ proto_library(
srcs = ["invocation.proto"],
deps = [
":acl_proto",
":api_key_proto",
":cache_proto",
":context_proto",
":invocation_status_proto",
":stat_filter_proto",
":target_proto",
"//third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_proto",
"//third_party/bazel/src/main/protobuf:command_line_proto",
"//third_party/bazel/src/main/protobuf:option_filters_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:timestamp_proto",
],
)

proto_library(
name = "invocation_status_proto",
srcs = ["invocation_status.proto"],
)

proto_library(
name = "remote_execution_proto",
srcs = [
"remote_execution.proto",
],
deps = [
":scheduler_proto",
":semver_proto",
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:timestamp_proto",
"@com_google_protobuf//:wrappers_proto",
"@googleapis//google/api:annotations_proto",
"@googleapis//google/longrunning:operations_proto",
"@googleapis//google/rpc:status_proto",
],
)

proto_library(
name = "resource_proto",
srcs = ["resource.proto"],
deps = [
":remote_execution_proto",
],
)

proto_library(
name = "scheduler_proto",
srcs = ["scheduler.proto"],
deps = [
":acl_proto",
":context_proto",
":trace_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:timestamp_proto",
"@googleapis//google/rpc:status_proto",
],
)

proto_library(
name = "semver_proto",
srcs = ["semver.proto"],
)

proto_library(
name = "stat_filter_proto",
srcs = ["stat_filter.proto"],
)

proto_library(
name = "target_proto",
srcs = ["target.proto"],
deps = [
":context_proto",
"//third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_proto",
"//third_party/buildbuddy/proto/api/v1:common_proto",
],
)

proto_library(
name = "trace_proto",
srcs = ["trace.proto"],
)

proto_library(
name = "user_id_proto",
srcs = ["user_id.proto"],
Expand All @@ -146,28 +54,14 @@ go_proto_library(
importpath = "github.com/enfabrica/enkit/third_party/buildbuddy/proto",
protos = [
":acl_proto",
":api_key_proto",
":cache_proto",
":context_proto",
":invocation_proto",
":invocation_status_proto",
":remote_execution_proto",
":resource_proto",
":scheduler_proto",
":semver_proto",
":stat_filter_proto",
":target_proto",
":trace_proto",
":user_id_proto",
"//third_party/buildbuddy/proto/api/v1:common_proto",
],
deps = [
"//third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_go_proto",
"//third_party/bazel/src/main/protobuf:proto",
"@com_google_cloud_go_longrunning//autogen/longrunningpb",
"@org_golang_google_genproto_googleapis_api//annotations",
"@org_golang_google_genproto_googleapis_rpc//code",
"@org_golang_google_genproto_googleapis_rpc//status",
],
)

Expand All @@ -181,14 +75,6 @@ py_proto_library(
],
)

py_proto_library(
name = "api_key_py_proto",
protos = [":api_key_proto"],
deps = [
":context_py_proto",
],
)

py_proto_library(
name = "context_py_proto",
protos = [":context_proto"],
Expand All @@ -200,92 +86,20 @@ py_proto_library(
py_proto_library(
name = "cache_py_proto",
protos = [":cache_proto"],
deps = [
":context_py_proto",
":remote_execution_py_proto",
":resource_py_proto",
"@googleapis//google/rpc:status_py_proto",
],
)

py_proto_library(
name = "invocation_py_proto",
protos = [":invocation_proto"],
deps = [
":acl_py_proto",
":api_key_py_proto",
":cache_py_proto",
":context_py_proto",
":invocation_status_py_proto",
":stat_filter_py_proto",
":target_py_proto",
"//third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_py_proto",
"//third_party/bazel/src/main/protobuf:command_line_py_proto",
"//third_party/bazel/src/main/protobuf:option_filters_py_proto",
],
)

py_proto_library(
name = "invocation_status_py_proto",
protos = [":invocation_status_proto"],
)

py_proto_library(
name = "remote_execution_py_proto",
protos = [":remote_execution_proto"],
deps = [
":scheduler_py_proto",
":semver_py_proto",
"@googleapis//google/api:annotations_py_proto",
"@googleapis//google/longrunning:operations_py_proto",
"@googleapis//google/rpc:status_py_proto",
],
)

py_proto_library(
name = "resource_py_proto",
protos = [":resource_proto"],
deps = [
":remote_execution_py_proto",
],
)

py_proto_library(
name = "scheduler_py_proto",
protos = [":scheduler_proto"],
deps = [
":acl_py_proto",
":context_py_proto",
":trace_py_proto",
"@googleapis//google/rpc:status_py_proto",
],
)

py_proto_library(
name = "semver_py_proto",
protos = [":semver_proto"],
)

py_proto_library(
name = "stat_filter_py_proto",
protos = [":stat_filter_proto"],
)

py_proto_library(
name = "target_py_proto",
protos = [":target_proto"],
deps = [
":context_py_proto",
"//third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_py_proto",
"//third_party/buildbuddy/proto/api/v1:common_py_proto",
],
)

py_proto_library(
name = "trace_py_proto",
protos = [":trace_proto"],
)

py_proto_library(
name = "user_id_py_proto",
protos = [":user_id_proto"],
Expand Down
22 changes: 0 additions & 22 deletions third_party/buildbuddy/proto/api/v1/BUILD.bazel

This file was deleted.

Loading