yc-actions/YC COI Container Deploy
GitHub Action to deploy container to Yandex Cloud COI VM
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| yc-sa-json-credentials | JSON 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-json | no | — |
| yc-iam-token | IAM 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-token | no | — |
| yc-sa-id | Service 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-identity | no | — |
| folder-id | Folder ID | yes | — |
| vm-name | VM name to find or create in the provided folder. | yes | — |
| vm-service-account-id | Id of service account that will be attached to VM. | no | — |
| vm-service-account-name | Name of service account that will be attached to VM. Will be used to find out the ID of SA. | no | — |
| vm-cores | Number of Cores | no | 2 |
| vm-memory | Memory. Format: `\\d(Mb|Gb)`. E.g. 1Gb | no | 1GB |
| vm-core-fraction | Core fraction | no | 100 |
| vm-disk-type | Disk type. Values: network-ssd, network-hdd, etc. More info https://cloud.yandex.com/en-ru/docs/managed-clickhouse/concepts/storage | no | network-ssd |
| vm-disk-size | Disk size. Format: `\\d(Mb|Gb)`. E.g. 30Gb | no | 30GB |
| vm-zone-id | Zone ID | no | ru-central1-a |
| vm-subnet-id | The subnet ID where the VM will be created | yes | — |
| vm-public-ip | Public IP address | no | — |
| vm-platform-id | Compute platform Id | no | standard-v3 |
| user-data-path | Path to the `user-data.yaml` file inside repo. | yes | — |
| docker-compose-path | Path to the `docker-compose.yaml` file inside repo. | yes | — |
Outputs
| name | description |
|---|---|
| instance-id | Instance ID |
| disk-id | Boot disk ID that was created for the instance |
| public-ip | Public IP address that was assigned to the instance |
| created | A flag that indicates whether instance was created or updated |