mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
7a04ff6368
* Save db backup * Fix DB backup method * Add backup db webhook * gaz * if err != nil * more verbose filename * Don't obliterate everything :)
27 lines
826 B
Python
27 lines
826 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"db.go",
|
|
"http_backup_handler.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/db/filters:go_default_library",
|
|
"//beacon-chain/db/kv:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["db_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["//beacon-chain/db/kv:go_default_library"],
|
|
)
|