mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-05 21:01:04 -05:00
72e168e653
* switch to darwin compatible shasum
* add bazel rule
* update shellscript for in-place updates
* Revert "update shellscript for in-place updates"
This reverts commit 87d39b06f7
.
* add version tool freshness check
* remove pseudo-version file
* revert to `sha256sum`
* fix workflow indentation
28 lines
871 B
Python
28 lines
871 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
load("//hack/pseudo-version:platforms.bzl", "platforms")
|
|
|
|
go_library(
|
|
name = "check_lib",
|
|
srcs = ["check.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/hack/pseudo-version/check",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"@com_github_aws_aws_sdk_go//aws",
|
|
"@com_github_aws_aws_sdk_go//aws/awserr",
|
|
"@com_github_aws_aws_sdk_go//aws/session",
|
|
"@com_github_aws_aws_sdk_go//service/s3",
|
|
"@com_github_aws_aws_sdk_go//service/s3/s3manager",
|
|
"@io_bazel_rules_go//go/runfiles:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "check",
|
|
data = [
|
|
"//hack/pseudo-version:pseudo_version_" + platform
|
|
for platform in platforms()
|
|
],
|
|
embed = [":check_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|