mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Bazel: minimal test build transitions (#9122)
* Add build transitions for minimal config based tests * respect existing gotags * clean up import * Add some commentary * gaz Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: rauljordan <raul@prysmaticlabs.com>
This commit is contained in:
parent
24d17a536c
commit
d6bd619429
@ -14,6 +14,7 @@ exports_files([
|
|||||||
|
|
||||||
# gazelle:prefix github.com/prysmaticlabs/prysm
|
# gazelle:prefix github.com/prysmaticlabs/prysm
|
||||||
# gazelle:map_kind go_library go_library @prysm//tools/go:def.bzl
|
# gazelle:map_kind go_library go_library @prysm//tools/go:def.bzl
|
||||||
|
# gazelle:map_kind go_test go_test @prysm//tools/go:def.bzl
|
||||||
# gazelle:map_kind go_repository go_repository @prysm//tools/go:def.bzl
|
# gazelle:map_kind go_repository go_repository @prysm//tools/go:def.bzl
|
||||||
gazelle(
|
gazelle(
|
||||||
name = "gazelle",
|
name = "gazelle",
|
||||||
|
@ -88,6 +88,8 @@ http_archive(
|
|||||||
# Required until https://github.com/bazelbuild/rules_go/pull/2450 merges otherwise nilness
|
# Required until https://github.com/bazelbuild/rules_go/pull/2450 merges otherwise nilness
|
||||||
# nogo check fails for certain third_party dependencies.
|
# nogo check fails for certain third_party dependencies.
|
||||||
"//third_party:io_bazel_rules_go.patch",
|
"//third_party:io_bazel_rules_go.patch",
|
||||||
|
# Expose internals of go_test for custom build transitions.
|
||||||
|
"//third_party:io_bazel_rules_go_test.patch",
|
||||||
],
|
],
|
||||||
sha256 = "7c10271940c6bce577d51a075ae77728964db285dac0a46614a7934dc34303e6",
|
sha256 = "7c10271940c6bce577d51a075ae77728964db285dac0a46614a7934dc34303e6",
|
||||||
urls = [
|
urls = [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
3
beacon-chain/cache/BUILD.bazel
vendored
3
beacon-chain/cache/BUILD.bazel
vendored
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
# gazelle:exclude committee_disabled.go
|
# gazelle:exclude committee_disabled.go
|
||||||
# gazelle:exclude proposer_indices_disabled.go
|
# gazelle:exclude proposer_indices_disabled.go
|
||||||
|
3
beacon-chain/cache/depositcache/BUILD.bazel
vendored
3
beacon-chain/cache/depositcache/BUILD.bazel
vendored
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
# gazelle:exclude testdata
|
# gazelle:exclude testdata
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
# Build with --define=kafka_enabled=false to exclude kafka wrapper.
|
# Build with --define=kafka_enabled=false to exclude kafka wrapper.
|
||||||
config_setting(
|
config_setting(
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
||||||
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
|
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
|
||||||
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle", "container_image")
|
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle", "container_image")
|
||||||
load("//tools:go_image.bzl", "go_image_alpine", "go_image_debug")
|
load("//tools:go_image.bzl", "go_image_alpine", "go_image_debug")
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
||||||
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
|
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
|
||||||
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle", "container_image")
|
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle", "container_image")
|
||||||
load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push")
|
load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push")
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
||||||
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
|
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
|
||||||
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle", "container_image")
|
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle", "container_image")
|
||||||
load("//tools:go_image.bzl", "go_image_alpine", "go_image_debug")
|
load("//tools:go_image.bzl", "go_image_alpine", "go_image_debug")
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_test")
|
||||||
|
|
||||||
# gazelle:exclude geth_deps.go
|
# gazelle:exclude geth_deps.go
|
||||||
|
|
||||||
@ -20,6 +20,7 @@ go_test(
|
|||||||
"//tools/bootnode",
|
"//tools/bootnode",
|
||||||
"@com_github_ethereum_go_ethereum//cmd/geth",
|
"@com_github_ethereum_go_ethereum//cmd/geth",
|
||||||
],
|
],
|
||||||
|
eth_network = "minimal",
|
||||||
shard_count = 2,
|
shard_count = 2,
|
||||||
tags = [
|
tags = [
|
||||||
"e2e",
|
"e2e",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,13 +1,25 @@
|
|||||||
|
load(
|
||||||
|
"@bazel_skylib//rules:common_settings.bzl",
|
||||||
|
"string_flag",
|
||||||
|
)
|
||||||
|
|
||||||
|
# Example flag: --//proto:network=minimal
|
||||||
|
string_flag(
|
||||||
|
name = "network",
|
||||||
|
build_setting_default = "mainnet",
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
)
|
||||||
|
|
||||||
config_setting(
|
config_setting(
|
||||||
name = "ssz_mainnet",
|
name = "ssz_mainnet",
|
||||||
define_values = {
|
flag_values = {
|
||||||
"ssz": "mainnet",
|
"@prysm//proto:network": "mainnet",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
config_setting(
|
config_setting(
|
||||||
name = "ssz_minimal",
|
name = "ssz_minimal",
|
||||||
define_values = {
|
flag_values = {
|
||||||
"ssz": "minimal",
|
"@prysm//proto:network": "minimal",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
load("@prysm//tools/go:def.bzl", "go_library")
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user