Skip to main content
Version: 2.23

experimental-deploy


pants experimental-deploy [args]

Perform a deployment process.

Backend: pants.core

Config section: [experimental-deploy]

Basic options

dry_run

--[no-]experimental-deploy-dry-run
PANTS_EXPERIMENTAL_DEPLOY_DRY_RUN
pants.toml
[experimental-deploy]
dry_run = <bool>
default: False

If true, perform a dry run without deploying anything. For example, when deploying a terraform_deployment, a plan will be executed instead of an apply.

publish_dependencies

--[no-]experimental-deploy-publish-dependencies
PANTS_EXPERIMENTAL_DEPLOY_PUBLISH_DEPENDENCIES
pants.toml
[experimental-deploy]
publish_dependencies = <bool>
default: True

If false, don't publish target dependencies before deploying the target. For example, when deploying a helm_deployment, dependent docker images will not be published.

Advanced options

None

Deprecated options

None