Continuous Delivery for .NET Core using Octopus Deploy and Bitbucket Pipelines
Blog post from Octopus Deploy
Andrew Katsivas's article provides a detailed guide on setting up a continuous delivery (CD) pipeline for .NET Core projects using Bitbucket Pipelines and Octopus Deploy. The article highlights Bitbucket as a free, git-based source control platform suitable for personal projects and introduces Bitbucket Pipelines as a lightweight cloud continuous integration (CI) service using Docker containers. The process involves committing code to Bitbucket, triggering a build script, and pushing the app code to an Octopus Deploy server, which automatically creates a release and deploys it. The guide outlines creating necessary accounts, setting up a Bitbucket repository, and configuring a bitbucket-pipelines.yml file to automate builds. It further explains extending the build script to package and push code to Octopus using an API key secured as a pipeline variable. Finally, it instructs on setting up Octopus for automatic deployment to a staging environment by creating a specific lifecycle and project, enabling automatic release creation and deployment upon detecting new packages. The article aims to simplify and encourage the adoption of CD pipelines for personal projects, offering insights into the benefits and possibilities of automated deployments.