Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chain: retry on db failure #478

Merged
merged 23 commits into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
github actions++
  • Loading branch information
alexanderbez committed Mar 29, 2021
commit 9e33567e5e3368a5a3ef06fb22a26a0aa0d5dcf9
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
uses: actions/checkout@v2
- name: Test liveness
run: |
docker-compose -f ./two-chains/docker-compose.yaml down
docker-compose -f ./two-chains/docker-compose.ci.yaml down
rm -fr ./two-chains/ibc-* ./two-chains/.relayer ./two-chains/rly.log
docker-compose -f ./two-chains/docker-compose.yaml up -d
docker-compose -f ./two-chains/docker-compose.ci.yaml up -d
docker logs two-chains_ibc-0_1
docker ps -a
- name: Coverage
Expand Down
6 changes: 6 additions & 0 deletions two-chains/docker-compose.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ version: "3.9"
services:
ibc-0:
image: "tendermint/gaia:v4.2.0"
user: gaia
ports:
- "26656-26657:26656-26657"
- "1317:1317"
- "9090:9090"
volumes:
- ./ibc-0:/gaia/.gaia:Z
command: >
sh -c "gaiad --chain-id=ibc-0 init ibc-0
&& gaiad keys add validator --keyring-backend='test' --output json > $$HOME/.gaia/validator_seed.json 2> /dev/null
Expand All @@ -18,10 +21,13 @@ services:
&& gaiad start --pruning=nothing"
ibc-1:
image: "tendermint/gaia:v4.2.0"
user: gaia
ports:
- "26666-26667:26656-26657"
- "1318:1317"
- "9091:9090"
volumes:
- ./ibc-1:/gaia/.gaia:Z
command: >
sh -c "gaiad --chain-id=ibc-1 init ibc-1
&& gaiad keys add validator --keyring-backend='test' --output json > $$HOME/.gaia/validator_seed.json 2> /dev/null
Expand Down