metropolis/node: add version to status
This implements submitting the Node's version to its' Status report to
the control plane.
This version is then displayed to the user in metroctl.
Change-Id: I70eadb9a7001b6e50931245e8a6274da2fbdc5bc
Reviewed-on: https://review.monogon.dev/c/monogon/+/2334
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/metropolis/proto/common/BUILD.bazel b/metropolis/proto/common/BUILD.bazel
index 5ddb3f7..05c4995 100644
--- a/metropolis/proto/common/BUILD.bazel
+++ b/metropolis/proto/common/BUILD.bazel
@@ -7,6 +7,7 @@
srcs = ["common.proto"],
visibility = ["//metropolis:__subpackages__"],
deps = [
+ "//version/spec:spec_proto",
"@com_google_protobuf//:timestamp_proto",
],
)
@@ -16,6 +17,7 @@
importpath = "source.monogon.dev/metropolis/proto/common",
proto = ":common_proto",
visibility = ["//metropolis:__subpackages__"],
+ deps = ["//version/spec"],
)
go_library(