...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "dsds-sandboxes",
5 srcs = [
6 "billingconf.go",
7 "constants.go",
8 "iampolicyclient.go",
9 "projectlabeller.go",
10 "schedule.go",
11 ],
12 importpath = "edge-infra.dev/pkg/sds/lib/ci/dsds-sandboxes",
13 visibility = ["//visibility:public"],
14 deps = [
15 "@in_gopkg_yaml_v3//:yaml_v3",
16 "@org_golang_google_api//cloudresourcemanager/v1:cloudresourcemanager",
17 "@org_golang_google_api//compute/v1:compute",
18 ],
19)
20
21go_test(
22 name = "dsds-sandboxes_test",
23 srcs = [
24 "billingconf_test.go",
25 "iampolicyclient_test.go",
26 "projectlabeller_test.go",
27 "schedule_test.go",
28 ],
29 embed = [":dsds-sandboxes"],
30 deps = [
31 "@org_golang_google_api//cloudresourcemanager/v1:cloudresourcemanager",
32 "@org_golang_google_api//compute/v1:compute",
33 "@tools_gotest_v3//assert",
34 "@tools_gotest_v3//fs",
35 ],
36)
View as plain text