mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 14:11:44 +00:00
chore(bazel): update ownership tags to increase coverage (#63001)
Brings us up to 73%, a bit of buffer room ## Test plan `./dev/check-test-ownership.sh` prints out 73 ## Changelog
This commit is contained in:
parent
9a75701c59
commit
e1974fe9f5
@ -7,6 +7,7 @@ go_library(
|
||||
name = "enterprise-portal_lib",
|
||||
srcs = ["main.go"],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/enterprise-portal",
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//cmd/enterprise-portal/service",
|
||||
@ -17,6 +18,7 @@ go_library(
|
||||
go_binary(
|
||||
name = "enterprise-portal",
|
||||
embed = [":enterprise-portal_lib"],
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
@ -50,6 +52,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_CORESERVICES,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -7,6 +7,7 @@ go_library(
|
||||
"v1.go",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/enterprise-portal/internal/codyaccessservice",
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
visibility = ["//cmd/enterprise-portal:__subpackages__"],
|
||||
deps = [
|
||||
"//cmd/enterprise-portal/internal/connectutil",
|
||||
|
||||
@ -4,6 +4,7 @@ go_library(
|
||||
name = "connectutil",
|
||||
srcs = ["connectutil.go"],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/enterprise-portal/internal/connectutil",
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
visibility = ["//cmd/enterprise-portal:__subpackages__"],
|
||||
deps = [
|
||||
"//internal/trace",
|
||||
|
||||
@ -5,6 +5,7 @@ go_library(
|
||||
name = "dotcomdb",
|
||||
srcs = ["dotcomdb.go"],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/enterprise-portal/internal/dotcomdb",
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
visibility = ["//cmd/enterprise-portal:__subpackages__"],
|
||||
deps = [
|
||||
"//internal/license",
|
||||
|
||||
@ -5,6 +5,7 @@ go_library(
|
||||
name = "samsm2m",
|
||||
srcs = ["samsm2m.go"],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/enterprise-portal/internal/samsm2m",
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
visibility = ["//cmd/enterprise-portal:__subpackages__"],
|
||||
deps = [
|
||||
"//cmd/enterprise-portal/internal/connectutil",
|
||||
@ -25,6 +26,7 @@ go_test(
|
||||
name = "samsm2m_test",
|
||||
srcs = ["samsm2m_test.go"],
|
||||
embed = [":samsm2m"],
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
deps = [
|
||||
"//lib/errors",
|
||||
"@com_github_hexops_autogold_v2//:autogold",
|
||||
|
||||
@ -7,6 +7,7 @@ go_library(
|
||||
"v1.go",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/enterprise-portal/internal/subscriptionsservice",
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
visibility = ["//cmd/enterprise-portal:__subpackages__"],
|
||||
deps = [
|
||||
"//cmd/enterprise-portal/internal/connectutil",
|
||||
|
||||
@ -9,6 +9,7 @@ go_library(
|
||||
"state.go",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/enterprise-portal/service",
|
||||
tags = [TAG_INFRA_CORESERVICES],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//cmd/enterprise-portal/internal/codyaccessservice",
|
||||
|
||||
@ -54,6 +54,7 @@ go_test(
|
||||
],
|
||||
data = glob(["testdata/**"]),
|
||||
embed = [":codycontext"],
|
||||
tags = [TAG_CODY_CORE],
|
||||
deps = [
|
||||
"//internal/api",
|
||||
"//internal/conf",
|
||||
|
||||
@ -51,6 +51,7 @@ go_test(
|
||||
name = "completions_test",
|
||||
srcs = ["handler_test.go"],
|
||||
embed = [":completions"],
|
||||
tags = [TAG_CODY_CORE],
|
||||
deps = [
|
||||
"//internal/completions/types",
|
||||
"//internal/conf",
|
||||
|
||||
@ -10,6 +10,7 @@ go_library(
|
||||
"http.go",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/frontend/internal/httpapi/releasecache",
|
||||
tags = [TAG_INFRA_DEVINFRA],
|
||||
visibility = ["//cmd/frontend:__subpackages__"],
|
||||
deps = [
|
||||
"//internal/conf",
|
||||
@ -38,6 +39,7 @@ go_test(
|
||||
data = glob(["testdata/**"]),
|
||||
embed = [":releasecache"],
|
||||
tags = [
|
||||
TAG_INFRA_DEVINFRA,
|
||||
"requires-network",
|
||||
],
|
||||
deps = [
|
||||
|
||||
@ -55,6 +55,7 @@ container_structure_test(
|
||||
tags = [
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
TAG_PLATFORM_SEARCH,
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@ -9,6 +9,7 @@ go_library(
|
||||
"mapper.go",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/cmd/worker/internal/perforce",
|
||||
tags = [TAG_PLATFORM_SOURCE],
|
||||
visibility = ["//cmd/worker:__subpackages__"],
|
||||
deps = [
|
||||
"//cmd/worker/job",
|
||||
@ -35,7 +36,10 @@ go_test(
|
||||
name = "perforce_test",
|
||||
srcs = ["mapper_test.go"],
|
||||
embed = [":perforce"],
|
||||
tags = ["requires-network"],
|
||||
tags = [
|
||||
"requires-network",
|
||||
TAG_PLATFORM_SOURCE,
|
||||
],
|
||||
deps = [
|
||||
"//internal/api",
|
||||
"//internal/conf",
|
||||
|
||||
@ -13,6 +13,7 @@ go_library(
|
||||
"slack.go",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/dev/buildchecker",
|
||||
tags = [TAG_INFRA_DEVINFRA],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//dev/team",
|
||||
@ -29,6 +30,7 @@ go_library(
|
||||
go_binary(
|
||||
name = "buildchecker",
|
||||
embed = [":buildchecker_lib"],
|
||||
tags = [TAG_INFRA_DEVINFRA],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
@ -44,6 +46,7 @@ go_test(
|
||||
],
|
||||
data = glob(["testdata/**"]),
|
||||
embed = [":buildchecker_lib"],
|
||||
tags = [TAG_INFRA_DEVINFRA],
|
||||
deps = [
|
||||
"//dev/team",
|
||||
"//internal/httptestutil",
|
||||
|
||||
@ -5,6 +5,7 @@ go_library(
|
||||
name = "helpers",
|
||||
srcs = ["bazeldo.go"],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/dev/ci/helpers",
|
||||
tags = [TAG_INFRA_DEVINFRA],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//lib/errors",
|
||||
@ -16,4 +17,5 @@ go_test(
|
||||
name = "helpers_test",
|
||||
srcs = ["bazeldo_test.go"],
|
||||
embed = [":helpers"],
|
||||
tags = [TAG_INFRA_DEVINFRA],
|
||||
)
|
||||
|
||||
@ -51,5 +51,6 @@ go_test(
|
||||
name = "cloud_test",
|
||||
srcs = ["instance_test.go"],
|
||||
embed = [":cloud"],
|
||||
tags = [TAG_INFRA_DEVINFRA],
|
||||
deps = ["@com_github_sourcegraph_cloud_api//go/cloudapi/v1:cloudapi"],
|
||||
)
|
||||
|
||||
@ -28,6 +28,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -38,6 +38,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -47,6 +47,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -47,6 +47,7 @@ container_structure_test(
|
||||
tags = [
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
TAG_PLATFORM_SEARCH,
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -21,6 +21,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -42,6 +42,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -22,6 +22,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -106,6 +106,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":legacy_image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -40,6 +40,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -51,6 +51,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -14,6 +14,7 @@ go_library(
|
||||
"status.go",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/docker-images/prometheus/cmd/prom-wrapper",
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//internal/conf",
|
||||
@ -48,6 +49,7 @@ go_binary(
|
||||
],
|
||||
pure = "on",
|
||||
static = "on",
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
@ -59,6 +61,7 @@ go_test(
|
||||
"silence_test.go",
|
||||
],
|
||||
embed = [":prom-wrapper_lib"],
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
deps = [
|
||||
"//internal/version",
|
||||
"//schema",
|
||||
|
||||
@ -55,6 +55,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -57,6 +57,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -22,6 +22,7 @@ container_structure_test(
|
||||
driver = "docker",
|
||||
image = ":image",
|
||||
tags = [
|
||||
TAG_INFRA_RELEASE,
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
],
|
||||
|
||||
@ -54,6 +54,7 @@ container_structure_test(
|
||||
tags = [
|
||||
"exclusive",
|
||||
"requires-network",
|
||||
TAG_PLATFORM_SEARCH,
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@ -17,6 +17,7 @@ go_library(
|
||||
"prometheus/default.yml.gotmpl",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/internal/appliance/config",
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//lib/errors",
|
||||
@ -30,5 +31,6 @@ go_test(
|
||||
name = "config_test",
|
||||
srcs = ["dev_mode_test.go"],
|
||||
embed = [":config"],
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
deps = ["@com_github_stretchr_testify//assert"],
|
||||
)
|
||||
|
||||
@ -3,6 +3,7 @@ load("//dev:go_defs.bzl", "go_test")
|
||||
go_test(
|
||||
name = "integrationtest_test",
|
||||
srcs = ["integration_test.go"],
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
deps = [
|
||||
"//internal/appliance/config",
|
||||
"//internal/k8s/resource/configmap",
|
||||
|
||||
@ -19,6 +19,7 @@ go_library(
|
||||
"syntect.go",
|
||||
],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/internal/appliance/reconciler",
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//internal/appliance/config",
|
||||
@ -85,6 +86,7 @@ go_test(
|
||||
env = {
|
||||
"KUBEBUILDER_ASSET_PATHS": "$(rlocationpaths //dev/tools:kubebuilder-assets)",
|
||||
},
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
deps = [
|
||||
"//internal/appliance/config",
|
||||
"//internal/appliance/yaml",
|
||||
|
||||
@ -5,6 +5,7 @@ go_library(
|
||||
name = "yaml",
|
||||
srcs = ["yaml.go"],
|
||||
importpath = "github.com/sourcegraph/sourcegraph/internal/appliance/yaml",
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = ["@in_gopkg_yaml_v3//:yaml_v3"],
|
||||
)
|
||||
@ -12,6 +13,7 @@ go_library(
|
||||
go_test(
|
||||
name = "yaml_test",
|
||||
srcs = ["yaml_test.go"],
|
||||
tags = [TAG_INFRA_RELEASE],
|
||||
deps = [
|
||||
":yaml",
|
||||
"@com_github_stretchr_testify//require",
|
||||
|
||||
@ -34,5 +34,6 @@ genrule(
|
||||
|
||||
build_test(
|
||||
name = "test_golist_grep",
|
||||
tags = [TAG_INFRA_DEVINFRA],
|
||||
targets = [":golist_grep"],
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user