1.4.13 • Published 4 months ago

@sergeyzwezdin/semantic-release-sls-yandex-cloud v1.4.13

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@sergeyzwezdin/semantic-release-sls-yandex-cloud

semantic-release plugin to deploy serverless app to yandex cloud

Install

Add the plugin to your npm-project:

$ npm install @sergeyzwezdin/semantic-release-sls-yandex-cloud -D

Usage

The plugin can be configured in the semantic-release configuration file:

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@sergeyzwezdin/semantic-release-sls-yandex-cloud"
  ]
}

Once it configured, the plugin creates ~/.config/yandex-cloud/config.yaml file and run npx serverless deploy for your project.

Configuration

Yandex Cloud serverless app

Follow the instructions to create serverless app for Yandex Cloud

Environment variables

The YC_OAUTH_TOKEN, YC_CLOUD_ID, YC_FOLDER_ID and YC_DEFAULT_ZONE can be defined in the environment where you will run semantic release. As an alternative you can pass it via options.

Options

OptionDescriptionRequiredDefault
tokenOAuth token to deploy YC appyesYC_OAUTH_TOKEN
cloudIdCloud ID in Yandex CloudyesYC_CLOUD_ID
folderIdFolder ID in Yandex CloudyesYC_FOLDER_ID
defaultZoneAvailability zone in Yandex CloudyesYC_DEFAULT_ZONE

Examples

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    [
      "@sergeyzwezdin/semantic-release-sls-yandex-cloud",
      {
        "token": "<-- YOUR OAUTH TOKEN -->",
        "cloudId": "<-- CLOUD ID -->",
        "folderId": "<-- FOLDER ID -->",
        "defaultZone": "<-- ZONE -->"
      }
    ]
  ]
}

MIT Licence

1.4.13

4 months ago

1.4.12

5 months ago

1.4.11

5 months ago

1.4.10

5 months ago

1.4.9

5 months ago

1.4.8

5 months ago

1.4.7

5 months ago

1.4.6

5 months ago

1.4.5

5 months ago

1.4.4

5 months ago

1.4.3

5 months ago

1.4.2

5 months ago

1.4.1

5 months ago

1.4.0

5 months ago

1.3.1

5 months ago

1.3.0

5 months ago

1.2.0

5 months ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago