Skip to content

Commit

Permalink
Forcefully remove test container in CI job
Browse files Browse the repository at this point in the history
because we now use the same container name when launching via the
`docker` command and via `docker-compose` we need to make sure the
container is no more before proceeding to the next step of the test.

Sometimes killing the process may take a bit longer and docker falls on
its face when that happens!
  • Loading branch information
atodorov committed Jan 8, 2024
1 parent e667e97 commit 7e4a6df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
run: |
# this will also kill the parent container
sudo killall -9 creditcoin-node
sleep 10
docker rm -f creditcoin-validator
sleep 10
- name: Start docker-compose
run: |
Expand Down

0 comments on commit 7e4a6df

Please sign in to comment.