shpkpr apps deploy

Deploy one or more applications to Marathon.

shpkpr apps deploy [OPTIONS] [ENV_PAIRS]...

Options

--force

Force update even if a deployment is in progress.

-t, --template <template_names>

Path of the template to use for deployment.

--template-dir <template_path>

Base directory in which your templates are stored.

-e, --env-prefix <env_prefix>

Prefix used to filter environment variables used for templating. [default: SHPKPR]

--timeout <timeout>

Maximum amount of time (in seconds) to wait for a deployment to finish before aborting. [default: 300]

--strategy <deployment_strategy>

Deployment strategy to utilise. [default: standard]

--marathon-lb-url <marathon_lb_client>

URL for Marathon-LB used during blue/green deployment.

--dry-run

Enables “dry run” mode. When enabled, shpkpr will avoid making changes to any remote systems. This can be used to safely test deployments or jobs before performing any destructive operations. Exactly what constitues a “dry run” varies by operation type and deployment strategy, see command documentation for further information.

--allow-insecure-auth

Allow HTTP basic authentication when not using SSL.

--username <username>

Username used for HTTP Basic Authentication to Marathon/Chronos.

--password <password>

Password used for HTTP Basic Authentication to Marathon/Chronos.

--marathon-url <marathon_url>

URL of the Marathon API to use. [required]

Arguments

ENV_PAIRS

Optional argument(s)

Environment variables

SHPKPR_TEMPLATES

Provide a default for -t

SHPKPR_TEMPLATE_DIR

Provide a default for --template-dir

SHPKPR_TIMEOUT

Provide a default for --timeout

SHPKPR_DEPLOYMENT_STRATEGY

Provide a default for --strategy

SHPKPR_MARATHON_LB_URL

Provide a default for --marathon-lb-url

SHPKPR_USERNAME

Provide a default for --username

SHPKPR_PASSWORD

Provide a default for --password

SHPKPR_MARATHON_URL

Provide a default for --marathon-url