constellation/operators/constellation-node-operator/internal/upgrade/BUILD.bazel
Markus Rudy 3db3db3bf2
operator: fix gRPC dialing over UDS (#3201)
* operator: add test for gRPC connection over UDS
2024-06-25 10:11:57 +02:00

29 lines
875 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "upgrade",
srcs = ["upgrade.go"],
importpath = "github.com/edgelesssys/constellation/v2/operators/constellation-node-operator/internal/upgrade",
visibility = ["//operators/constellation-node-operator:__subpackages__"],
deps = [
"//internal/constants",
"//internal/versions/components",
"//upgrade-agent/upgradeproto",
"@org_golang_google_grpc//:grpc",
"@org_golang_google_grpc//credentials/insecure",
],
)
go_test(
name = "upgrade_test",
srcs = ["upgrade_test.go"],
embed = [":upgrade"],
deps = [
"//internal/versions/components",
"//upgrade-agent/upgradeproto",
"@com_github_stretchr_testify//require",
"@org_golang_google_grpc//:grpc",
],
)