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.
This commit is contained in:
Etan Kissling 2023-11-06 12:10:36 +01:00 committed by GitHub
parent d8a7f0df81
commit eb7c8b7db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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") {