Skip to content

Jokero/yandex-cloud-cli-install-for-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yandex Cloud CLI installation script for CI environments

Motivation

The existing installation script available on https://storage.yandexcloud.net/yandexcloud-yc/install.sh is not suitable for using in non-interactive environments (for example in CI) as it's asking a user for text input.

This repo provides a modified script that does not have such problem and allows to install Yandex Cloud CLI in continuous integration environment.

Usage

To install the latest stable version of Yandex Cloud CLI:

curl https://raw.githubusercontent.com/Jokero/yandex-cloud-cli-install-for-ci/master/install.sh | bash
export PATH=$PATH:~/yandex-cloud/bin

To install a specific version:

curl https://raw.githubusercontent.com/Jokero/yandex-cloud-cli-install-for-ci/master/install.sh > install.sh
chmod 700 install.sh && YC_VERSION=0.35.0 ./install.sh
export PATH=$PATH:~/yandex-cloud/bin

About

Yandex Cloud CLI installation script for CI environments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages