From dadd60d23733c0d78c7475f8245eea1e29d9ce40 Mon Sep 17 00:00:00 2001 From: Andrew Davis <1709934+Savid@users.noreply.github.com> Date: Thu, 16 May 2024 11:09:29 +0300 Subject: [PATCH 1/2] rerevert From 6c97518c40ff9fc164bedae8df2df6630f65fe4c Mon Sep 17 00:00:00 2001 From: Andrew Davis <1709934+Savid@users.noreply.github.com> Date: Thu, 16 May 2024 11:10:49 +0300 Subject: [PATCH 2/2] feat(prysm): bazel proxy --- prysm/build_beacon.sh | 2 +- prysm/build_beacon_minimal.sh | 2 +- prysm/build_validator.sh | 2 +- prysm/build_validator_minimal.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/prysm/build_beacon.sh b/prysm/build_beacon.sh index b4b0af7..a8d56cf 100755 --- a/prysm/build_beacon.sh +++ b/prysm/build_beacon.sh @@ -12,7 +12,7 @@ else sudo apt install -y ca-certificates python3 golang-go go install github.com/bazelbuild/bazelisk@latest fi -$HOME/go/bin/bazelisk build //cmd/beacon-chain:beacon-chain --config=release --define pgo_enabled=0 --enable_bzlmod=false +$HOME/go/bin/bazelisk build //cmd/beacon-chain:beacon-chain --config=release --define pgo_enabled=0 --enable_bzlmod=false --remote_cache=grpcs://bazel-remote-cache-grpc.primary.production.platform.ethpandaops.io:443 # move to base dir to avoid any dockerignore/stat issues mv bazel-bin/cmd/beacon-chain/beacon-chain_/beacon-chain _beacon-chain cp ${SCRIPT_DIR}/entrypoint.sh entrypoint.sh diff --git a/prysm/build_beacon_minimal.sh b/prysm/build_beacon_minimal.sh index 4c3e04b..7436d29 100755 --- a/prysm/build_beacon_minimal.sh +++ b/prysm/build_beacon_minimal.sh @@ -12,7 +12,7 @@ else sudo apt install -y ca-certificates python3 golang-go go install github.com/bazelbuild/bazelisk@latest fi -$HOME/go/bin/bazelisk build //cmd/beacon-chain:beacon-chain --config=minimal --define pgo_enabled=0 --enable_bzlmod=false +$HOME/go/bin/bazelisk build //cmd/beacon-chain:beacon-chain --config=minimal --define pgo_enabled=0 --enable_bzlmod=false --remote_cache=grpcs://bazel-remote-cache-grpc.primary.production.platform.ethpandaops.io:443 # move to base dir to avoid any dockerignore/stat issues mv bazel-bin/cmd/beacon-chain/beacon-chain_/beacon-chain _beacon-chain cp ${SCRIPT_DIR}/entrypoint.sh entrypoint.sh diff --git a/prysm/build_validator.sh b/prysm/build_validator.sh index 4ada74b..38a4dcf 100755 --- a/prysm/build_validator.sh +++ b/prysm/build_validator.sh @@ -12,7 +12,7 @@ else sudo apt install -y ca-certificates python3 golang-go go install github.com/bazelbuild/bazelisk@latest fi -$HOME/go/bin/bazelisk build //cmd/validator:validator --config=release --define pgo_enabled=0 --enable_bzlmod=false +$HOME/go/bin/bazelisk build //cmd/validator:validator --config=release --define pgo_enabled=0 --enable_bzlmod=false --remote_cache=grpcs://bazel-remote-cache-grpc.primary.production.platform.ethpandaops.io:443 # move to base dir to avoid any dockerignore/stat issues mv bazel-bin/cmd/validator/validator_/validator _validator cp ${SCRIPT_DIR}/entrypoint.sh entrypoint.sh diff --git a/prysm/build_validator_minimal.sh b/prysm/build_validator_minimal.sh index ffc3ae4..7dccff0 100755 --- a/prysm/build_validator_minimal.sh +++ b/prysm/build_validator_minimal.sh @@ -12,7 +12,7 @@ else sudo apt install -y ca-certificates python3 golang-go go install github.com/bazelbuild/bazelisk@latest fi -$HOME/go/bin/bazelisk build //cmd/validator:validator --config=minimal --define pgo_enabled=0 --enable_bzlmod=false +$HOME/go/bin/bazelisk build //cmd/validator:validator --config=minimal --define pgo_enabled=0 --enable_bzlmod=false --remote_cache=grpcs://bazel-remote-cache-grpc.primary.production.platform.ethpandaops.io:443 # move to base dir to avoid any dockerignore/stat issues mv bazel-bin/cmd/validator/validator_/validator _validator cp ${SCRIPT_DIR}/entrypoint.sh entrypoint.sh