aboutsummaryrefslogtreecommitdiffstats
path: root/.github/docker/files/health_check
blob: c51e626f072f20ddd7f3ab8917f79e48758a71d8 (plain) (blame)
1
2
3
4
5
6
7
#!/usr/bin/env bash

set -e
set -x

/ydb -e grpcs://localhost:${GRPC_TLS_PORT:-2135} --ca-file /ydb_certs/ca.pem -d /local scheme ls /local
/ydb -e grpcs://localhost:${GRPC_TLS_PORT:-2135} --ca-file /ydb_certs/ca.pem -d /local table query execute -q 'create table `/local/.sys_health/test` (key int32, value utf8, primary key(key));' -t scheme