Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Add Github action to start ephemeral cluster and run RPC tests #16

Merged
merged 39 commits into from
Mar 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
1b9ddde
first attempt at ephemeral cluster action
jbowen93 Mar 16, 2022
8382cdf
fix type on yaml
jbowen93 Mar 16, 2022
92fd303
update triggers
jbowen93 Mar 16, 2022
a23b1ff
debug
jbowen93 Mar 16, 2022
61e3e1b
use jbowen93/evmos epehemeral-cluster repo
jbowen93 Mar 16, 2022
5bd99a6
work from ephemeral dir
jbowen93 Mar 16, 2022
3d56f40
attempt to run rpc tests
jbowen93 Mar 16, 2022
d2e0739
use go1.17
jbowen93 Mar 16, 2022
1e25423
fix syntax
jbowen93 Mar 16, 2022
bc4bb47
try in one step
jbowen93 Mar 16, 2022
622df77
debug
jbowen93 Mar 16, 2022
e9b68ce
debug
jbowen93 Mar 16, 2022
f957d9d
debug
jbowen93 Mar 16, 2022
b3d87af
more logs
jbowen93 Mar 16, 2022
e4ea647
logs
jbowen93 Mar 16, 2022
055d732
log docker-compose version
jbowen93 Mar 16, 2022
86c98e5
try compose v2
jbowen93 Mar 16, 2022
ded2697
update to use ephemeral-cluster main branch
jbowen93 Mar 16, 2022
3d419f9
first attempt at ephemeral cluster action
jbowen93 Mar 16, 2022
6b784d0
fix type on yaml
jbowen93 Mar 16, 2022
2b5ba84
update triggers
jbowen93 Mar 16, 2022
0cc3fac
debug
jbowen93 Mar 16, 2022
2f010ba
use jbowen93/evmos epehemeral-cluster repo
jbowen93 Mar 16, 2022
fdfa99a
work from ephemeral dir
jbowen93 Mar 16, 2022
2038ac0
attempt to run rpc tests
jbowen93 Mar 16, 2022
31d06e9
use go1.17
jbowen93 Mar 16, 2022
b30ae92
fix syntax
jbowen93 Mar 16, 2022
2d582e4
try in one step
jbowen93 Mar 16, 2022
3ebab73
debug
jbowen93 Mar 16, 2022
efde1ee
debug
jbowen93 Mar 16, 2022
1ddb62c
debug
jbowen93 Mar 16, 2022
09244f7
more logs
jbowen93 Mar 16, 2022
9c7625c
logs
jbowen93 Mar 16, 2022
34701f6
log docker-compose version
jbowen93 Mar 16, 2022
c8f47ac
try compose v2
jbowen93 Mar 16, 2022
19b142a
update to use ephemeral-cluster main branch
jbowen93 Mar 16, 2022
285d0e7
Merge branch 'ephemeral' of github.com:jbowen93/ethermint into ephemeral
jbowen93 Mar 18, 2022
3dcf635
update trigger
jbowen93 Mar 18, 2022
548fb19
change dir before cluster setup
jbowen93 Mar 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/ephemeral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: ephemeral

on:
push:
branches:
- '**'
tags:
- 'v*.*.*'
pull_request:
branches:
- 'main'
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Clone ephemeral-cluster repo
uses: actions/checkout@v2
with:
repository: celestiaorg/ephemeral-cluster
path: ephemeral-cluster
ref: main
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: "Setup Cluster"
run: |
cd ephemeral-cluster
./debug-start-cluster.sh
- name: "Test Cluster"
run: |
docker ps -a
echo "------------- docker logs core0 -------------"
docker logs core0
echo "------------- docker logs bridge0 -------------"
docker logs bridge0
echo "------------- docker logs light0 -------------"
docker logs light0
echo "------------- docker logs dalc0 -------------"
docker logs dalc0
echo "------------- docker logs evmos0 -------------"
docker logs evmos0
cd /home/runner/work/ethermint/ethermint
MODE=rpc HOST=http://127.0.0.1:8545 go test ./tests/rpc/...

1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ require (

replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76
// github.com/celestiaorg/optimint => github.com/jbowen93/optimint v0.0.0-20220315020324-912fd8a28a1
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
google.golang.org/grpc => google.golang.org/grpc v1.33.2
)