Defining your deployment process
In this exercise, you'll be adding deployment steps to your project and creating your first release.
-
7.1 Create a deployment step
Add a deployment step to the project you've created in Octopus Deploy. The step should deploy the NuGet package we uploaded in the previous exercise.
-
7.2 Create a release
Create a new release and deploy it to the test environment. Was the deployment successful? If not, do the necessary configuration changes to make the deployment successful.
-
7.3 Removing server from load
Create a deployment step where you fake removing the server from a load balancer. The step should be a PowerShell script outputting the text 'Removing from load balancer' and sleeping for 10 seconds. This step should run before the step created in exercise 7.1 and it should be configured as a rolling deployment.
-
7.4 Adding server from load
Repeat exercise 7.3, but this time you will fake adding the server back by outputting the text 'Adding to load balancer' and sleeping for 10 seconds.