mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
This ensures that sidecars must be installed from the same release. See issue #13718.
38 lines
953 B
Python
38 lines
953 B
Python
load("//tools:defs.bzl", "go_binary")
|
|
load("//tools/embeddedbinary:defs.bzl", "embedded_binary_go_library")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "checkpointgofer_binary",
|
|
srcs = ["main.go"],
|
|
pure = True,
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
x_defs = {"gvisor.dev/gvisor/runsc/version.version": "{STABLE_VERSION}"},
|
|
deps = [
|
|
"//pkg/sentry/state/stateipc",
|
|
"//pkg/unet",
|
|
"//pkg/urpc",
|
|
"//runsc/checkpointgofer/gcs",
|
|
"//runsc/cli",
|
|
"//runsc/cmd/util",
|
|
"//runsc/flag",
|
|
"//runsc/gvisorbinaries",
|
|
"@com_github_google_subcommands//:go_default_library",
|
|
"@org_golang_x_oauth2//:go_default_library",
|
|
],
|
|
)
|
|
|
|
embedded_binary_go_library(
|
|
name = "checkpointgofer",
|
|
binary = ":checkpointgofer_binary",
|
|
visibility = [
|
|
"//runsc:__subpackages__",
|
|
],
|
|
)
|