Repository navigation
Expand file tree
/
Copy pathaction.yml
More file actions
65 lines (61 loc) · 2.27 KB
/
Copy pathaction.yml
File metadata and controls
65 lines (61 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Setup Local YDB
description: Start a local-ydb Docker stack for GitHub Actions CI jobs.
author: astandrik
branding:
icon: database
color: blue
inputs:
version:
description: Exact ghcr.io/ydb-platform/local-ydb tag, or latest to resolve the newest numeric tag.
required: false
default: "26.1.1.6"
topology:
description: Stack topology. tenant starts static and dynamic nodes; root starts only the /local static database.
required: false
default: tenant
tenant:
description: Tenant database path to create when topology is tenant. Ignored when topology is root.
required: false
default: /local/test
auth:
description: Enable native YDB auth after bootstrapping the selected topology.
required: false
default: "false"
cleanup:
description: Remove action-created Docker resources in the post step.
required: false
default: "true"
static-grpc-port:
description: Host port for the static/root gRPC endpoint. Auto-selected when omitted.
required: false
dynamic-grpc-port:
description: Host port for the tenant dynamic-node gRPC endpoint. Auto-selected for tenant topology; invalid for root.
required: false
monitoring-port:
description: Host port for the local-ydb monitoring endpoint. Auto-selected when omitted.
required: false
container-prefix:
description: Prefix for Docker containers, network, volume, and auth artifacts. Auto-generated when omitted.
required: false
outputs:
endpoint:
description: Application gRPC endpoint. Dynamic for tenant topology; equal to static-endpoint for root.
static-endpoint:
description: Static/root gRPC endpoint.
database:
description: Effective database path. The tenant input for tenant topology; /local for root.
monitoring-url:
description: Monitoring URL for host steps. Root topology also exposes this port to sibling Docker containers.
image:
description: Full Docker image reference used by the action.
resolved-version:
description: Concrete local-ydb image tag used by the action.
username:
description: Root username when auth is enabled.
password-file:
description: Root password file path when auth is enabled.
runs:
using: node24
main: dist/main/index.js
post: dist/post/index.js
post-if: always()