mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 05:38:55 +00:00
81c2e4e94b
* first pass on pow faucet for testnet * delete unused thing * remove unneeded thing * remove other thing * https & remove a log * don't force redirect on https, its not working? * some renaming of stuff * lint * lint * some stablity config * move protos to proto directory, add generated pb file for go users * add health probe * add hpa and request cpu * handle err * some more config
54 lines
1.1 KiB
Python
54 lines
1.1 KiB
Python
load("@bazel_gazelle//:def.bzl", "gazelle")
|
|
load("@com_github_atlassian_bazel_tools//gometalinter:def.bzl", "gometalinter")
|
|
load("@com_github_atlassian_bazel_tools//goimports:def.bzl", "goimports")
|
|
load("@io_kubernetes_build//defs:run_in_workspace.bzl", "workspace_binary")
|
|
|
|
prefix = "github.com/prysmaticlabs/prysm"
|
|
|
|
exports_files(["genesis.json"])
|
|
|
|
# gazelle:prefix github.com/prysmaticlabs/prysm
|
|
gazelle(
|
|
name = "gazelle",
|
|
prefix = prefix,
|
|
)
|
|
|
|
# Protobuf compiler (non-gRPC)
|
|
alias(
|
|
name = "proto_compiler",
|
|
actual = "@io_bazel_rules_go//proto:gogofast_proto",
|
|
visibility = [
|
|
"//proto:__subpackages__",
|
|
],
|
|
)
|
|
|
|
# Protobuf compiler (gRPC)
|
|
alias(
|
|
name = "grpc_proto_compiler",
|
|
actual = "@io_bazel_rules_go//proto:gogofast_grpc",
|
|
visibility = [
|
|
"//proto:__subpackages__",
|
|
],
|
|
)
|
|
|
|
gometalinter(
|
|
name = "gometalinter",
|
|
config = "//:.gometalinter.json",
|
|
paths = [
|
|
"./...",
|
|
],
|
|
prefix = prefix,
|
|
)
|
|
|
|
goimports(
|
|
name = "goimports",
|
|
display_diffs = True,
|
|
write = False,
|
|
prefix = prefix,
|
|
)
|
|
|
|
workspace_binary(
|
|
name = "golint",
|
|
cmd = "@com_github_golang_lint//golint",
|
|
)
|