Deploying to no targets
Blog post from Octopus Deploy
Octopus Deploy 3.8.7 introduced a feature enabling deployments to environments without targets, aimed at improving flexibility in Elastic and Transient Environments. This project-level setting allows users to perform deployments in environments, such as those used for infrastructure or testing automation, where targets may not yet exist or be online, addressing challenges in scenarios like spinning up new environments or deploying to offline transient machines. The feature supports combining infrastructure provisioning and application deployment steps into a single project, especially in Immutable Infrastructure scenarios. Users must opt into this feature, as deploying to environments with no targets typically indicates an error. The feature reduces the need for auto deploy overrides, which were previously used to manage deployments to no-target environments by queuing tasks for specific releases when new targets appeared.