Skip to content

Commit 0af4a53

Browse files
Integrate bb-scheduler web interface into bb-portal
Co-authored-by: Oscar Falk <oscar@meroton.com>
1 parent fe5f2bf commit 0af4a53

File tree

99 files changed

+44232
-2911
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+44232
-2911
lines changed

.bazelignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
bazel-demo
22
third_party/bazel/_generate-via-bazel
3+
frontend/node_modules

BUILD.bazel

+6
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,24 @@
22
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
33
load("@gazelle//:def.bzl", "gazelle")
44

5+
# gazelle:exclude frontend/src/proto
56
# gazelle:go_grpc_compilers @rules_go//proto:go_proto,@rules_go//proto:go_grpc_v2
67
# gazelle:prefix github.com/buildbarn/bb-portal
78
# gazelle:go_naming_convention_external import
9+
# gazelle:resolve proto go build/bazel/remote/execution/v2/remote_execution.proto @bazel_remote_apis//build/bazel/remote/execution/v2:remote_execution_go_proto
10+
# gazelle:resolve proto go google/rpc/status.proto @org_golang_google_genproto_googleapis_rpc//status
811
# gazelle:resolve proto go pkg/proto/configuration/auth/auth.proto @com_github_buildbarn_bb_storage//pkg/proto/configuration/auth
912
# gazelle:resolve proto go pkg/proto/configuration/global/global.proto @com_github_buildbarn_bb_storage//pkg/proto/configuration/global
1013
# gazelle:resolve proto go pkg/proto/configuration/grpc/grpc.proto @com_github_buildbarn_bb_storage//pkg/proto/configuration/grpc
1114
# gazelle:resolve proto go pkg/proto/configuration/http/http.proto @com_github_buildbarn_bb_storage//pkg/proto/configuration/http
15+
# gazelle:resolve proto build/bazel/remote/execution/v2/remote_execution.proto @bazel_remote_apis//build/bazel/remote/execution/v2:remote_execution_proto
16+
# gazelle:resolve proto google/rpc/status.proto @googleapis//google/rpc:status_proto
1217
# gazelle:resolve proto pkg/proto/configuration/auth/auth.proto @com_github_buildbarn_bb_storage//pkg/proto/configuration/auth:auth_proto
1318
# gazelle:resolve proto pkg/proto/configuration/global/global.proto @com_github_buildbarn_bb_storage//pkg/proto/configuration/global:global_proto
1419
# gazelle:resolve proto pkg/proto/configuration/grpc/grpc.proto @com_github_buildbarn_bb_storage//pkg/proto/configuration/grpc:grpc_proto
1520
# gazelle:resolve proto pkg/proto/configuration/http/http.proto @com_github_buildbarn_bb_storage//pkg/proto/configuration/http:http_proto
1621
# gazelle:resolve go github.com/buildbarn/bb-portal/pkg/proto/configuration/bb_portal //pkg/proto/configuration/bb_portal
22+
# gazelle:resolve go github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2 @bazel_remote_apis//build/bazel/remote/execution/v2:remote_execution_go_proto
1723
gazelle(
1824
name = "gazelle",
1925
)

MODULE.bazel

+26
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
module(name = "com_github_buildbarn_bb_portal")
66

77
bazel_dep(name = "bazel_remote_apis", version = "0.0.0")
8+
bazel_dep(name = "com_github_buildbarn_bb_remote_execution")
89
bazel_dep(name = "com_github_buildbarn_bb_storage")
10+
bazel_dep(name = "com_github_buildbarn_go_xdr")
911
bazel_dep(name = "gazelle", version = "0.38.0")
1012
bazel_dep(name = "googleapis", version = "0.0.0-20240819-fe8ba054a")
1113
bazel_dep(name = "googletest", version = "1.15.2")
@@ -21,6 +23,12 @@ git_override(
2123
remote = "https://github.com/bazelbuild/remote-apis.git",
2224
)
2325

26+
git_override(
27+
module_name = "com_github_buildbarn_bb_remote_execution",
28+
commit = "853626adcafd25a948f90b05a251bfba9a0e236f",
29+
remote = "https://github.com/buildbarn/bb-remote-execution.git",
30+
)
31+
2432
git_override(
2533
module_name = "com_github_buildbarn_bb_storage",
2634
commit = "0941111f29e31905e4081e6262bccf0c123940ed",
@@ -31,6 +39,22 @@ git_override(
3139
remote = "https://github.com/buildbarn/bb-storage.git",
3240
)
3341

42+
git_override(
43+
module_name = "com_github_buildbarn_go_xdr",
44+
commit = "236788cf9e8948a1e8875c7dd243e2be180cdfd7",
45+
remote = "https://github.com/buildbarn/go-xdr.git",
46+
)
47+
48+
git_override(
49+
module_name = "rules_antlr",
50+
commit = "89a29cca479363a5aee53e203719510bdc6be6ff",
51+
patches = [
52+
"//:patches/rules_antlr/antlr-4.10.diff",
53+
"//:patches/rules_antlr/bzlmod.diff",
54+
],
55+
remote = "https://github.com/marcohu/rules_antlr.git",
56+
)
57+
3458
git_override(
3559
module_name = "gazelle",
3660
commit = "4d0129d7adae33e8e648d3624aff8fa8f93f375b",
@@ -65,7 +89,9 @@ use_repo(
6589
"com_github_gorilla_mux",
6690
"com_github_hashicorp_go_multierror",
6791
"com_github_hedwigz_entviz",
92+
"com_github_improbable_eng_grpc_web",
6893
"com_github_jackc_pgx_v5",
94+
"com_github_jmespath_go_jmespath",
6995
"com_github_machinebox_graphql",
7096
"com_github_mattn_go_sqlite3",
7197
"com_github_pkg_errors",

0 commit comments

Comments
 (0)