yc-actions/YC Function deploy

GitHub Action to deploy Serverless Function to Yandex Cloud.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
yc-sa-json-credentialsJSON containing authorized key for Service Account. Either this or `yc-iam-token` or `yc-sa-id` should be provided. More info https://cloud.yandex.ru/docs/container-registry/operations/authentication#sa-jsonno
yc-iam-tokenIAM token for Yandex Cloud. Either this or `yc-sa-json-credentials` or `yc-sa-id` should be provided. More info https://yandex.cloud/ru/docs/iam/concepts/authorization/iam-tokenno
yc-sa-idService Account ID. Will be uses to exchange GitHub token to Yandex Cloud token. Either this or `yc-iam-token` or `yc-sa-json-credentials` should be provided. More info https://yandex.cloud/ru/docs/iam/concepts/workload-identityno
folder-idFolder IDyes
function-nameFunction Nameyes""
bucketObject Storage bucket name for codeno""
mountsObject Storage mounts. Multiline. Short syntax: <bucket>:<mount-point>[:<prefix>][:ro]no""
runtimeRuntime for function.yes""
entrypointEntrypoint for functionyes""
includeSource directories for cloud function in git repo. Multilineno.
excludeExclude patterns for source directory. Multilineno""
source-rootPath that will considered as function source root.no.
memoryMemory in Mb. Pattern: ^\d+Mb$no128Mb
environmentEnv variables for function. Multilineno""
execution-timeoutExecution timeout in secondsno5
service-accountService account ID for functionno""
service-account-nameService account name for function. Will be used to find out the ID of SA.no""
secretsLockbox secrets. Pattern: "<environmentVariable>=<secretId>/<versionId>/<secretKey>". Multilineno""
network-idFunction version connectivity. If specified the version will be attached to specified network/subnet(s).no""
tagsVersion tags. Multilineno""
logs-disabledDisable functions logging. Default falsenofalse
logs-group-idLogs group ID. If NOT set, logs will write to auto-created default group.no""
log-levelMinimum log level (trace, debug, info, warn, error, fatal)no""
asyncEnable async invocationnofalse
async-sa-idService account which has permission to invoke the function. If not set, the function will be invoked with the default service account. no""
async-sa-nameService account which has permission to invoke the function. If not set, the function will be invoked with the default service account. Use either this or `async-sa-id`. no""
async-retries-countNumber of retries of async invocations.no""
async-success-ymq-arnTarget for successful result of the version's invocation. Queue ARN if target should send a result to YMQ. no""
async-success-sa-idTarget for successful result of the version's invocation. Id of service account which has write permission on the queue, if target should send a result to YMQ. no""
async-success-sa-nameTarget for successful result of the version's invocation. Name of service account which has write permission on the queue, if target should send a result to YMQ. Use either this or `async-success-sa-id`. no""
async-failure-ymq-arnTarget for unsuccessful result, if all retries failed. Queue ARN if target should send a result to YMQ. no""
async-failure-sa-idTarget for unsuccessful result, if all retries failed. Service account which has write permission on the queue, if target should send a result to YMQ. no""
async-failure-sa-nameTarget for unsuccessful result, if all retries failed. Name of service account which has write permission on the queue, if target should send a result to YMQ. Use either this or `async-failure-sa-id`. no""
namedescription
function-idFunction ID.
version-idID of the newly created function version.