Skip to content

Commit 4453728

Browse files
committed
Murder docker container and network before run
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
1 parent 34107f9 commit 4453728

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test-integration-v2-kradalby.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ jobs:
2222
integration_test/
2323
config-example.yaml
2424
25+
# We currently only run one job at the time, so make sure
26+
# we just wipe all containers and all networks.
27+
- name: Clean up Docker
28+
if: steps.changed-files.outputs.any_changed == 'true'
29+
run: |
30+
docker kill $(docker ps -q)
31+
docker network prune -f
32+
2533
- name: Run general integration tests
2634
if: steps.changed-files.outputs.any_changed == 'true'
2735
run: nix develop --command -- make test_integration_v2_general

0 commit comments

Comments
 (0)