From eb7c8b7db2e67f1a27e6ad0b974c10d336c4ed83 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Mon, 6 Nov 2023 12:10:36 +0100 Subject: [PATCH] do not download Holesky genesis on `git clone` (#5573) Holesky genesis.ssz file may be unavailable due to quota limits on `eth-clients/holesky`; do not download it by default during checkout. Nimbus will download it on first startup from a mirror instead. --- Makefile | 4 ++-- ci/Jenkinsfile.benchmarks | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a11259c6b..26c29d38a 100644 --- a/Makefile +++ b/Makefile @@ -118,9 +118,9 @@ ifneq ($(OS), Windows_NT) PLATFORM_SPECIFIC_TARGETS += gnosis-build endif -# We don't need the `vendor/holesky/public-keys/all.txt` file but fetching it +# We don't need these `vendor/holesky` files but fetching them # may trigger 'This repository is over its data quota' from GitHub -GIT_SUBMODULE_CONFIG := -c lfs.fetchexclude=/public-keys/all.txt +GIT_SUBMODULE_CONFIG := -c lfs.fetchexclude=/public-keys/all.txt,/custom_config_data/genesis.ssz,/custom_config_data/parsedBeaconState.json ifeq ($(NIM_PARAMS),) # "variables.mk" was not included, so we update the submodules. diff --git a/ci/Jenkinsfile.benchmarks b/ci/Jenkinsfile.benchmarks index e58492590..481b84b42 100644 --- a/ci/Jenkinsfile.benchmarks +++ b/ci/Jenkinsfile.benchmarks @@ -23,7 +23,7 @@ node("metal") { /* source code checkout */ checkout scm /* we need to update the submodules before caching kicks in */ - sh "git -c lfs.fetchexclude=/public-keys/all.txt submodule update --init --recursive" + sh "git -c lfs.fetchexclude=/public-keys/all.txt,/custom_config_data/genesis.ssz,/custom_config_data/parsedBeaconState.json submodule update --init --recursive" } stage("Build") {