From 2aedb0ab4194ba1f2bbaccbf2e9e03c895a14e5e Mon Sep 17 00:00:00 2001 From: Evgeny Rusanov Date: Sat, 12 Sep 2026 20:41:52 +0500 Subject: [PATCH 1/3] CI: replace stale cr.yandex/yc/yandex-docker-local-ydb image with ydbplatform/local-ydb The Yandex Container Registry image's version tags stop at 23.3/trunk with no numbered releases since 2023, and there is no `latest`. The Go/Python/Java/.NET/Rust/Node.js reference SDKs all test against ydbplatform/local-ydb instead, which is actively updated (`latest` is currently a real 26.1.1.22 build) and offers a continuous range of numbered tags. Verified live that binary paths, default database (/local), default ports (2135/2136/8765), and default TLS cert path (/ydb_certs) are unchanged, so no other service config was needed. Dropped YDB_USE_IN_MEMORY_PDISKS, which this image doesn't read. --- .github/workflows/tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 652f8b30..2b022c14 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,22 +16,20 @@ jobs: tests: services: ydb: - image: cr.yandex/yc/yandex-docker-local-ydb:${{ matrix.ydb-versions }} + image: ydbplatform/local-ydb:${{ matrix.ydb-versions }} ports: - 2135:2135 - 2136:2136 - 8765:8765 volumes: - /tmp/ydb_certs:/ydb_certs - env: - YDB_USE_IN_MEMORY_PDISKS: true options: '-h localhost' runs-on: ubuntu-latest strategy: fail-fast: false matrix: php-versions: [ '7.2', '7.4', '8.0', '8.2' ] - ydb-versions: ['stable-22-5', 'trunk', '23.3', '23.2', '23.1'] + ydb-versions: ['24.4', '25.4', 'latest', 'edge', 'trunk'] steps: - uses: actions/checkout@v4 name: Checkout From 922b9019475e1433f71086a2d5f7cef6e4663afe Mon Sep 17 00:00:00 2001 From: Evgeny Rusanov Date: Sat, 12 Sep 2026 21:03:04 +0500 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64d03215..c64dbd65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* CI: replaced the stale `cr.yandex/yc/yandex-docker-local-ydb` test image (numbered tags stop at 23.3, no `latest`) with the actively-maintained `ydbplatform/local-ydb` (used by the Go/Python/Java/.NET/Rust/Node.js SDKs); refreshed the version matrix to `['24.4', '25.4', 'latest', 'edge', 'trunk']` ## 1.16.3 * improve log From cddffbaf72b0189bd71dead9494afc1bd619854f Mon Sep 17 00:00:00 2001 From: Evgeny Rusanov Date: Mon, 5 Oct 2026 23:06:58 +0500 Subject: [PATCH 3/3] CI: export the real YDB version via SELECT version() SELECT version() exists from 24.3 (24.1 and older reject it as an unknown builtin) and every matrix entry is 24.4+, so query it in a step and export the result as YDB_VERSION for later steps, instead of leaving the matrix tag (latest/edge/trunk) as the only hint about the server. The value is not always numeric: 24.4 -> 24.4.4.12, 25.4 -> stable-25-4-1, latest -> 26.1.1.22, edge -> 26.3.1.17, trunk -> main. Checked against each image. --- .github/workflows/tests.yml | 8 ++++++++ CHANGELOG.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2b022c14..fcfc18b4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -59,6 +59,14 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-progress + # SELECT version() exists from 24.3 (24.1 and older reject it); the value is not always + # numeric - e.g. `stable-25-4-1` on 25.4 and `main` on trunk - so compare it with care. + - name: Detect YDB version + run: | + version=$(docker exec $(docker ps --latest --quiet) /ydb -e grpc://localhost:2136 -d /local scripting yql -s "SELECT version() AS v" --format json-unicode | jq -r .v) + echo "YDB version: $version" + echo "YDB_VERSION=$version" >> "$GITHUB_ENV" + - name: Create YDB User run: docker exec $(docker ps --latest --quiet) /ydb -e grpc://localhost:2136 -d /local scripting yql -s "CREATE USER testuser PASSWORD 'testpassword'" diff --git a/CHANGELOG.md b/CHANGELOG.md index c64dbd65..bf56bb52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -* CI: replaced the stale `cr.yandex/yc/yandex-docker-local-ydb` test image (numbered tags stop at 23.3, no `latest`) with the actively-maintained `ydbplatform/local-ydb` (used by the Go/Python/Java/.NET/Rust/Node.js SDKs); refreshed the version matrix to `['24.4', '25.4', 'latest', 'edge', 'trunk']` +* CI: replaced the stale `cr.yandex/yc/yandex-docker-local-ydb` test image (numbered tags stop at 23.3, no `latest`) with the actively-maintained `ydbplatform/local-ydb` (used by the Go/Python/Java/.NET/Rust/Node.js SDKs); refreshed the version matrix to `['24.4', '25.4', 'latest', 'edge', 'trunk']`; the real server version (`SELECT version()`, available from 24.3) is exported to later CI steps as `YDB_VERSION` ## 1.16.3 * improve log