Skip to content

Commit 4aa5c27

Browse files
.github/workflows: added ydb image to ci
1 parent d2bf38b commit 4aa5c27

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,20 @@ 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+
--health-cmd "curl -f http://localhost:8765/healthcheck || exit 1"
288+
--health-interval 10s
289+
--health-timeout 5s
290+
--health-retries
277291
steps:
278292
- uses: actions/checkout@v4
279293
- uses: actions/setup-go@v5
@@ -476,6 +490,20 @@ jobs:
476490
--health-interval 10s
477491
--health-timeout 5s
478492
--health-retries 5
493+
ydb:
494+
image: ydbplatform/local-ydb:trunk
495+
env:
496+
GRPC_TLS_PORT: 2135
497+
GRPC_PORT: 2136
498+
MON_PORT: 8765
499+
ports:
500+
- 2136:2136
501+
- 8765:8765
502+
options: >-
503+
--health-cmd "curl -f http://localhost:8765/healthcheck || exit 1"
504+
--health-interval 10s
505+
--health-timeout 5s
506+
--health-retries
479507
steps:
480508
- uses: actions/checkout@v4
481509
with:

0 commit comments

Comments
 (0)