bazel: set integration go build tag

This commit is contained in:
Malte Poll 2023-08-16 21:58:12 +02:00 committed by Malte Poll
parent ae7888a13f
commit 3352a9e988
7 changed files with 108 additions and 1 deletions

25
csi/test/BUILD.bazel Normal file
View file

@ -0,0 +1,25 @@
load("//bazel/go:go_test.bzl", "go_test")
go_test(
name = "test_test",
srcs = ["mount_integration_test.go"],
# keep
tags = ["manual"],
deps = select({
"@io_bazel_rules_go//go/platform:android": [
"//csi/cryptmapper",
"//internal/cryptsetup",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
"@org_uber_go_goleak//:goleak",
],
"@io_bazel_rules_go//go/platform:linux": [
"//csi/cryptmapper",
"//internal/cryptsetup",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
"@org_uber_go_goleak//:goleak",
],
"//conditions:default": [],
}),
)