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:
parent
d8a7f0df81
commit
eb7c8b7db2
4
Makefile
4
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.
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue