# Shared deploy constants for deploy/<deploy-id>/*.sh. Sourced by lib/host.sh and lib/state.sh,
# never executed directly.
#
# One home for every value more than one deploy script needs, so renaming a node or moving a
# checkout is a single edit instead of a sweep. Every name here resolves from the environment
# first, which is how a run is retargeted without editing a script.

# The engine checkout every step runs in. The library helpers take it as an argument and fall
# back to this, so a caller driving a second checkout passes that one explicitly.
ENGINE_ROOT="${ENGINE_ROOT:-/home/dd/engine}"

# The Kubernetes nodes of each resource come from the node groups of engine-private/deploy/conf.cluster.json:
# no script names a node. `cluster_placement` exports them as UNDERPOST_NODES_<CATEGORY>.

# The key the sync and instance steps ship volume data with.
DEPLOY_SSH_KEY_PATH="${DEPLOY_SSH_KEY_PATH:-/home/dd/tmp/897as9dxhaskd9}"

# The published image the WordPress deploys run. Pinned rather than derived from the checkout's
# version: a tag is only deployable once the release workflow has published it.
DEPLOY_WP_IMAGE="${DEPLOY_WP_IMAGE:-underpost/wp:v4.5.0}"
