-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(ci): fix localnet * imp(deps): use Go 1.18 * changelog * disable linters
- Loading branch information
1 parent
68e2d5d
commit 6080489
Showing
14 changed files
with
54 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
check-latest: true | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
check-latest: true | ||
- name: Display Go Version | ||
run: go version | ||
|
@@ -37,7 +37,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
check-latest: true | ||
- uses: actions/checkout@v3 | ||
- uses: technote-space/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/evmos/evmos/v5 | ||
|
||
go 1.17 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/armon/go-metrics v0.4.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
all: | ||
docker build --no-cache --tag evmos/node ../.. -f evmos/Dockerfile | ||
|
||
.PHONY: all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM golang:stretch as build-env | ||
|
||
# Install minimum necessary dependencies | ||
ENV PACKAGES curl make git libc-dev bash gcc | ||
RUN apt-get update && apt-get upgrade -y && \ | ||
apt-get install -y $PACKAGES | ||
|
||
# Set working directory for the build | ||
WORKDIR /go/src/github.com/evmos/evmos | ||
|
||
# Add source files | ||
COPY . . | ||
|
||
# build Ethermint | ||
RUN make build-linux | ||
|
||
# Final image | ||
FROM golang:1.18 as final | ||
|
||
WORKDIR / | ||
|
||
RUN apt-get update | ||
|
||
# Copy over binaries from the build-env | ||
COPY --from=build-env /go/src/github.com/evmos/evmos/build/evmosd / | ||
COPY --from=build-env /go/src/github.com/evmos/evmos/scripts/start-docker.sh / | ||
|
||
EXPOSE 26656 26657 1317 8545 8546 | ||
|
||
# Run evmosd by default, omit entrypoint to ease using container with evmosd | ||
ENTRYPOINT ["/bin/bash", "-c"] |