Tenant topology
- uses: astandrik/setup-local-ydb@v1
id: ydb
with:
version: 26.1.1.6
topology: tenant
tenant: /local/testCI guide
Use the GitHub Action when integration tests need a real YDB endpoint without sharing developer machines or long-lived databases.
- uses: astandrik/setup-local-ydb@v1
id: ydb
with:
version: 26.1.1.6
topology: tenant
tenant: /local/test- uses: astandrik/setup-local-ydb@v1
id: ydb-root
with:
version: 26.1.1.6
topology: root
- run: |
test "${{ steps.ydb-root.outputs.database }}" = "/local"
test "${{ steps.ydb-root.outputs.endpoint }}" = "${{ steps.ydb-root.outputs.static-endpoint }}"- uses: astandrik/setup-local-ydb@v1
id: ydb-auth
with:
version: 26.1.1.6
topology: root
auth: true
- run: |
test "${{ steps.ydb-auth.outputs.username }}" = "root"
test -f "${{ steps.ydb-auth.outputs.password-file }}"The action exports the username and password-file path when auth is enabled. It never writes the password value as an action output.
For CI setup, prefer the action. For interactive local operations, use the local stdio MCP server so tools can inspect Docker, logs, storage, auth, and version state.