banzai-cli

module
v0.0.0-...-8684de4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2022 License: Apache-2.0

README

This is a command-line interface for the Banzai Cloud Pipeline platform.

Installation

Use the following command to quickly install the CLI:

$ curl https://getpipeline.sh | sh

The script automatically chooses the best distribution package for your platform.

Available packages:

You can also select the installation method (one of auto, deb, rpm, brew, tar or go) explicitly:

$ curl https://getpipeline.sh | sh -s -- deb

On macOS, you can directly Homebrew:

$ brew install banzaicloud/tap/banzai-cli

Alternatively, fetch the source and compile it using go get:

$ go get github.com/banzaicloud/banzai-cli/cmd/banzai

Logging in

To use the command you will have to log in. You can either log in interactively using a web browser, or provide an API endpoint and a token manually.

For interactive login, just run banzai login, and follow the instructions given.

Use

See command reference in the official documentation.

Use Docker image

Logging in

$ docker run --rm -v $(PWD)/banzai-cli:/root/ ghcr.io/banzaicloud/banzai-cli login --token <your-pipeline-token> -e https://try.pipeine.banzai.cloud/pipeline

Select organization

$ docker run --rm -ti -v $(PWD)/banzai-cli:/root/ ghcr.io/banzaicloud/banzai-cli organization select

List clusters

$ docker run --rm -ti -v $(PWD)/banzai-cli:/root/ ghcr.io/banzaicloud/banzai-cli cluster list

Run cluster shell

$ docker run --rm -ti -v $(PWD)/banzai-cli:/root/ ghcr.io/banzaicloud/banzai-cli cluster shell

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL