Skip to content

Commit 02a5cc1

Browse files
committed
switch docker image + remove check available ydb container over script
1 parent bfdd9ff commit 02a5cc1

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

.github/scripts/wait-ydb-container.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
os: [ubuntu-latest]
4444
services:
4545
ydb:
46-
image: cr.yandex/yc/yandex-docker-local-ydb:latest
46+
image: cr.yandex/yc/yandex-docker-local-ydb:stable-22-5-slim
4747
ports:
4848
- 2135:2135
4949
- 2136:2136
@@ -69,8 +69,6 @@ jobs:
6969
go-version: ${{ matrix.go-version }}
7070
- name: Checkout code
7171
uses: actions/checkout@v3
72-
- name: Wait database available
73-
run: bash ./.github/scripts/wait-ydb-container.sh
7472
- name: Integration test
7573
run: go test -race -coverpkg=./... -coverprofile integration-secure.txt -covermode atomic ./tests
7674
- name: Upload Test secure connection coverage report to Codecov
@@ -89,7 +87,7 @@ jobs:
8987
os: [ubuntu-latest]
9088
services:
9189
ydb:
92-
image: cr.yandex/yc/yandex-docker-local-ydb:latest
90+
image: cr.yandex/yc/yandex-docker-local-ydb:stable-22-5-slim
9391
ports:
9492
- 2135:2135
9593
- 2136:2136
@@ -114,8 +112,6 @@ jobs:
114112
go-version: ${{ matrix.go-version }}
115113
- name: Checkout code
116114
uses: actions/checkout@v3
117-
- name: Wait database available
118-
run: bash ./.github/scripts/wait-ydb-container.sh
119115
- name: Test insecure connection
120116
run: go test -race -coverpkg=./... -coverprofile integration-insecure.txt -covermode atomic ./tests
121117
- name: Upload Test insecure connection coverage report to Codecov

0 commit comments

Comments
 (0)