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

Reusable YAML with CircleCI orbs

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Ryan Rousseau
Word Count
1,709
Language
English
Hacker News Points
-
Summary

CircleCI is a continuous integration platform that enables defining pipelines as code using YAML configurations, facilitating the execution of jobs on Docker containers or virtual machines. Among its features, CircleCI supports workflows that execute jobs upon committing code to source control and introduces the concept of orbs, which are reusable chunks of YAML code that help maintain the DRY (Don't Repeat Yourself) principle across multiple projects. Orbs can define reusable executors, commands, and jobs for use in workflows, and can be published to share across projects or organizations. The article illustrates the use and creation of orbs, including an inline example for building projects with Cake, and details how to publish these orbs for wider use. Additionally, it introduces the experimental Octopus CLI orb, which integrates CircleCI with Octopus for managing packages, releases, and deployments, showcasing how orbs can reduce duplication and streamline pipeline configurations.