Deployment

rio deployment

Deployment of the packages

rio deployment [OPTIONS] COMMAND [ARGS]...

delete

Deletes a deployment

rio deployment delete [OPTIONS] DEPLOYMENT_NAME

Options

-f, --force, --silent

Skip confirmation

Arguments

DEPLOYMENT_NAME

Required argument

execute

Execute commands on cloud deployment

rio deployment execute [OPTIONS] DEPLOYMENT_NAME [COMMAND]...

Options

--component <component_name>

Name of the component in the deployment

--exec <exec_name>

Name of a executable in the component

Arguments

DEPLOYMENT_NAME

Required argument

COMMAND

Optional argument(s)

inspect

Inspect the deployment resource

rio deployment inspect [OPTIONS] DEPLOYMENT_NAME

Options

-f, --format <format_type>
Options

json | yaml

Arguments

DEPLOYMENT_NAME

Required argument

list

List the deployments in the selected project

rio deployment list [OPTIONS]

Options

--device <device>

Filter the Deployment list by Device ID

--phase <phase>

Filter the Deployment list by Phases

Options

In progress | Provisioning | Succeeded | Failed to start | Partially deprovisioned | Deployment stopped

logs

Stream live logs from cloud deployments (not supported for device deployments)

rio deployment logs [OPTIONS] DEPLOYMENT_NAME

Options

--component <component_name>

Name of the component in the deployment

--exec <exec_name>

Name of a executable in the component

Arguments

DEPLOYMENT_NAME

Required argument

status

Current status of the deployment

rio deployment status [OPTIONS] DEPLOYMENT_NAME

Arguments

DEPLOYMENT_NAME

Required argument

update

Updates one more deployments

rio deployment update [OPTIONS] [DEPLOYMENT_NAME_OR_REGEX]

Options

-f, --force, --silent

Skip confirmation

-a, --update-all

Updates all deployments

-w, --workers <workers>

number of parallel workers while running update deployment command. defaults to 10.

Arguments

DEPLOYMENT_NAME_OR_REGEX

Optional argument

wait

Wait until the deployment succeeds/fails

rio deployment wait [OPTIONS] DEPLOYMENT_NAME

Arguments

DEPLOYMENT_NAME

Required argument