File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed
Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,23 @@ jobs:
274274 --health-interval 10s
275275 --health-timeout 5s
276276 --health-retries 5
277+ ydb :
278+ image : ydbplatform/local-ydb:trunk
279+ env :
280+ GRPC_TLS_PORT : 2135
281+ GRPC_PORT : 2136
282+ MON_PORT : 8765
283+ ports :
284+ - 2136:2136
285+ - 8765:8765
286+ options : >-
287+ --hostname localhost
288+ --platform linux/amd64
289+ --health-cmd "netstat -an | grep -q 2136"
290+ --health-interval 10s
291+ --health-timeout 5s
292+ --health-retries 5
293+ --health-start-period 30s
277294 steps :
278295 - uses : actions/checkout@v4
279296 - uses : actions/setup-go@v5
@@ -476,6 +493,23 @@ jobs:
476493 --health-interval 10s
477494 --health-timeout 5s
478495 --health-retries 5
496+ ydb :
497+ image : ydbplatform/local-ydb:trunk
498+ env :
499+ GRPC_TLS_PORT : 2135
500+ GRPC_PORT : 2136
501+ MON_PORT : 8765
502+ ports :
503+ - 2136:2136
504+ - 8765:8765
505+ options : >-
506+ --hostname localhost
507+ --platform linux/amd64
508+ --health-cmd "netstat -an | grep -q 2136"
509+ --health-interval 10s
510+ --health-timeout 5s
511+ --health-retries 5
512+ --health-start-period 30s
479513 steps :
480514 - uses : actions/checkout@v4
481515 with :
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ services:
180180 - 2136:2136
181181 - 8765:8765
182182 healthcheck :
183- test : ["CMD-SHELL", "curl -f http:// localhost:8765/healthcheck || exit 1 "]
183+ test : ["CMD-SHELL", "nc -z localhost 2136 "]
184184 interval : 10s
185185 timeout : 5s
186186 retries : 10
You can’t perform that action at this time.
0 commit comments