Skip to content

Commit

Permalink
ci: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamEderzeel authored and esatterwhite committed Dec 23, 2024
1 parent 3ae6524 commit a4b886c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion compose/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@ services:
DOCKER_HOST: tcp://docker:2375
DOCKER_BUILDKIT: 1
TEST_DOCKER_REGISTRY: registry:5000
command: npm run tap
command: |
sh -c '
for i in $(seq 1 10);
do
if nc -z -v docker 2375; then
break
else
echo "docker daemon not availabe waiting for 5 seconds and retring"
sleep 5
fi
done
npm run tap
'
depends_on:
- docker
- registry

0 comments on commit a4b886c

Please sign in to comment.