Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
fix(ci): add retry in uint-tests kicker start
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu committed Jul 26, 2022
1 parent 1bb4148 commit f640a84
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,18 @@ jobs:
- uses: actions/checkout@v3
with:
repository: RetricSu/godwoken-kicker
ref: 'compatibility-changes'
ref: 'master'
- name: Kicker init
run: ./kicker init
- name: Kicker start
run: ./kicker start
run: |
# Temporary workaround unreliable web3 health check
(echo " == kicker start attempt: 1 == " && ./kicker start) || \
(echo " == kicker start attempt: 2 == " && ./kicker stop && ./kicker start) || \
(echo " == kicker start failed == " && docker-compose --file docker/docker-compose.yml logs --tail 6 && exit 1)
docker-compose --file docker/docker-compose.yml logs --tail 6
# FIXME: Sometimes, Godwoken service is not running
# https://github.com/Flouse/godwoken/runs/3639382192?check_suite_focus=true#step:8:667
- name: Kicker ps
run: sleep 60 && ./kicker ps && ./kicker logs web3
- name: Store kicker network information as environment variables
Expand Down

0 comments on commit f640a84

Please sign in to comment.