Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Competition - Build the Octopus Library

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Paul Stovell
Word Count
377
Language
English
Hacker News Points
-
Summary

In a guest post by Jonathan Goldman on Paul Stovell's blog, the need for sharing deployment scripts across multiple projects in Octopus Deploy is addressed by utilizing a library of PowerShell scripts. To avoid the inefficiencies of copying and pasting scripts, Goldman developed an internal NuGet package containing deploy scripts, including an Init.ps1 step for copying them to a solution folder. This allows projects to easily reference the scripts, and updates to scripts can be managed via the update-package command. Recognizing the generic nature of many scripts, Goldman created a public NuGet package, BuildDeploySupport, to further streamline deployment tasks such as installing services, configuring app pools, and setting up websites directly within the deployment process. This approach not only simplifies deployment but also encourages community collaboration, with the project being open-source and available on GitHub.