1
0

Specify the git tag/branch for opera in stack.yml (#442)

This commit is contained in:
David Boreham 2023-06-29 15:10:08 -06:00 committed by GitHub
parent 9872ce33bb
commit 6595659a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -2,10 +2,6 @@
# Build cerc/go-opera # Build cerc/go-opera
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh 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 # 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 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

View File

@ -2,7 +2,7 @@ version: "1.1"
name: mainnet-opera name: mainnet-opera
decription: "Fantom mainnet node" decription: "Fantom mainnet node"
repos: repos:
- github.com/Fantom-foundation/go-opera - github.com/Fantom-foundation/go-opera@release/1.1.2-rc.5
containers: containers:
- cerc/go-opera - cerc/go-opera
pods: pods: