Understanding the Deploy planning phase
The planning phase takes place when the global structure of the deployment has been determined, and Deploy needs to fill in the steps needed to deploy the application. The goal of planning is to generate a deployment plan. It uses the structured deployment generated by the orchestration phase. Plugins and rules contribute steps to the plan.
Deploy generates a unique plan for every deployment. For that reason, it is not possible to save the plan, change the plan structure, or steps directly.
What affects the final plan?
The following factors influence the final plan:
- The application, environment, and mappings configured by the deployer during specification.
- The structuring performed by the orchestrators selected by the deployer.
- The plugins and rules installed in Deploy, including any user-created plugins or rules.
- Staging and satellites will contribute steps to the plan depending on the configuration of the environment.
- At the end of the planning phase, Deploy simplifies the plan so it is easier to visualize.
Plugins and rules are at the center of the planning phase. While you cannot change plugins or rules during deployment, you can indirectly configure them to influence the deployment plan. For example, by defining new rules.
Rules and plugins
During the planning phase, Deploy evaluates all plugins and rules to determine which steps should be added to the plan. Deploy has a structured way of evaluating rules and plugins. Evaluation is performed in sequentially executed stages.