mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 16:39:38 -05:00
827c4f548d
bazel-deps-mirror is an internal tools used to upload external dependencies that are referenced in the Bazel WORKSPACE to the Edgeless Systems' mirror. It also normalizes deps rules. * hack: add tool to mirror Bazel dependencies * hack: bazel-deps-mirror tests * bazel: add deps mirror commands * ci: upload Bazel dependencies on renovate PRs * update go mod * run deps_mirror_upload Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
20 lines
521 B
Python
20 lines
521 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "issues",
|
|
srcs = ["issues.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/hack/bazel-deps-mirror/internal/issues",
|
|
visibility = ["//hack/bazel-deps-mirror:__subpackages__"],
|
|
)
|
|
|
|
go_test(
|
|
name = "issues_test",
|
|
srcs = ["issues_test.go"],
|
|
embed = [":issues"],
|
|
deps = [
|
|
"@com_github_stretchr_testify//assert",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|