mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
1d5a8283e0
Previously we used strings to pass microservice versions. This invited bugs due to missing input validation.
22 lines
562 B
Python
22 lines
562 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "constants",
|
|
srcs = [
|
|
"constants.go",
|
|
# keep
|
|
"enterprise.go",
|
|
# keep
|
|
"oss.go",
|
|
],
|
|
importpath = "github.com/edgelesssys/constellation/v2/internal/constants",
|
|
visibility = ["//:__subpackages__"],
|
|
x_defs = {
|
|
"commit": "{STABLE_STAMP_COMMIT}",
|
|
"state": "{STABLE_STAMP_STATE}",
|
|
"timestamp": "{STABLE_STAMP_TIME}",
|
|
"versionInfo": "{STABLE_STAMP_VERSION}",
|
|
},
|
|
deps = ["//internal/semver"],
|
|
)
|