File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -126,11 +126,16 @@ jobs:
126126 if : ${{ runner.os == 'macOS' }}
127127 uses : XRPLF/actions/cleanup-workspace@cf0433aa74563aead044a1e395610c96d65a37cf
128128
129- - name : Spin up scylladb
129+ - name : Prune docker system (macOS)
130+ if : ${{ runner.os == 'macOS' }}
131+ run : |
132+ docker rm --force scylladb
133+ docker system prune --all --force --volumes
134+
135+ - name : Spin up scylladb (macOS)
130136 if : ${{ runner.os == 'macOS' }}
131137 timeout-minutes : 3
132138 run : |
133- docker rm --force scylladb || true
134139 docker run \
135140 --detach \
136141 --name scylladb \
@@ -142,6 +147,9 @@ jobs:
142147 --memory 16G \
143148 scylladb/scylla
144149
150+ - name : Wait for scylladb to be healthy (macOS)
151+ if : ${{ runner.os == 'macOS' }}
152+ run : |
145153 until [ "$(docker inspect -f '{{.State.Health.Status}}' scylladb)" == "healthy" ]; do
146154 sleep 5
147155 done
You can’t perform that action at this time.
0 commit comments