mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 23:36:29 -04:00
fix bazel
This commit is contained in:
parent
8021c541f4
commit
9da33a68e2
@ -21,6 +21,7 @@ go_library(
|
||||
"//bootstrapper/internal/kubernetes/k8sapi",
|
||||
"//bootstrapper/internal/kubernetes/kubewaiter",
|
||||
"//bootstrapper/internal/nodelock",
|
||||
"//bootstrapper/internal/reboot",
|
||||
"//internal/atls",
|
||||
"//internal/attestation/choose",
|
||||
"//internal/attestation/initialize",
|
||||
|
@ -2,8 +2,20 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "etcdio",
|
||||
srcs = ["etcdio.go"],
|
||||
srcs = [
|
||||
"etcdio.go",
|
||||
"setioprio_cross.go",
|
||||
"setioprio_linux.go",
|
||||
],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/bootstrapper/internal/etcdio",
|
||||
visibility = ["//bootstrapper:__subpackages__"],
|
||||
deps = ["@org_golang_x_sys//unix"],
|
||||
deps = select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"@org_golang_x_sys//unix",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"@org_golang_x_sys//unix",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
|
11
bootstrapper/internal/reboot/BUILD.bazel
Normal file
11
bootstrapper/internal/reboot/BUILD.bazel
Normal file
@ -0,0 +1,11 @@
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "reboot",
|
||||
srcs = [
|
||||
"reboot_cross.go",
|
||||
"reboot_linux.go",
|
||||
],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/bootstrapper/internal/reboot",
|
||||
visibility = ["//bootstrapper:__subpackages__"],
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user