mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:51:57 +00:00
44 lines
1.1 KiB
Python
44 lines
1.1 KiB
Python
load("//dev:go_defs.bzl", "go_test")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "spec",
|
|
srcs = [
|
|
"build.go",
|
|
"environment.go",
|
|
"monitoring.go",
|
|
"projectid.go",
|
|
"rollout.go",
|
|
"service.go",
|
|
"spec.go",
|
|
],
|
|
importpath = "github.com/sourcegraph/sourcegraph/dev/managedservicesplatform/spec",
|
|
tags = [TAG_INFRA_CORESERVICES],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//dev/managedservicesplatform/internal/imageupdater",
|
|
"//lib/errors",
|
|
"//lib/pointers",
|
|
"@com_github_alecthomas_units//:units",
|
|
"@com_github_grafana_regexp//:regexp",
|
|
"@com_github_hashicorp_cronexpr//:cronexpr",
|
|
"@in_gopkg_yaml_v3//:yaml_v3",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "spec_test",
|
|
srcs = [
|
|
"environment_test.go",
|
|
"service_test.go",
|
|
],
|
|
embed = [":spec"],
|
|
tags = [TAG_INFRA_CORESERVICES],
|
|
deps = [
|
|
"//lib/pointers",
|
|
"@com_github_hexops_autogold_v2//:autogold",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
],
|
|
)
|