Wait for the redis service health check in CI
This commit is contained in:
1 parent
28283b06ce
commit
1fd6f93309
1 file changed
+6
@@ -14,6 +14,12 @@ jobs:
|
||||
services:
|
||||
redis:
|
||||
image: redis:4.0
|
||||
options: >-
|
||||
--health-cmd "redis-cli ping"
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 10
|
||||
--health-start-period 5s
|
||||
env:
|
||||
REDIS_HOST: redis
|
||||
steps:
|
||||
|
||||
Reference in new issue
Block a user