Skip to content

Commit 8ee030c

Browse files
committed
fixed ci.yml
1 parent a6c2e36 commit 8ee030c

File tree

1 file changed

+135
-14
lines changed

1 file changed

+135
-14
lines changed

.github/workflows/ci.yml

Lines changed: 135 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,75 @@ jobs:
205205
--health-interval 10s
206206
--health-timeout 5s
207207
--health-retries 5
208+
postgres13:
209+
image: postgres:13.1
210+
env:
211+
POSTGRES_DB: test
212+
POSTGRES_PASSWORD: pass
213+
ports:
214+
- 5433:5432
215+
options: >-
216+
--health-cmd pg_isready
217+
--health-interval 10s
218+
--health-timeout 5s
219+
--health-retries 5
220+
postgres14:
221+
image: postgres:14
222+
env:
223+
POSTGRES_DB: test
224+
POSTGRES_PASSWORD: pass
225+
ports:
226+
- 5434:5432
227+
options: >-
228+
--health-cmd pg_isready
229+
--health-interval 10s
230+
--health-timeout 5s
231+
--health-retries 5
232+
postgres15:
233+
image: postgres:15
234+
env:
235+
POSTGRES_DB: test
236+
POSTGRES_PASSWORD: pass
237+
ports:
238+
- 5435:5432
239+
options: >-
240+
--health-cmd pg_isready
241+
--health-interval 10s
242+
--health-timeout 5s
243+
--health-retries 5
244+
postgres16:
245+
image: postgres:16
246+
env:
247+
POSTGRES_DB: test
248+
POSTGRES_PASSWORD: pass
249+
ports:
250+
- 5436:5432
251+
options: >-
252+
--health-cmd pg_isready
253+
--health-interval 10s
254+
--health-timeout 5s
255+
--health-retries 5
256+
postgres17:
257+
image: postgres:17
258+
env:
259+
POSTGRES_DB: test
260+
POSTGRES_PASSWORD: pass
261+
ports:
262+
- 5437:5432
263+
options: >-
264+
--health-cmd pg_isready
265+
--health-interval 10s
266+
--health-timeout 5s
267+
--health-retries 5
268+
gremlin-server:
269+
image: entgo/gremlin-server
270+
ports:
271+
- 8182:8182
272+
options: >-
273+
--health-cmd "netstat -an | grep -q 8182"
274+
--health-interval 10s
275+
--health-timeout 5s
276+
--health-retries 5
208277
ydb:
209278
image: ydbplatform/local-ydb:latest
210279
ports:
@@ -217,15 +286,6 @@ jobs:
217286
YDB_TABLE_ENABLE_PREPARED_DDL: true
218287
YDB_ENABLE_COLUMN_TABLES: true
219288
options: '-h localhost'
220-
gremlin-server:
221-
image: entgo/gremlin-server
222-
ports:
223-
- 8182:8182
224-
options: >-
225-
--health-cmd "netstat -an | grep -q 8182"
226-
--health-interval 10s
227-
--health-timeout 5s
228-
--health-retries 5
229289
steps:
230290
- uses: actions/checkout@v4
231291
- uses: actions/setup-go@v5
@@ -359,14 +419,63 @@ jobs:
359419
--health-interval 10s
360420
--health-timeout 5s
361421
--health-retries 5
362-
ydb:
363-
image: cr.yandex/yc/yandex-docker-local/ydb:latest
422+
postgres13:
423+
image: postgres:13.1
424+
env:
425+
POSTGRES_DB: test
426+
POSTGRES_PASSWORD: pass
364427
ports:
365-
- 2136:2136
428+
- 5433:5432
429+
options: >-
430+
--health-cmd pg_isready
431+
--health-interval 10s
432+
--health-timeout 5s
433+
--health-retries 5
434+
postgres14:
435+
image: postgres:14
366436
env:
367-
YDB_USE_IN_MEMORY_PDISKS: true
437+
POSTGRES_DB: test
438+
POSTGRES_PASSWORD: pass
439+
ports:
440+
- 5434:5432
441+
options: >-
442+
--health-cmd pg_isready
443+
--health-interval 10s
444+
--health-timeout 5s
445+
--health-retries 5
446+
postgres15:
447+
image: postgres:15
448+
env:
449+
POSTGRES_DB: test
450+
POSTGRES_PASSWORD: pass
451+
ports:
452+
- 5435:5432
453+
options: >-
454+
--health-cmd pg_isready
455+
--health-interval 10s
456+
--health-timeout 5s
457+
--health-retries 5
458+
postgres16:
459+
image: postgres:16
460+
env:
461+
POSTGRES_DB: test
462+
POSTGRES_PASSWORD: pass
463+
ports:
464+
- 5436:5432
368465
options: >-
369-
--health-cmd "ydbd admin bs --node-port=2136 --timeout=5s"
466+
--health-cmd pg_isready
467+
--health-interval 10s
468+
--health-timeout 5s
469+
--health-retries 5
470+
postgres17:
471+
image: postgres:17
472+
env:
473+
POSTGRES_DB: test
474+
POSTGRES_PASSWORD: pass
475+
ports:
476+
- 5437:5432
477+
options: >-
478+
--health-cmd pg_isready
370479
--health-interval 10s
371480
--health-timeout 5s
372481
--health-retries 5
@@ -379,6 +488,18 @@ jobs:
379488
--health-interval 10s
380489
--health-timeout 5s
381490
--health-retries 5
491+
ydb:
492+
image: ydbplatform/local-ydb:latest
493+
ports:
494+
- 2135:2135
495+
- 2136:2136
496+
- 8765:8765
497+
env:
498+
YDB_LOCAL_SURVIVE_RESTART: true
499+
YDB_USE_IN_MEMORY_PDISKS: true
500+
YDB_TABLE_ENABLE_PREPARED_DDL: true
501+
YDB_ENABLE_COLUMN_TABLES: true
502+
options: '-h localhost'
382503
steps:
383504
- uses: actions/checkout@v4
384505
with:

0 commit comments

Comments
 (0)