Skip to content

Commit 331f2b4

Browse files
committed
wait for container startup
1 parent 172f7b2 commit 331f2b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,13 @@ RSC_API_KEYS=vetiver-testing/rsconnect_api_keys.json
170170

171171
dev:
172172
docker-compose up -d
173-
docker-compose exec -T rsconnect bash < vetiver-testing/setup-rsconnect/add-users.sh
173+
# wait for Connect to come up
174174
# curl fails with error 52 without a short sleep....
175175
sleep 5
176176
curl -s --retry 10 --retry-connrefused http://localhost:3939
177+
docker-compose exec -T rsconnect bash < vetiver-testing/setup-rsconnect/add-users.sh
178+
sleep 5
179+
curl -s --retry 10 --retry-connrefused http://localhost:3939
177180
python vetiver-testing/setup-rsconnect/dump_api_keys.py $(RSC_API_KEYS)
178181

179182
dev-stop:

0 commit comments

Comments
 (0)