bazel: mark envtests as "requires-network"

Envtests require networking, strict sandbox only allows networking if tag is set.
See https://bazel.build/reference/be/common-definitions#common.tags for further explanation.
This commit is contained in:
Malte Poll 2023-08-18 15:57:14 +02:00 committed by Malte Poll
parent 1f12541a36
commit 1d5f244879
2 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,8 @@ go_test(
},
# keep
gotags = ["integration"],
# keep
tags = ["requires-network"],
deps = [
"//3rdparty/node-maintenance-operator/api/v1beta1",
"//internal/constants",

View File

@ -52,6 +52,8 @@ go_test(
},
# keep
gotags = ["integration"],
# keep
tags = ["requires-network"],
deps = [
"//internal/constants",
"//operators/constellation-node-operator/api/v1alpha1",