yc-actions/YC Serverless Container Deploy

GitHub Action to deploy Serverless Container 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
container-nameContainer nameyes
folder-idFolder IDyes
publicMake container publicly available. Any user will be able to invoke a container without providing the authorization headerno
revision-service-account-idId of service account that will be used to pull images to be deployed. Can be omitted if container registry has public accessno
revision-coresNumber of Coresno1
revision-memoryMemory. Format: `\\d(Mb|Gb)`. E.g. 128Mbno128Mb
revision-core-fractionCore fractionno100
revision-concurrencyNumber of concurrently handled requests. 1-16no1
revision-image-urlUrl of the docker imageyes
revision-execution-timeoutRequest execution timeout in secondsno3
revision-working-dirWorking directory inside containerno
revision-commandsCommandno
revision-argsArgumentsno
revision-envEnvironment variables. Multiline. Format: VARIABLE=valueno
revision-runtimeRevision runtime. Possible values: "http", "task"nohttp
revision-secretsLockbox secrets. Pattern: "<environmentVariable>=<secretId>/<versionId>/<secretKey>". Multilineno""
revision-provisionedMinimum count of provisioned instancesno
revision-zone-instances-limitUpper limit for instance count in each availability zone. 0 means no limitno
revision-zone-requests-limitUpper limit of concurrent requests count in each availability zone. 0 means no limitno
revision-network-idNetwork id that will be attached to revisionno
revision-log-options-disabledIs logging from container disabled. Possible values: "true", "false"nofalse
revision-log-options-log-group-idLog group IDno
revision-log-options-folder-idFolder IDno
revision-log-options-min-levelMinimum log entry level. (level_unspecified, trace, debug, info, warn, error, fatal)nolevel_unspecified
revision-storage-mountsStorage mounts. Pattern: "S3_PATH:MOUNT_PATH:ACCESS_MODE" or "S3_PATH:MOUNT_PATH". Multiline. S3_PATH Pattern: "bucketId/bucketFolder" or "bucketId". bucketFolder can be empty to mount all bucket. ACCESS_MODE is optional parameter. Possible values: "read-only", "ro", "readOnly", "read_only", "ReadOnly", "read-write", "rw", "readWrite", "read_write", "ReadWrite". Default value - "read-only"no
revision-ephemeral-mountsEphemeral disk mounts. Pattern: "MOUNT_PATH:SIZE[:ACCESS_MODE]". Multiline. SIZE format matches memory input, e.g. 512Mb or 5Gb. ACCESS_MODE is optional and mirrors storage mounts; default is read-write. Example: "/app/tmp:5Gb:rw"no
namedescription
revId of created revision
idId of serverless container