mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
3db3db3bf2
* operator: add test for gRPC connection over UDS
29 lines
875 B
Python
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",
|
|
],
|
|
)
|