Skip to content

Commit

Permalink
LH latest (eth-educators#1847)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Jun 11, 2024
1 parent 15cf13f commit 5c59cd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 2 additions & 4 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ TEKU_DOCKERFILE=Dockerfile.binary
# SRC build target can be a tag, a branch, or a pr as "pr-ID"
LH_SRC_BUILD_TARGET=stable
LH_SRC_REPO=https://github.com/sigp/lighthouse
# If Lighthouse terminates with a SIGILL, make this "latest"
LH_DOCKER_TAG=latest-modern
LH_DOCKER_TAG=latest
LH_DOCKER_REPO=sigp/lighthouse
LH_DOCKERFILE=Dockerfile.binary

Expand Down Expand Up @@ -256,7 +255,6 @@ BESU_DOCKERFILE=Dockerfile.binary
# SRC build target can be a tag, a branch, or a pr as "pr-ID"
ERIGON_SRC_BUILD_TARGET='$(git describe --tags $(git rev-list --tags --max-count=1))'
ERIGON_SRC_REPO=https://github.com/ledgerwatch/erigon
#ERIGON_DOCKER_TAG=stable # stable tag was abandoned by Erigon team, set a tag manually
ERIGON_DOCKER_TAG=v2.60.1
ERIGON_DOCKER_REPO=thorax/erigon
ERIGON_DOCKERFILE=Dockerfile.binary
Expand Down Expand Up @@ -308,4 +306,4 @@ DDNS_TAG=v2
NODE_EXPORTER_IGNORE_MOUNT_REGEX='^/(dev|proc|sys|run|var/lib/docker/.+)($|/)'

# Used by ethd update - please do not adjust
ENV_VERSION=11
ENV_VERSION=12
6 changes: 6 additions & 0 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,12 @@ envmigrate() {
if [[ "${var}" = "DDNS_TAG" && "${__source_ver}" -lt "8" ]]; then # Switch to ddns-updater
value="v2"
fi
if [[ "${var}" = "LH_DOCKER_TAG" && "${value}" = "latest-modern" ]]; then # LH 5.2 ditched latest-modern
value="latest"
fi
if [[ "${var}" = "ERIGON_DOCKER_TAG" && "${value}" = "stable" ]]; then # Erigon ditched stable
value="v2.60.1"
fi
sed -i'.original' -e "s~^\(${var}\s*=\s*\).*$~\1${value}~" "${ENV_FILE}"
fi
done
Expand Down

0 comments on commit 5c59cd7

Please sign in to comment.