forked from carverauto/serviceradar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
64 lines (56 loc) · 1.47 KB
/
Copy pathBUILD.bazel
File metadata and controls
64 lines (56 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
# gazelle:prefix github.com/carverauto/serviceradar
# gazelle:exclude .gomodcache
# gazelle:exclude _build
# gazelle:exclude dist
# gazelle:exclude release-artifacts
# gazelle:exclude target
# gazelle:exclude rust/rperf-client
# gazelle:exclude cmd/ebpf
load("@platforms//host:extension.bzl", "host_platform")
gazelle(
name = "gazelle",
)
exports_files([
"VERSION",
"Cargo.toml",
"Cargo.lock",
".tool-versions",
])
# Custom RBE platform using Oracle Linux 9 based executor image
platform(
name = "rbe_platform",
constraint_values = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
"@bazel_tools//tools/cpp:clang",
],
exec_properties = {
"OSFamily": "Linux",
"dockerNetwork": "host",
"container-image": "docker://ghcr.io/carverauto/serviceradar/rbe-executor:v1.0.20",
},
visibility = ["//visibility:public"],
)
alias(
name = "cwalk",
actual = "//third_party/cwalk:cwalk",
visibility = ["//visibility:public"],
)
sh_binary(
name = "buildbuddy_setup_docker_auth",
srcs = ["buildbuddy_setup_docker_auth.sh"],
visibility = ["//visibility:public"],
)
sh_binary(
name = "swiftlint_lint",
srcs = ["scripts/swiftlint_bazel.sh"],
args = [
"$(location .swiftlint.yml)",
],
data = [
".swiftlint.yml",
],
visibility = ["//visibility:public"],
)