mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Kubernetes tests: Mark k8sctx as testonly and disable nogo.
They are all test-only libraries, so `nogo` analysis (expensive on some of the autogenerated proto code it imports) is not important. PiperOrigin-RevId: 696238370
This commit is contained in:
committed by
gVisor bot
parent
aee6c51515
commit
191c16fd34
@@ -8,6 +8,7 @@ package(
|
||||
go_test(
|
||||
name = "abslbuild_test",
|
||||
srcs = ["abslbuild_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -27,6 +28,7 @@ go_test(
|
||||
go_test(
|
||||
name = "startup_test",
|
||||
srcs = ["startup_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -44,6 +46,7 @@ go_test(
|
||||
go_test(
|
||||
name = "redis_test",
|
||||
srcs = ["redis_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -63,6 +66,7 @@ go_test(
|
||||
go_test(
|
||||
name = "ruby_dev_test",
|
||||
srcs = ["ruby_dev_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -83,6 +87,7 @@ go_test(
|
||||
go_test(
|
||||
name = "ffmpeg_test",
|
||||
srcs = ["ffmpeg_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -102,6 +107,7 @@ go_test(
|
||||
go_test(
|
||||
name = "grpc_test",
|
||||
srcs = ["grpc_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -121,6 +127,7 @@ go_test(
|
||||
go_test(
|
||||
name = "nginx_test",
|
||||
srcs = ["nginx_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -141,6 +148,7 @@ go_test(
|
||||
go_test(
|
||||
name = "postgresql_test",
|
||||
srcs = ["postgresql_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -159,6 +167,7 @@ go_test(
|
||||
go_test(
|
||||
name = "tensorflow_test",
|
||||
srcs = ["tensorflow_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -178,6 +187,7 @@ go_test(
|
||||
go_test(
|
||||
name = "wordpress_test",
|
||||
srcs = ["wordpress_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -197,6 +207,7 @@ go_test(
|
||||
go_test(
|
||||
name = "pytorch_test",
|
||||
srcs = ["pytorch_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -218,6 +229,7 @@ go_test(
|
||||
embedsrcs = [
|
||||
"//test/kubernetes/benchmarks/resources:files", # keep
|
||||
],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -239,6 +251,7 @@ go_test(
|
||||
go_test(
|
||||
name = "stablediffusion_test",
|
||||
srcs = ["stablediffusion_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
@@ -258,6 +271,7 @@ go_test(
|
||||
go_test(
|
||||
name = "gsutil_test",
|
||||
srcs = ["gsutil_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
|
||||
@@ -7,10 +7,12 @@ package(
|
||||
|
||||
go_library(
|
||||
name = "k8sctx",
|
||||
testonly = True,
|
||||
srcs = [
|
||||
"k8sctx.go",
|
||||
"k8sctx_impl.go",
|
||||
],
|
||||
nogo = False,
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
],
|
||||
|
||||
@@ -8,6 +8,7 @@ package(
|
||||
go_test(
|
||||
name = "hello_test",
|
||||
srcs = ["hello_test.go"],
|
||||
nogo = False,
|
||||
tags = [
|
||||
"local",
|
||||
"noguitar",
|
||||
|
||||
Reference in New Issue
Block a user