From 5a2d8a3a2b371d865117cd010caf85e3132edfef Mon Sep 17 00:00:00 2001 From: David Boreham Date: Wed, 28 Jun 2023 12:11:36 -0600 Subject: [PATCH] Specify the git tag/branch for opera in stack.yml --- app/data/container-build/cerc-go-opera/build.sh | 4 ---- app/data/stacks/mainnet-go-opera/stack.yml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/data/container-build/cerc-go-opera/build.sh b/app/data/container-build/cerc-go-opera/build.sh index 37e561a4..3d5837c7 100755 --- a/app/data/container-build/cerc-go-opera/build.sh +++ b/app/data/container-build/cerc-go-opera/build.sh @@ -2,10 +2,6 @@ # Build cerc/go-opera source ${CERC_CONTAINER_BASE_DIR}/build-base.sh -# Checkout appropriate release; refer to https://docs.fantom.foundation/ -OPERA_TAG=${OPERA_TAG:-release/1.1.2-rc.5} -git -C ${CERC_REPO_BASE_DIR}/go-opera checkout ${OPERA_TAG} - # Repo's dockerfile gives build error because it's hardcoded for go 1.17; go 1.19 is required sed -i 's/FROM golang:1\.[0-9]*-alpine as builder/FROM golang:1.19-alpine as builder/' ${CERC_REPO_BASE_DIR}/go-opera/docker/Dockerfile.opera diff --git a/app/data/stacks/mainnet-go-opera/stack.yml b/app/data/stacks/mainnet-go-opera/stack.yml index 08281607..80815cdf 100644 --- a/app/data/stacks/mainnet-go-opera/stack.yml +++ b/app/data/stacks/mainnet-go-opera/stack.yml @@ -2,7 +2,7 @@ version: "1.1" name: mainnet-opera decription: "Fantom mainnet node" repos: - - github.com/Fantom-foundation/go-opera + - github.com/Fantom-foundation/go-opera@release/1.1.2-rc.5 containers: - cerc/go-opera pods: -- 2.45.2