Skip main navigation

Octopus in a Continuous Delivery World

.

We have learned what Octopus is and how it can integrate with your organisation’s identity system. Let’s look at how Octopus works in Continuous Delivery.

Octopus Deploy has been designed to integrate into existing pipelines. It is one of the pieces needed in a continuous delivery process.

Before code can be deployed, it should be stored in source control and built with a build/CI server. When a build finishes successfully, your Build/CI can trigger the deployment on Octopus Deploy.

Octopus can integrate out of the box with many Build/CI Servers:

You can also perform integration with other build solutions by using Octopus-provided code or by using Octopus API. The diagram below shows how Octopus integrates into a very simplified delivery pipeline.

graphical representation of how Octopus integrates with a simplified delivery pipeline

A Git repository stores the source code. When someone performs a push to the Git repository, a continuous integration build kicks in, and:

  • Compiles the code
  • Runs unit tests
  • Executes other steps if configured, such as static code analysis and security validations
  • Packages the application, such as NuGet package
  • Pushes the built package(s) to the Octopus Deploy package repository.

The application is automatically deployed to Dev because the environment is configured for auto deploy.

graphical representation of automatic deployment trigger in Automatic Release Creation

Remember to engage with your peers – leave a comment, ask a question or share an experience. When you are ready click on Mark as complete and in the next step, you will investigate Advanced Deployment Scenarios.

This article is from the free online

Microsoft Future Ready: Continuous Integration Implementation

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education