mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-12 01:14:28 -05:00
6ea5588bdc
* Add attestation type to config (optional for now) * Get attestation variant from config in CLI * Set attestation variant for Constellation services in helm deployments * Remove AzureCVM variable from helm deployments --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
62 lines
1.8 KiB
Python
62 lines
1.8 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_ld_test", "go_test")
|
|
|
|
go_library(
|
|
name = "initserver",
|
|
srcs = ["initserver.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/bootstrapper/internal/initserver",
|
|
visibility = ["//bootstrapper:__subpackages__"],
|
|
deps = [
|
|
"//bootstrapper/initproto",
|
|
"//bootstrapper/internal/diskencryption",
|
|
"//internal/atls",
|
|
"//internal/attestation",
|
|
"//internal/crypto",
|
|
"//internal/file",
|
|
"//internal/grpc/atlscredentials",
|
|
"//internal/grpc/grpclog",
|
|
"//internal/kms/kms",
|
|
"//internal/kms/setup",
|
|
"//internal/logger",
|
|
"//internal/nodestate",
|
|
"//internal/role",
|
|
"//internal/versions/components",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//codes",
|
|
"@org_golang_google_grpc//keepalive",
|
|
"@org_golang_google_grpc//status",
|
|
"@org_golang_x_crypto//bcrypt",
|
|
"@org_uber_go_zap//:zap",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "initserver_test",
|
|
srcs = ["initserver_test.go"],
|
|
embed = [":initserver"],
|
|
# keep
|
|
tags = ["manual"],
|
|
deps = [
|
|
"//bootstrapper/initproto",
|
|
"//internal/atls",
|
|
"//internal/crypto/testvector",
|
|
"//internal/file",
|
|
"//internal/kms/setup",
|
|
"//internal/kms/uri",
|
|
"//internal/logger",
|
|
"//internal/oid",
|
|
"//internal/versions/components",
|
|
"@com_github_spf13_afero//:afero",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
"@org_golang_x_crypto//bcrypt",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|
|
|
|
go_ld_test(
|
|
name = "initserver_ld_test",
|
|
src = "initserver_test",
|
|
ld = "//rpm:ld",
|
|
)
|