Skip to content

Commit

Permalink
Specify the git tag/branch for opera in stack.yml (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
dboreham authored Jun 29, 2023
1 parent 9872ce3 commit 6595659
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions app/data/container-build/cerc-go-opera/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion app/data/stacks/mainnet-go-opera/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6595659

Please sign in to comment.