mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
dd2da25ebe
* Add TDX validator * Add TDX issuer --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "setup",
|
|
srcs = [
|
|
"interface.go",
|
|
"setup.go",
|
|
],
|
|
importpath = "github.com/edgelesssys/constellation/v2/disk-mapper/internal/setup",
|
|
visibility = ["//disk-mapper:__subpackages__"],
|
|
deps = [
|
|
"//disk-mapper/internal/systemd",
|
|
"//internal/attestation",
|
|
"//internal/attestation/initialize",
|
|
"//internal/attestation/vtpm",
|
|
"//internal/cloud/metadata",
|
|
"//internal/constants",
|
|
"//internal/crypto",
|
|
"//internal/file",
|
|
"//internal/logger",
|
|
"//internal/nodestate",
|
|
"@com_github_spf13_afero//:afero",
|
|
"@org_uber_go_zap//:zap",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "setup_test",
|
|
srcs = ["setup_test.go"],
|
|
embed = [":setup"],
|
|
deps = [
|
|
"//internal/attestation/vtpm",
|
|
"//internal/crypto",
|
|
"//internal/file",
|
|
"//internal/logger",
|
|
"//internal/nodestate",
|
|
"@com_github_spf13_afero//:afero",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|