<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Octopus blog</title>
  <subtitle>Site description.</subtitle>
  <link href="https://octopus.com/blog/feed.xml" rel="self" />
  <link href="https://octopus.com" />
  <id>https://octopus.com/blog/feed.xml</id>
  <updated>2026-11-24</updated>

    <entry>
      <title>The best Octopus yet</title>
      <link href="https://octopus.com/blog/the-best-octopus-yet" />
      <id>https://octopus.com/blog/the-best-octopus-yet</id>
      <published>2026-11-24</published>
      <updated>2026-11-24</updated>
      <summary>Octopus has a new look, global search, clearer navigation and modern forms. Here's what changed in our biggest experience update in years</summary>
      <author>
        <name>Laura van Doore, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>This month we’re shipping the biggest user experience change to how Octopus looks and works in years. The new experience has been rolling out to Octopus Cloud throughout November, and ships in Octopus Server 2027.0 for self-hosted customers, landing on December 2, 2026.</p>
<p>This year, we made improving the core Octopus experience a priority alongside building new capabilities. Every feature we’ve added over the years made sense on its own, but years of additional complexity were taking a toll on the day-to-day efficiency of how practitioners use our product. Our menus grew long and lacked structure, search only worked inside the space you were already in, and creating a variable halfway through building a process meant leaving the editor entirely. None of this stopped you getting your work done, but it made Octopus harder to use than it should be.</p>
<p>The main changes are:</p>
<ul>
<li><strong>A refreshed visual design</strong> that prioritizes your work, objects and statuses above our brand.</li>
<li><strong>Global search across your whole Octopus instance</strong> via <code>⌘+K</code> on Mac or <code>Ctrl+K</code> on Windows, with more ways to narrow your search.</li>
<li><strong>Clearer navigation</strong> grouped around common tasks/outcomes, with collapsible sections that remember your preferences.</li>
<li><strong>Refreshed views</strong> for Projects, Tasks, Deployment tasks, Insights, Infrastructure Overview and more.</li>
<li><strong>Modern, streamlined forms</strong>, aiming to reduce overwhelm and optimizing for faster, more intuitive configuration.</li>
<li><strong>Better documentation</strong> with a focus on improving API/CLI guidance.</li>
<li><strong>In-flight variable creation</strong>, so you can build deployment processes without breaking flow.</li>
</ul>
<h2 id="a-fresh-visual-design">A fresh visual design</h2>
<figure>
<p><img src="/blog/i/x/the-best-octopus-yet/fresh-visual-design.png" alt="Octopus project dashboard showing the new look and feel" loading="lazy" srcset="/blog/i/600/the-best-octopus-yet/fresh-visual-design.webp 600w, /blog/i/1000/the-best-octopus-yet/fresh-visual-design.webp 1000w, /blog/i/2000/the-best-octopus-yet/fresh-visual-design.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2500" height="1566"></p>
</figure>
<p>The first thing you’ll notice is how Octopus looks. We’ve reworked our color palette and moved our typography down from bold, heavy weights to lighter semi-bold and medium weights. Pages are calmer, easier to scan and more focused on your task at hand.</p>
<h3 id="your-work-comes-first">Your work comes first</h3>
<p>You might notice the Octopus logo and many of the colorful buttons and links are now monochrome inside the product. This one sparked some lively debate inside our team. Some people love it, and others miss that little touch of blue.</p>
<p>We’ve kept it mono because we believe our brand should take less attention than your work. In Octopus, the only color asking for your attention should be color you added yourself via Project and Space icons, or the status of your environments and deployments. Our chrome gets out of the way.</p>
<h2 id="global-search">Global search</h2>
<!-- img-lint-ignore -->
<figure>
  <img src="/blog/img/the-best-octopus-yet/global-search.webp" alt="Global search showing results from several spaces" loading="lazy">
</figure>
<p>Practitioners spend their days in IDEs, terminals and dev tools where you can jump to anything with a few keystrokes. We heard clear feedback from customers that Search in Octopus wasn’t keeping up with their expectations.</p>
<p>Our previous search was scoped to only search within a Space. To find and navigate to a Project, you first had to know which space it lived in, and navigate to that space before performing the search.</p>
<h3 id="find-more-from-anywhere">Find more, from anywhere</h3>
<p>Global search now works across your whole Octopus instance. Find deployment targets, tenants, accounts, certificates and more across all your spaces and projects, then jump straight there.</p>
<h3 id="keyboard-first">Keyboard-first</h3>
<p>Open search with <code>⌘+K</code> (Mac) or <code>Ctrl+K</code> (Windows) and find what you’re looking for without leaving the keyboard. We’ve based this on the command palette patterns you already know from tools like GitHub, Slack, Linear and VS Code. You spend more time in those tools than in Octopus, so we’ve chosen to follow conventions you already know rather than make you learn new ones.</p>
<h3 id="narrow-your-search-more-flexibly">Narrow your search more flexibly</h3>
<p>Searching a large instance can return a lot of results, so there are two quick ways to narrow them down.</p>
<ul>
<li><code>type:</code> Scope your search to a specific type. For example, <code>type:Project</code>.</li>
<li><code>in:</code> Use in to scope your search to only results within the object you choose. For example, <code>in:Payments api-key</code>.</li>
</ul>
<h3 id="take-action-from-more-places">Take action from more places</h3>
<p>Create feeds, add certificates, create deployment freezes and more, without the toil of navigating to these actions manually.</p>
<h2 id="clearer-navigation">Clearer navigation</h2>
<p>Navigation is where you’ll notice a few things have moved, so we think it’s particularly important to explain what’s changed and why.</p>
<p>Octopus has a few levels of scope: things that belong to a project, a space, or apply across your whole instance. Our previous navigation blurred the line between these scopes and made it difficult to understand what scope of impact a configuration change might have.</p>
<p>We also found that our navigation reflected everything Octopus can do rather than what you actually need most of the time. Environments, which you might use every day, had the same visual weight as Certificates, which you set up once and rarely touch again. The Manage section had become a bit of a junk drawer of eleven loosely related items in alphabetical order. While we were proud of all the value and functionality we’ve added to Octopus over time, we weren’t proud of how we’d handled the extra complexity in your day-to-day navigation experience.</p>
<ul>
<li><strong>Clearer scoping:</strong> The main side panel brings together your spaces, Platform Hub and configuration, so it’s clear what lives outside the space scope and impacts your whole instance.</li>
<li><strong>Core features up front:</strong> Projects, Tasks, Insights and Tenants now sit at the top of your space navigation, right where you’d expect them.</li>
<li><strong>Grouped by task:</strong> Less hunting and mental overload to get to the right page. For instance, in your projects: Releases, Channels, Triggers, Freezes and Settings now live under Deployment Model.</li>
<li><strong>Collapsible sections you control:</strong> Close the sections you don’t need. They’ll remain closed until you reopen them.</li>
<li><strong>Unified page headers</strong> to help you jump in and out of a project or a tenant.</li>
<li><strong>Project descriptions</strong> now sit at the bottom of the project navigation panel and open in their own dialog with full text formatting.</li>
</ul>
<p><strong>Can’t find something?</strong> Try global search. It’s the fastest way to learn where things have moved.</p>
<h2 id="refreshed-views">Refreshed views</h2>
<!-- img-lint-ignore -->
<figure>
  <img src="/blog/img/the-best-octopus-yet/refreshed-views.webp" alt="Animation cycling through the refreshed Tasks, Environment status, and Infrastructure Overview pages" loading="lazy">
</figure>
<p>Some pages in Octopus you visit once a month. Others you keep open all day, checking whether a deployment went out or why something failed. We revisited those everyday views, to see where we could make Octopus feel more refined and streamlined.</p>
<ul>
<li><strong>Projects Overview</strong> has a tidier table structure to make it easier to scan.</li>
<li><strong>Project Dashboard</strong> now includes environments and feature flag status.</li>
<li><strong>Environment status</strong> gives new insight into what’s recently deployed and what feature flags are active.</li>
<li><strong>Tasks</strong> now highlights running and failed work via status cards.</li>
<li><strong>Infrastructure Overview</strong> is now closer to an operational dashboard than an inventory list, so you can spot unhealthy targets before they block a deployment.</li>
<li><strong>Deployment task log</strong> merges task summary and log into one consolidated view.</li>
<li><strong>Insights</strong> descriptions are cleaner, and a new report switcher helps you flip between views faster.</li>
</ul>
<h2 id="create-variables-and-parameters-in-flight">Create variables and parameters in-flight</h2>
<p>When building or editing a deployment process, you might often realize you need a variable that doesn’t yet exist. Until now, that meant:</p>
<p>Leaving the process editor → Going to the Variables interface → Create the new Variable, and → Return to the Process and update the Step</p>
<p>Now you can create project variables right inside the deployment process editor, including multiple values, scopes and value types. Your new variable is saved to Project Variables straight away and is ready to use in your step.</p>
<p>We’ve done the same for parameters in Platform Hub, so you can add and edit them without leaving the page you’re on.</p>
<h2 id="modern-streamlined-forms">Modern, streamlined forms</h2>
<p>Forms touch roughly a third of the Octopus product surface, so even small inconsistencies create real friction in everyday workflows like shipping a release.</p>
<p>We’ve replaced the old experience with a cleaner form system built around clearer grouping, better spacing, and more consistent components. In particular, you’ll notice:</p>
<ul>
<li>Pages feel less cluttered and more focused.</li>
<li>More intuitive and efficient interactions with multi-selects.</li>
<li>Better in-line validation.</li>
</ul>
<h2 id="better-documentation">Better documentation</h2>
<p>We made the docs easier to use when you’re in the middle of building, troubleshooting, or automating with Octopus. The public docs site has a cleaner Octopus look, better search, and built-in feedback, so it’s faster to find the right answer and tell us when something misses the mark.</p>
<h3 id="a-dedicated-api-reference">A dedicated API reference</h3>
<p>We also replaced the old, hard-to-navigate Swagger page with a dedicated, searchable REST API reference at <a href="https://octopus.com/docs/api">octopus.com/docs/api</a>. Instead of digging through 1,800 endpoints on your own instance, you can link straight to the API details you need.</p>
<h3 id="improved-standards">Improved standards</h3>
<p>Behind the scenes, we’ve tightened our documentation standards, improved the information architecture, and published contribution guidance. That means clearer concepts, sharper how-to steps, better reference material, and a docs experience that keeps improving with practitioner feedback.</p>
<h2 id="new-experiences-built-with-the-same-care">New experiences, built with the same care</h2>
<p>Polishing and refining doesn’t mean we’ve stopped building. We’ve been thoughtful about how we add new value, so new features feel like they’ve always belonged in Octopus.</p>
<p>At Shipped 2026, you’ll also see:</p>
<ul>
<li>Pipeline Explorer, which shows how your project’s environments, lifecycles, channels and targets connect, without clicking through 10 different pages.</li>
<li>Feature flags with automated progressive rollouts, so you can release changes in phases.</li>
<li>Flexible project templates in Platform Hub.</li>
</ul>
<h2 id="coming-to-an-octopus-near-you">Coming to an Octopus near you</h2>
<ul>
<li><strong>Octopus Cloud:</strong> The new experience is already rolling out to Cloud customers through November.</li>
<li><strong>Self-hosted:</strong> The changes ship in Octopus Server 2027.0 landing on December 2, 2026, and you’ll see them when you upgrade.</li>
</ul>
<p>We’ve made a great start, but the journey doesn’t end here for us. Getting the core experience of Octopus right is what lets us double down on our mission to make software delivery easy, safe and reliable for everyone. We’ll keep renovating, and there’s plenty more to come.</p>
<p>We’d love to hear what you think, especially about the new navigation. If something is getting in your way, let us know through the in-product feedback prompt.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>Engineering vitals in the age of AI</title>
      <link href="https://octopus.com/blog/engineering-vitals-in-the-age-of-ai" />
      <id>https://octopus.com/blog/engineering-vitals-in-the-age-of-ai</id>
      <published>2026-11-18</published>
      <updated>2026-11-18</updated>
      <summary>Is AI making us better at building software? Here's what we've chosen to measure at Octopus, and why we start with vitals before value.</summary>
      <author>
        <name>Andrew Best, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>Every engineering organization is being asked the same question right now: is AI actually making us better at building software?</p>
<p>It’s a fair question. We’re spending real money on tokens and tooling, and we’re reshaping how our teams work. We should be able to say what we’re getting for it.</p>
<p>The answers I see tend to fall into two camps. The first counts activity: lines of code generated, tokens consumed, the percentage of code written by agents. The second skips straight to the destination, and declares that the only thing worth measuring is <em>value</em>.</p>
<p>LaunchDarkly’s recent <a href="https://launchdarkly.com/blog/introducing-release-autopilot/">Release Autopilot announcement</a> is a good example of the second camp. It describes the goal they set for their AI software factory: maximize the valuable software reaching customers for each hour of human attention it takes to get it there.</p>
<p>That isn’t a goal. It’s an aspiration.</p>
<p>How do you count <em>valuable software</em>? Value shows up weeks or months after changes ship, and it’s the product of many decisions made across product, design, engineering, and sales. Value is a team sport. How do you count an <em>hour of human attention</em>? I won’t be the person who introduces timesheets for attention.</p>
<p>It’s worth looking at the evidence the same post offers. With roughly the same number of engineers, monthly merged pull requests more than doubled, and time spent in major and critical incidents fell by about 70%. Those are throughput and stability measures. They’re good evidence, and they sit a lot closer to a pull request count than they do to value.</p>
<p>This post is about what we’ve chosen to measure at Octopus, and why. None of it is revolutionary. But some of it is counter to the current product development zeitgeist.</p>
<h2 id="outcomes-are-made-of-outputs">Outcomes are made of outputs</h2>
<p><em>Outcomes over outputs</em> is one of the most repeated phrases in product development. It’s true that the outcome is ultimately the thing that matters. But the phrase obscures how we get to one.</p>
<p>Outcomes are realized through the continuous delivery of outputs. We make a decision, ship something, watch what happens, and decide again. It’s the <a href="https://en.wikipedia.org/wiki/OODA_loop">OODA</a> loop. The first thing we ship is almost never the most valuable thing. It helps us learn, pivot or persevere, and eventually reach a point where we’ve realized a lot of value.</p>
<p>You can’t ship just one thing and win. You also could ship infinite things and not win. You’ve got to produce outputs and go through the loop.</p>
<p>This is the <em>value discovery loop</em>. The faster we complete it, the more value we accumulate over time.</p>
<blockquote>
<p>Velocity: the speed with which we complete the value discovery loop.</p>
</blockquote>
<p>Outputs are a proxy to value.</p>
<h2 id="engineering-vitals">Engineering vitals</h2>
<p>Who is the primary driver of the value discovery loop? Engineering.</p>
<p>“But Besty, our product managers and designers are all shipping changes to our product these days thanks to Claude!” you might say. Congratulations to them - they are now also engineers, and their efforts will be reflected in engineering’s vitals.</p>
<p>One of the jobs of engineering leaders is to unblock and enable their organization’s teams to ship as effectively and efficiently as they can. Once you go past a handful of engineers, you can’t put your hand on your heart and say you are fulfilling this responsibility without having some sort of data to back it up.</p>
<p>At Octopus there have been <em>multiple</em> times when we have paused to measure something in our delivery pipeline, and discovered some <em>healthy</em> optimizations we could make.</p>
<p>Your vitals should give you insight into how effectively your engineering organization is producing outputs and maintaining its service level objectives. They will help you move beyond vibes, and to a more concrete view of how well you are delivering and contributing to your organization’s outcomes.</p>
<h2 id="why-we-rebooted-our-vitals">Why we rebooted our vitals</h2>
<p>AI is a disruptive force, and at Octopus leaning into this disruption matters. AI is a lever - it can help us achieve more, and provide an increasingly better customer experience, without significantly increasing our costs. But even more importantly - our customers are undergoing the same disruption. Our customers are engineers - they ship software day in, day out, and most are somewhere along the same AI adoption journey we are on at Octopus. To truly empathize with our customers’ pain on this journey, we need to live it ourselves.</p>
<p>Our hypothesis about where software engineering is heading is simple: <em>an overwhelming volume of change</em>. We’re already seeing two-engineer teams become normal thanks to the leverage AI gives them, and the time it takes to build and ship is compressing.</p>
<p>We are rebooting our <em>engineering vitals</em> because our AI transformation is changing the shape of our work. I don’t use the word “transformation” hyperbolically here - the changes are actually <em>transformational.</em> We need to know whether the shifts we’re making in our AI-driven development lifecycle are helping us get through the value discovery loop faster, while maintaining our SLOs.</p>
<p>If the hypothesis holds, these are the questions we need to be able to answer:</p>
<ul>
<li>How frequently are we shipping changes and progressively releasing them to customers?</li>
<li>Are our engineering feedback loops meeting our standards for speed and reliability?</li>
<li>Is the volume of change increasing as we lean into agentic workflows, while headcount stays stable?</li>
<li>Is work starting that previously wouldn’t have been done regularly, or at all?</li>
<li>Is our operational burden shrinking? Fewer people, less time, less toil.</li>
<li>Is quality improving at the same time?</li>
<li>Are people still finding joy and satisfaction in their work, as the nature of that work changes?</li>
</ul>
<p>These questions help us understand the effectiveness of our engineering organization, and help to identify which levers we might be able to pull if we spot things that are slowing us down.</p>
<p>AI adoption has its own set of measures that sit alongside our vitals - we will talk to these in a separate blog post.</p>
<h2 id="the-measures">The measures</h2>
<p>We’ve divided our vitals into three areas.</p>
<p><strong>Delivery objectives</strong> measure the effectiveness of our delivery pipeline and feedback loops. They’re measured per system, and the team that owns the system sets the service level objective (SLO).</p>
<p><strong>Quality objectives</strong> measure the quality of what we ship, and the quality of our developer experience. They’re measured across the whole organization, and I as CTO own the SLOs.</p>
<p><strong>Trends</strong> are measured across the whole organization, and deliberately have no SLO. We capture them because they give us insight, particularly when read alongside the objectives.</p>
<div class="table-wrap">

















































<table><thead><tr><th>Area</th><th>Measure</th><th>What it tells us</th></tr></thead><tbody><tr><td>Delivery</td><td>Deployment lead time</td><td>The time from the first commit on a pull request to that change running on 100% of production instances. How long it takes to put work into customers’ hands once we’ve started it.</td></tr><tr><td>Delivery</td><td>Pull request churn, cycle time, and review latency</td><td>Where changes slow down between being opened and being merged.</td></tr><tr><td>Delivery</td><td>Time to recovery</td><td>The time from a defect being merged to a fix being available to affected customers, split into detect, resolve, and deploy.</td></tr><tr><td>Delivery</td><td>Build time and build stability</td><td>Rolling 7-day averages for branch builds and <code>main</code> builds. The health of our innermost feedback loop.</td></tr><tr><td>Delivery</td><td>Batch size and deployment delta</td><td>How far what’s deployed lags behind the tip of <code>main</code>, in commits and in time.</td></tr><tr><td>Quality</td><td>Sev 0-2 count</td><td>The number of high-severity defects that reached customers each month.</td></tr><tr><td>Quality</td><td>R&#x26;D NPS</td><td>Whether our platforms and developer experience are getting better in the eyes of the people who use them.</td></tr><tr><td>Trend</td><td>Pull request volume</td><td>Pull requests merged over time, in aggregate. Our test of the <em>overwhelming volume of change</em> hypothesis.</td></tr></tbody></table></div>
<p>If you know the <a href="https://dora.dev/guides/dora-metrics/">DORA metrics</a>, most of this looks familiar. However there is one particular fight I’ll pick with DORA’s metrics - change failure rate does nothing to help you understand customer impact.</p>
<h3 id="do-not-obscure-the-customer-impact-of-failure">Do not obscure the customer impact of failure</h3>
<p>We don’t measure change failure rate.</p>
<p>For a long time our change failure rate sat below 2%, which is healthy by any benchmark. Yet sometimes the failures that did occur still had significant customer impact. The signal said everything was fine. Our customers’ lived experience said otherwise.</p>
<p>AI makes this problem worse. A rate has a denominator, and the denominator is the thing we expect to explode. If we double the changes we merge and hold our failure rate steady, we’ve doubled the defects reaching customers, and the dashboard hasn’t moved.</p>
<p>Customers don’t experience a percentage. They experience the defect.</p>
<p>So we count. Every month we look at the number of Sev 0-2 defects that reached customers, and as leaders we dig into the specific issues behind the number. We can still derive a rate if we want one.</p>
<p>This only works if all work is tracked. If a defect has been merged to <code>main</code> and deployed, it’s logged with a severity, whether a customer found it or we did. We’re our own <em>customer zero</em>, so any issue that affects us affects a customer.</p>
<h3 id="trends-without-targets">Trends without targets</h3>
<p>We care about velocity, and need to reason about it in aggregate over time. In this, we take heed of Goodhart’s law for trends: when a measure becomes a target, it ceases to be a good measure. So we don’t set goals for it.</p>
<p>Pull request volume is our proxy for velocity, and our window into the value discovery loop.</p>
<p>We care how quickly we are getting through the value discovery loop. We want to see a trend up and to the right as we lean further into agentic development.</p>
<p>We set <em>other</em> measurable goals that seek to impact velocity. An example might be the % of PRs that are shipped without human intervention.</p>
<p>Trends are particularly useful in combination with service level objectives. Pull request volume rising while Sev 0-2 counts hold flat and lead time stays steady tells a richer story than just understanding velocity is improving.</p>
<h2 id="were-in-good-company">We’re in good company</h2>
<p>While counter to some popular product development ideologies, none of this is particularly esoteric.</p>
<p>I’m a big fan and a regular reader of Gergely Orosz’s Pragmatic Engineer newsletter. In one publication, Laura Tacho and Gergely looked at <a href="https://newsletter.pragmaticengineer.com/p/how-tech-companies-measure-the-impact-of-ai">how 18 tech companies measure the impact of AI</a>, including Google, GitHub, Microsoft, Dropbox, and Monzo. Two findings stood out to me:</p>
<ul>
<li>Most of the types of measures look the same as they did before AI. The companies getting clear answers are the ones that had already invested in understanding their engineering performance.</li>
<li>Almost every company pairs a measure of speed with a measure of quality, so each keeps the other in check.</li>
</ul>
<p>More recent data tells the same story with bigger numbers. <a href="https://www.atlassian.com/blog/ai-at-work/measuring-and-orchestrating-ai-across-the-full-engineering-lifecycle">Atlassian’s write-up</a> of DX data from more than 500 companies reports that median pull request throughput has doubled. It also reports that pull request size grew 122% in four quarters, engineers’ confidence in their changes dropped, and the share of capacity going to new customer value moved by a single percentage point.</p>
<p>That’s the <em>overwhelming volume of change</em> arriving, without the value arriving with it. It’s also why pull request volume is a trend for us and not a goal.</p>
<p>The same write-up describes Dropbox pointing its unlocked capacity at long-deferred maintenance, like language migrations and dependency upgrades. That’s one of our own questions being answered: work is starting that previously wouldn’t have been done.</p>
<p>There’s one place we’re out of step. Nearly all of these companies track change failure rate as their quality measure, and we’ve chosen counts. I’ve explained why above.</p>
<p>And to be fair to LaunchDarkly, their numbers fit this pattern too. Merged pull requests up, incident time down, headcount flat. Speed and quality, measured side by side. It’s good evidence that their machine is working. Whether the software was <em>valuable</em> is a different question, answered somewhere else.</p>
<div class="hint"><p>Speaking of LaunchDarkly, did you know Octopus now has <a href="https://octopus.com/docs/feature-flags">Feature Flags</a>? Octopus feature flags are available in all license tiers at no additional cost, are built on <a href="https://openfeature.dev/">OpenFeature</a>, and are a natural fit for organizations deploying with a high frequency, who want more control over the release of changes to their customers and users.</p></div>
<h2 id="conclusion">Conclusion</h2>
<p>AI hasn’t changed what makes an engineering organization effective. It has changed how much flows through one, and how quickly a weakness gets exposed.</p>
<p>Measuring value per hour of human attention is a fine thing to want. But value is a lagging signal with many owners, and you can’t steer your organization by it week to week.</p>
<p>So start with the measuring what you can steer. Know how long it takes to get a change into customers’ hands, how quickly you recover when a change is wrong, how many serious defects reached customers this month, and whether the volume of change is growing while those numbers hold.</p>
<p>When you can answer those questions on demand, you can then raise your gaze: if your measures are healthy and the needle still isn’t moving, you know where to look next.</p>
<p>Measure the efficiency of your engineering machine. Then set your sights on value.</p>
<h2 id="sources">Sources</h2>
<ul>
<li><a href="https://launchdarkly.com/blog/introducing-release-autopilot/">AI changed how we write software. We must change how we release it.</a>, LaunchDarkly, November 2026</li>
<li><a href="https://dora.dev/research/2025/dora-report/">State of AI-assisted Software Development</a>, DORA, 2025</li>
<li><a href="https://dora.dev/insights/balancing-ai-tensions/">Balancing AI tensions: Moving from AI adoption to effective SDLC use</a>, DORA, March 2026</li>
<li><a href="https://newsletter.pragmaticengineer.com/p/how-tech-companies-measure-the-impact-of-ai">How tech companies measure the impact of AI on software development</a>, The Pragmatic Engineer, September 2025</li>
<li><a href="https://www.atlassian.com/blog/ai-at-work/measuring-and-orchestrating-ai-across-the-full-engineering-lifecycle">Measuring and orchestrating AI across the full engineering lifecycle</a>, Atlassian, November 2026</li>
</ul>]]></content>
    </entry>
    <entry>
      <title>For platform teams, the challenge is the way</title>
      <link href="https://octopus.com/blog/platform-challenge-is-the-way" />
      <id>https://octopus.com/blog/platform-challenge-is-the-way</id>
      <published>2026-11-16</published>
      <updated>2026-11-16</updated>
      <summary>Find out why some Platform Engineering obstacles highlight dysfunction, while others tell us where the valuable work is.</summary>
      <author>
        <name>Steve Fenton, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>The survey for <a href="https://octopus.com/publications/future-of-platform-engineering-report">the Future of Platform Engineering report</a> asked about the obstacles platforms hit along the way. My expectation of what this would reveal was overly simplistic; we’d find out the most common things preventing teams from building a successful platform.</p>
<p>As is often the case, reality was more complex and vastly more fascinating than that simple mental model. When Dr. Charlotte Fleming put the data through the statistical mangle, something surprising happened. We found there were two kinds of obstacles. In fact, we might label them obstacles and challenges, for reasons I’ll explain.</p>
<p>One set of obstacles met my original expectation. A lack of clear strategy, budget, and skills stops platforms from meeting their goals. If you don’t tackle these, particularly the strategy problem, you’re choosing to fail at Platform Engineering. If you need somewhere to start, a lack of clear strategy was a particularly strong failure signal.</p>
<p>The second kind, which we’ll call “challenges” rather than “obstacles”, tells us another story entirely. Tooling sprawl, competing priorities, resistance to change, and technical complexity were all more common in high-performance platforms. Successful teams were more likely to have these challenges and less likely to encounter the obstacles.</p>
<figure><p><img src="/blog/i/x/platform-challenge-is-the-way/obstacles-hp1.png" alt="Chart showing how lack of clear strategy, lack of budget, and lack of skills are obstacles not encountered by high performers, while technical complexity, resistance to change, competing priorities, and tooling sprawl are challenges common to high performars." loading="lazy" srcset="/blog/i/600/platform-challenge-is-the-way/obstacles-hp1.webp 600w, /blog/i/1000/platform-challenge-is-the-way/obstacles-hp1.webp 1000w, /blog/i/2000/platform-challenge-is-the-way/obstacles-hp1.webp 1180w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1180" height="783"></p><figcaption>The gap between high-performers and everyone else when it comes to obstacles.</figcaption></figure>
<h2 id="the-obstacles">The obstacles</h2>
<p>Obstacles are less likely to be reported by high-performing teams. That makes it likely they are one of the factors preventing platforms from meeting their goals. Platform goals vary by organization, but we take into account each organization’s definition of success when we rate a platform’s performance.</p>
<p>The top obstacle is a lack of clear strategy. Platform teams that lack strategy are frustrated with their leaders, and team members report lower job satisfaction. They tend to <a href="https://octopus.com/blog/stop-maintaining-what-your-vendor-now-ships">build more platform components from scratch</a> rather than building on top of best-in-class commercial and open-source tools. This has an up-front cost (and delay) and also creates an ongoing maintenance burden that can consume most of the platform team’s time.</p>
<p>Platforms should solve the problems unique to your organization, but common to many teams. A lack of a clear strategy results in a platform that doesn’t capture the task of tailoring and instead offers poor imitations of very general features that any organization could use.</p>
<p>Platforms should be competing with internal DIY solutions, not open source or commercial products. Don’t write your own version of things like build servers or deployment tools, as it will be undifferentiated. The only justification for doing so would be spotting an incredible competitive advantage in doing something in a completely different way, and an understanding that these tools require millions of dollars in time and effort to maintain.</p>
<h2 id="the-challenges">The challenges</h2>
<p>Challenges are more likely to be reported by high-performing platform teams. The teams experiencing them are doing the work of Platform Engineering, which is a good indicator that they are providing real value to the business. The top challenge for high-performing teams is tooling sprawl.</p>
<p>When a platform team begins building out golden paths, much of the initial work will be establishing stronger connections between the tools. This work is largely front-loaded, with improvements following along with updates whenever underlying APIs change.</p>
<p>An organization may have made many local decisions before the platform initiative, so there may be some rationalization work to reduce the number of options. You might want to reduce the number of different build servers from the free-for-all of ten different tools to just two or three options for teams to choose from. This is a sociotechnical problem, as along with the technical work, you’re asking people to change how they work, and may bring some resistance to change, which is another challenge reported by high-performing teams.</p>
<h2 id="completing-the-mission">Completing the mission</h2>
<figure><p><img src="/blog/i/x/platform-challenge-is-the-way/section-3-summary.png" alt="The relationships between build approach, obstacles, and outcomes helps understand how these factors relate to each other." loading="lazy" srcset="/blog/i/600/platform-challenge-is-the-way/section-3-summary.webp 600w, /blog/i/1000/platform-challenge-is-the-way/section-3-summary.webp 1000w, /blog/i/2000/platform-challenge-is-the-way/section-3-summary.webp 1164w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1164" height="745"></p><figcaption>The relationships between build approach, obstacles, and outcomes.</figcaption></figure>
<p>If you’re not getting the results you want from your platform, you should tackle the obstacles first. If you don’t have a clear strategy, budget, and skills, you’re inviting failure. Fixing the strategy is the first step to resolving other obstacles and will help you make better decisions at every other stage of your platform’s evolution.</p>
<p>The obstacles and challenges insight tells us that the challenges reflect the valuable work of Platform Engineering, while the obstacles block the path to success. High-performing platform teams have a clear strategy, budget, and the skills to focus on the challenges that platforms are built to solve.</p>
<p>The smooth integration of best-in-class tools, gaining adoption, and deciding what to build next <em>is the work</em>. These are some of the reasons we build platforms. Teams without obstacles can focus on challenges and deliver a return on their platform investment.</p>
<p>Remove the obstacles and embrace the challenges.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>AI Assistant Deprecated</title>
      <link href="https://octopus.com/blog/ai-assistant-deprecated" />
      <id>https://octopus.com/blog/ai-assistant-deprecated</id>
      <published>2026-11-09</published>
      <updated>2026-11-09</updated>
      <summary>Learn about the deprecation of the AI Assistant and the recommended migration path</summary>
      <author>
        <name>Matthew Casperson, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>The Octopus AI Assistant was released last year to bring a chat based interface into the Octopus web portal. It’s goals were to:</p>
<ul>
<li>Provide suggestions on best practices</li>
<li>Add self-support for failed deployments and runbook runs</li>
<li>Create sample projects from prompt descriptions</li>
<li>Provide the ability to answer general questions about your Octopus instance and its configuration</li>
</ul>
<p>The AI Assistant has been deprecated. The Chrome extension that provided the chat based interface is no longer available for new users, and existing users now see a static message notifying them of the deprecation.</p>
<p>The MCP interface, and specifically the <a href="https://octopus.com/blog/introducing-remote-mcp">remote MCP interface</a>, is the recommended migration path for users who wish to continue using AI features in Octopus.</p>
<p>For those looking to create projects from prompts, the post <a href="https://octopus.com/blog/onboarding-with-octopus-deploy-mcp">End-to-end Kubernetes deployments with the Octopus Deploy MCP server</a> provides example prompts for creating a Kubernetes project in Octopus.</p>
<p>The post <a href="https://octopus.com/blog/build-your-own-octopus-dashboards-with-llms-txt">Build your own Octopus dashboards with llms.txt and an AI coding agent</a> shows how to use the remote MCP interface to create dashboards and visualizations of your Octopus instance.</p>
<p>The <a href="https://octopus.com/docs/best-practices">best practices</a> documentation can be consumed by your MCP client to provide suggestions on improving your Octopus instance.</p>
<p>For those looking to include AI features in their deployment processes or runbooks, the <a href="https://octopus.com/docs/octopus-ai/claude-agent-step/getting-started/">Claude Agent Step</a> provides the ability to automate the Claude Code CLI, and also has the ability to interact with the Octopus MCP interface.</p>
<p>Thank you to everyone who has used the AI Assistant and provided feedback - your input has been invaluable in shaping the future of AI features in Octopus.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>See what your Argo CD applications cost</title>
      <link href="https://octopus.com/blog/argocd-cost-intelligence" />
      <id>https://octopus.com/blog/argocd-cost-intelligence</id>
      <published>2026-11-08</published>
      <updated>2026-11-08</updated>
      <summary>Cost Intelligence for Argo CD is an open source extension that shows what each Argo CD application costs, in a tab in the Argo CD UI, after every sync.</summary>
      <author>
        <name>Patroklos Papapetrou, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>When you sync an application in Argo CD, you see straight away whether it’s healthy, which resources changed, and which revision is running.
What you don’t know is if this sync increased the cost and how.</p>
<p>That part shows up later on the cloud bill, and by then it’s hard to figure out which change was responsible.
Today we’re releasing Cost Intelligence for Argo CD, an open source extension that shows the cost of each application in a tab in the Argo CD UI, next to everything else you already look at.</p>
<h2 id="the-cloud-bill-doesnt-know-about-your-syncs">The cloud bill doesn’t know about your syncs</h2>
<p>Let’s take a typical case. A team releases a new version, adds a few replicas, or asks for bigger CPU and memory requests.
Argo CD syncs the change, but it’s hard to figure out how it affects the overall cost.</p>
<p>Cloud bills can split a cluster’s cost by namespace or pod label, with split cost allocation for EKS or cost allocation on GKE, if someone has turned it on.
They still don’t know about Argo CD applications or syncs.
Argo CD 3 tracks the resources of an application with an annotation by default, not a label, so the bill reports usually have no label to split the cost by application, unless your teams add one to their pods themselves.
So when the cost goes up, the team has to work out which change caused it, or someone on the platform team does that for them by hand.</p>
<p>Now imagine a more complicated example where you have shared namespaces. If several applications deploy to the same namespace, a cost per namespace doesn’t reveal which of them have actually increased the costs.</p>
<h2 id="how-it-works">How it works</h2>
<p>Cost Intelligence for Argo CD runs next to Argo CD and gets its numbers from <a href="https://www.opencost.io">OpenCost</a>.
After every successful sync, Argo CD Notifications calls the plugin, which asks OpenCost what the application cost over the previous 24 hours and stores the result as a measurement.
The plugin projects each measurement onto a 30-day month from the hours OpenCost has data for, so an application that has only run for a few hours still gets a monthly figure.</p>
<p>Because each measurement looks back 24 hours, the one taken right after a sync still mostly reflects the version before it, and you see the full cost of a change about a day after you sync it.</p>
<p>The figures cover only the pods of the workloads Argo CD manages for that application.
CronJob Jobs or ReplicaSets count under their parent, and the plugin leaves out other workloads in the same namespace, so applications that share a namespace show only their costs.</p>
<p>When the plugin starts, it measures every application that doesn’t have a cost yet, so most tabs show one within a few minutes, and you don’t have to sync them to see the numbers.
A new application shows its cost a few minutes after its first sync, once its namespace exists and OpenCost has some data for it.
The plugin also stores each application’s cost per day, so the history is still there after OpenCost’s own Prometheus no longer has those days.</p>
<h2 id="what-a-team-sees-on-its-application">What a team sees on its application</h2>
<p>Open an application in Argo CD and you’ll find a <strong>Cost Intelligence</strong> tab with three views: <strong>Actual costs</strong>, <strong>Resources</strong>, and <strong>Trends</strong>.</p>
<h3 id="actual-costs">Actual costs</h3>
<figure><p><img src="/blog/i/x/argocd-cost-intelligence/actual-costs.webp" alt="Actual costs: monthly cost, change since the last sync, rightsizing advice, cost breakdown, and resource efficiency" loading="lazy" srcset="/blog/i/600/argocd-cost-intelligence/actual-costs.webp 600w, /blog/i/1000/argocd-cost-intelligence/actual-costs.webp 1000w, /blog/i/2000/argocd-cost-intelligence/actual-costs.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2000" height="1234"></p></figure>
<p>Actual costs is where most teams will start. The top row shows the projected <strong>Monthly cost</strong> of the application and how much its Kubernetes cost changed <strong>Since last sync</strong>.
OpenCost can’t see the cloud services an application uses outside the cluster, like a database or a bucket.
If your CI runs <a href="https://www.infracost.io/">Infracost</a>, it can push those estimates to the plugin, and the monthly cost includes them.</p>
<p>Next to those, <strong>Idle spend</strong> is what the application pays for CPU and memory it requests but doesn’t use, and <strong>Pricing</strong> shows whether OpenCost priced the resources with your cloud provider’s prices or with public list prices.
Below them, the breakdown splits the cost into CPU, memory, storage, network, cloud services, load balancers, and GPU, and lists only the ones that cost something.
Under it, the tab shows shared costs and the carbon footprint, outside the total.</p>
<p>The tab shows when the measurement was taken.
It shows <strong>Projected from N hours of data</strong> when OpenCost has less than a day of data for the application, and it marks a measurement as <strong>Stale</strong> once it’s a week old.</p>
<p>When the cost changed since the previous sync, the <strong>What changed</strong> panel lists the workloads whose cost went up or down, each with its monthly cost before and after.
If the pods use less than half of the CPU they request over a full day, the tab suggests a smaller request and shows how the smaller request changes the cost.
If you run the Vertical Pod Autoscaler, which I cover under Resources below, the tab shows the autoscaler’s suggestions here instead, and those cover memory as well as CPU.
And when the Kubernetes cost rises well above the earlier measurements, the tab shows a <strong>Cost warning</strong>, or a <strong>Cost alert</strong> for a bigger rise.</p>
<h3 id="resources">Resources</h3>
<figure><p><img src="/blog/i/x/argocd-cost-intelligence/resources.webp" alt="Resources: cost per controller and Vertical Pod Autoscaler rightsizing suggestions" loading="lazy" srcset="/blog/i/600/argocd-cost-intelligence/resources.webp 600w, /blog/i/1000/argocd-cost-intelligence/resources.webp 1000w, /blog/i/2000/argocd-cost-intelligence/resources.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2000" height="921"></p></figure>
<p>Resources shows the monthly cost of each workload, with its CPU, memory, and share of the total, and each workload expands to its pods.
If you run the Vertical Pod Autoscaler in <code>Off</code> mode, or let Goldilocks create those autoscalers for you, this view also suggests CPU and memory requests per container, priced with OpenCost’s figures.
The suggestions start once the autoscaler has about a day of history, and they cover requests only, never limits.
A copy button gives you the suggested requests as YAML to paste into the pod template.</p>
<p>When there are pods that report no CPU or memory use, like evicted pods, pods stuck in <code>Pending</code>, or finished Jobs that still hold volumes or load balancers, the view lists them separately as orphaned pods.</p>
<h3 id="trends">Trends</h3>
<figure><p><img src="/blog/i/x/argocd-cost-intelligence/trends.webp" alt="Trends: daily cost for this month with a month-end forecast" loading="lazy" srcset="/blog/i/600/argocd-cost-intelligence/trends.webp 600w, /blog/i/1000/argocd-cost-intelligence/trends.webp 1000w, /blog/i/2000/argocd-cost-intelligence/trends.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2000" height="1140"></p></figure>
<p>Trends shows the daily cost of the application for ranges from 30 days to a year, this month, last month, or a custom range, and longer ranges show weeks or months instead of days.
You can see the same numbers as a table with <strong>View as table</strong>.
The history goes back 400 days by default, since the plugin keeps each day itself.
When the range includes today, there’s also a month-end forecast, which is what the month has cost so far plus a straight-line trend of the last 30 days, once there are seven complete days of data.</p>
<h2 id="an-example-one-more-replica">An example: one more replica</h2>
<p>Here’s how this looks for a team. On Monday they release a version that adds a second replica to their <code>checkout</code> Deployment.
The measurement taken right after that sync covers the 24 hours before it, so it still mostly reflects the old version with one replica.</p>
<p>On Tuesday they release something else. The measurement after that sync covers the day Monday’s version ran, so the <strong>What changed</strong> panel lists <code>checkout</code> with its monthly cost before and after, and if Tuesday’s release changed the cost too, they’ll see it at the next sync.
The team knows which workload increased the cost without digging through bill reports.</p>
<figure><p><img src="/blog/i/x/argocd-cost-intelligence/what-changed.png" alt="The What changed panel on an application, listing the checkout Deployment with its monthly cost before and after the sync" loading="lazy" srcset="/blog/i/600/argocd-cost-intelligence/what-changed.webp 600w, /blog/i/1000/argocd-cost-intelligence/what-changed.webp 1000w, /blog/i/2000/argocd-cost-intelligence/what-changed.webp 1266w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1266" height="852"></p></figure>
<p>The <strong>What changed</strong> panel only updates when the application syncs, but the Trends view records the cost every day, so even without a second sync the team sees the daily cost go up from the first full day with two replicas.</p>
<h2 id="for-the-platform-team">For the platform team</h2>
<p>Application teams are the people we built the tab for, but the people who run the cluster get a page of their own in Argo CD’s sidebar.
It shows the cost per namespace, the applications ranked by idle spend, chargeback by any Kubernetes label, and the control-plane fee.</p>
<figure><p><img src="/blog/i/x/argocd-cost-intelligence/idle-spend.webp" alt="Idle spend: applications ranked by the requested CPU and memory their pods didn&#x27;t use" loading="lazy" srcset="/blog/i/600/argocd-cost-intelligence/idle-spend.webp 600w, /blog/i/1000/argocd-cost-intelligence/idle-spend.webp 1000w, /blog/i/2000/argocd-cost-intelligence/idle-spend.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2000" height="1128"></p></figure>
<p>Since that page shows what every team spends, your Argo CD RBAC configuration controls who can see it.
With the Helm install below, the chart creates an Application that deploys nothing, and anyone who can view that Application sees the page.
That includes <code>role:readonly</code> if it’s your default policy, so check who has access after you install. The <a href="https://cost-intelligence-argocd.readthedocs.io/en/latest/installation/#choose-your-settings">installation guide</a> shows how to let a team in.</p>
<p>A separate exporter, on by default, publishes each application’s cost per hour as Prometheus metrics, labeled so they join with <code>argocd_app_info</code>.
If you run the Prometheus Operator, the chart can also add a ServiceMonitor, and a PrometheusRule with a recording rule and some starter alerts.</p>
<h2 id="what-it-doesnt-do-yet">What it doesn’t do yet</h2>
<p>A few limits, so you know what to expect before you install it:</p>
<ul>
<li>It measures only the cluster OpenCost runs in, and that has to be the cluster Argo CD runs in. If Argo CD deploys an application to another cluster, its tab shows <strong>Deploys to another cluster</strong> and shows no costs.</li>
<li>The numbers are only as good as OpenCost’s. Without your cloud provider’s prices, OpenCost uses public list prices, and the tab shows that under <strong>Pricing</strong>.</li>
<li>It’s an early release. Helm values and the database schema may still change between minor versions, and the changelog lists any breaking change.</li>
</ul>
<h2 id="try-it-on-your-own-cluster">Try it on your own cluster</h2>
<p>You need Argo CD 3.4, 3.5, or 3.6, OpenCost 1.121.1 or newer on the same cluster, and Helm 3.8 or newer. Then it’s one Helm chart:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#795E26">helm</span><span style="color:#A31515"> install</span><span style="color:#A31515"> argocd-cost-intelligence</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#A31515">  oci://ghcr.io/octopusdeploy/charts/argocd-cost-intelligence</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#0000FF">  --version</span><span style="color:#098658"> 0.1.0</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#0000FF">  --namespace</span><span style="color:#A31515"> argocd-cost-intel</span><span style="color:#0000FF"> --create-namespace</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#0000FF">  --set</span><span style="color:#A31515"> namespace.create=</span><span style="color:#0000FF">false</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#0000FF">  --set</span><span style="color:#A31515"> postgres.auth.password=</span><span style="color:#000000">&#x3C;</span><span style="color:#A31515">your-secure-passwor</span><span style="color:#000000">d> </span><span style="color:#EE0000">\</span></span>
<span class="line"><span style="color:#0000FF">  --wait</span><span style="color:#0000FF"> --timeout</span><span style="color:#A31515"> 10m</span></span></code></pre>
<p>The chart installs the plugin and a PostgreSQL database, and adds the tab and the sync notification to Argo CD for you.
If you manage Argo CD itself from Git, the next sync would undo those changes, so install with <code>--set features.autoPatchArgoCd=false</code> and add them to Git instead, as the <a href="https://cost-intelligence-argocd.readthedocs.io/en/latest/gitops-install/">GitOps install guide</a> describes.
At first only the built-in <code>admin</code> role sees the tab, so <a href="https://cost-intelligence-argocd.readthedocs.io/en/latest/installation/#grant-access-in-argo-cd">add an RBAC rule</a> for any other role that needs it.</p>
<p>No OpenCost yet? The repository has a <a href="https://cost-intelligence-argocd.readthedocs.io/en/latest/installation/#try-it-without-opencost">mock OpenCost</a> that prices the pods in each namespace with made-up but stable prices, so you can look at the tab before you install the real thing.</p>
<p>The docs are at <a href="https://cost-intelligence-argocd.readthedocs.io/">cost-intelligence-argocd.readthedocs.io</a> and the code is at <a href="https://github.com/OctopusDeploy/cost-intelligence-argocd">github.com/OctopusDeploy/cost-intelligence-argocd</a>, open source under the Apache 2.0 license.
It’s a community project, and it isn’t affiliated with or endorsed by the Argo project, the CNCF, or OpenCost.</p>
<p>I’d like to hear what you’d want it to do next, so open an issue or send a pull request.</p>]]></content>
    </entry>
    <entry>
      <title>Check your Argo CD cluster for best practices with OctoDoctor</title>
      <link href="https://octopus.com/blog/octodoctor-for-argocd" />
      <id>https://octopus.com/blog/octodoctor-for-argocd</id>
      <published>2026-11-06</published>
      <updated>2026-11-06</updated>
      <summary>OctoDoctor for Argo CD scans your Argo CD manifests or Argo CD cluster and points out misconfigurations and common traps.</summary>
      <author>
        <name>Kostis Kapelonis, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>Today, we're excited to release <a href="https://octodoctor-argocd.readthedocs.io">OctoDoctor</a>, a standalone utility that scans your Argo CD cluster (or Git manifests) and generates a comprehensive HTML report on potential misconfigurations or questionable practices. OctoDoctor takes all the hard-earned advice that you might have seen already in <a href="https://octopus.com/blog/30-argo-cd-antipatterns-for-gitops">our Argo CD guides</a> and makes it easy to apply that advice to your actual Argo CD clusters.</p>
<p>OctoDoctor is <a href="https://github.com/OctopusDeploy/octodoctor-argocd">open source</a> and completely free. You can run it yourself on any type of cluster (even air-gapped or behind a firewall) and get an actionable report on how your Argo CD instance is configured.</p>
<h2>How OctoDoctor rates your Argo CD setup</h2>
<p>OctoDoctor is a self-contained executable. You can download it for your operating system from <a href="https://github.com/OctopusDeploy/octodoctor-argocd/releases">the releases page</a>. You can run it in 2 ways:</p>
<ol>
<li>Point it at a folder that contains your Argo CD manifests (Applications and ApplicationSets)</li>
<li>Point it at a live Argo CD cluster (the central one if you follow the hub-and-spoke model)</li>
</ol>
<p>The tool then analyzes your Argo CD setup and provides an HTML report of its findings within minutes.</p>
<p>:::figure</p>
<p>:img{ src="/blog/img/octodoctor-for-argocd/octodoctor-flow.png" alt="OctoDoctor Flow" }</p>
<p>:::</p>
<p>OctoDoctor is read-only. In both cases, it only reads information and doesn't change anything in your cluster or files. You can run it the same way against production and staging clusters.</p>
<p>Here's an example of the HTML report.</p>
<p>:::figure</p>
<p>:img{ src="/blog/img/octodoctor-for-argocd/example-report.png" alt="OctoDoctor Example HTML report" }</p>
<p>:::</p>
<p>OctoDoctor judges your Argo CD instance against a comprehensive set of rules. For each failed rule, you get a list of the files that trigger it. You can also click the rule name to see documentation that explains:</p>
<ul>
<li>Why the rule exists</li>
<li>What Argo CD configuration it checks</li>
<li>How to fix it (if it fails)</li>
</ul>
<p>The goal of the report is to give you an understanding of what can be improved in your Argo CD instance and to help you avoid common pitfalls in new Argo CD installations.</p>
<p>OctoDoctor also saves the report as JSON and YAML, so you can process it with your own tools or integrate it into a CI/CD pipeline.</p>
<h2>Bonus: OctoDoctor skill for AI agents</h2>
<p>Downloading a single executable is straightforward. However, if you or your team prefer to do everything with an AI agent, we've got you covered. We also ship an agent skill for OctoDoctor.</p>
<p>:::figure</p>
<p>:img{ src="/blog/img/octodoctor-for-argocd/skill.png" alt="OctoDoctor AI skill" }</p>
<p>:::</p>
<p>You can run the skill directly with <code>/octodoctor-report</code>, or describe what you want in plain English, for example, "check my Argo CD cluster for best practices with OctoDoctor". The agent then installs and runs OctoDoctor for you automatically.</p>
<h2>From Argo CD best practice guides to an actionable cluster scanning tool</h2>
<p>If you've been following the Octopus Blog for a while, you'll know that we regularly publish best practice guides for Argo CD and Argo Rollouts. Some of the most popular ones are:</p>
<ol>
<li><a href="https://octopus.com/blog/30-argo-cd-antipatterns-for-gitops">Top 30 Argo CD anti-patterns</a></li>
<li><a href="https://octopus.com/blog/argocd-clusters-labels-with-apps">How to use multiple clusters with Argo CD</a></li>
<li><a href="https://octopus.com/blog/how-to-structure-your-argo-cd-repositories-using-application-sets/">How to use ApplicationSets</a></li>
<li><a href="https://octopus.com/blog/helm-values-argocd">How to organize Helm charts with Argo CD</a></li>
<li><a href="https://octopus.com/blog/how-to-model-your-gitops-environments">How to promote applications with Argo CD</a></li>
</ol>
<p>The community constantly references these guides when adopting Argo CD, and they appear as top results when somebody searches for Argo CD best practices. This is great, but we want to take them a step further.</p>
<p>Reading about best practices is completely different from seeing them checked against your own Argo CD cluster. OctoDoctor takes all the best practices we've documented so far across several guides and packages them into a single executable you can run on your Argo CD manifests or clusters.</p>
<p>This helps you in 2 ways:</p>
<ul>
<li>If you're just adopting Argo CD, you can use OctoDoctor as a safety net or validation layer at every step. Install Argo CD, run OctoDoctor, adopt ApplicationSets, run OctoDoctor, create temporary preview environments, run OctoDoctor, and so on. This way, you know the whole onboarding process follows best practices and our recommendations.</li>
<li>On the other hand, if you already have an established Argo CD setup with many applications and clusters, OctoDoctor offers a fully automated, simple, and predictable way to audit everything. Run OctoDoctor, get the report, and discuss the results with your team.</li>
</ul>
<p>It's worth noting that we can't possibly predict every Argo CD setup out there. If your setup fails a rule but you know exactly <em>why</em> and how this happens, that's understandable and expected.</p>
<h2>Helping the Argo CD community with GitOps onboarding</h2>
<p>The AI era is upon us. Several teams are creating specialized internal tools that add value to a specific part of the software development process, but depend heavily on that company's own processes. OctoDoctor is <em>not</em> one of those tools.</p>
<p>We built OctoDoctor with large Argo CD installations in mind. Anyone can run it, but many of the problems it detects only start to hurt when you have many clusters, many teams, and thousands of applications. Our support team has used it extensively as a discovery and debugging tool with very large Argo CD installations. Instead of asking customers to describe how their Argo CD instance works, we ask them to send us the report.</p>
<p>OctoDoctor isn't something we created in a couple of hours with a few prompts. It's a real tool, tested in large Argo CD installations (100+ clusters, 20,000+ apps), and it's now available to you for free.</p>
<p>If you run into any problems, please open an issue in the <a href="https://github.com/OctopusDeploy/octodoctor-argocd/issues">GitHub issue tracker</a>. We'd love to know how you used OctoDoctor to audit your Argo CD installations and what value you gained from it. Since the project is open source you can also contribute your own Argo CD best practices as rules.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>What's next for Octopus Feature Flags</title>
      <link href="https://octopus.com/blog/feature-flags-whats-next" />
      <id>https://octopus.com/blog/feature-flags-whats-next</id>
      <published>2026-11-05</published>
      <updated>2026-11-05</updated>
      <summary>Rules-based configuration, automated rollouts, and general availability for Octopus Cloud and self-hosted customers. Here's what's coming to Octopus Feature Flags, and why now is a great time to start using them.</summary>
      <author>
        <name>Michael Richardson, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>In July we <a href="https://octopus.com/blog/feature-flags-public-preview">launched Octopus Feature Flags in Public Preview</a>. Since then, teams have been using them to turn features on and off without redeploying, to roll changes out to a subset of tenants or users, and to keep unfinished work safely hidden on their main branch.</p>
<p>In this post, we’ll share what’s coming next. There are three headlines:</p>
<ul>
<li><strong>A redesigned experience for feature flags</strong>, featuring rules-based targeting configuration.</li>
<li><strong>Automated rollouts</strong>, so you define the rollout once, and Octopus takes it to 100%.</li>
<li><strong>General availability</strong>. We are moving Feature Flags to General Availability in Cloud soon (removing the Preview labels), and making them available to Octopus Server (self-hosted) customers from release 2027.0</li>
</ul>
<p>Let’s take a look.</p>
<h2 id="rules-based-configuration">Rules-based configuration</h2>
<p>Today, you configure a flag by filling in a form for each environment: which tenants to include, which to exclude, a rollout percentage, a minimum version, and so on. This form started simple, but as we’ve added capabilities it’s become difficult to understand how the fields interact. The relationship between these fields is also fixed, and if your scenario doesn’t fit, you’re stuck.</p>
<p>We’re replacing the form with <em>rules</em>.</p>
<p>Each environment has zero or more rules, and each rule has one or more conditions. A rule matches when <em>all</em> of its conditions are satisfied. The flag is enabled when <em>any</em> rule matches. That’s the whole model. The conditions are the targeting options you already know, but now you can compose them however you like:</p>
<ul>
<li><strong>Tenant is</strong> or <strong>is not</strong> one of a list of tenants.</li>
<li><strong>Tenant has</strong> or <strong>does not have</strong> a tenant tag.</li>
<li><strong>Context attribute is</strong> or <strong>is not</strong> one of a list of values. This is how you target users by anything your application passes in the OpenFeature evaluation context, like email, region, or license type.</li>
<li><strong>Version is at least</strong> a given release version. Because Octopus knows what’s deployed where, the rule only matches once that version has reached the environment.</li>
<li><strong>Percentage of tenants</strong>, for a progressive tenant rollout.</li>
<li><strong>Percentage based on targeting key</strong>, for a progressive rollout across your users.</li>
</ul>
<p>Want to release to all of your <code>beta</code> tagged tenants, plus 10% of everyone else, except one customer who’s asked to be excluded? Here’s how that looks:</p>
<figure><p><img src="/blog/i/x/feature-flags-whats-next/feature-flags-rules-1.png" alt="The rule builder for a feature flag environment, showing two rules" loading="lazy" srcset="/blog/i/600/feature-flags-whats-next/feature-flags-rules-1.webp 600w, /blog/i/1000/feature-flags-whats-next/feature-flags-rules-1.webp 1000w, /blog/i/2000/feature-flags-whats-next/feature-flags-rules-1.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2716" height="2040"></p></figure>
<p>Rules are simpler to explain and more powerful than the previous form-based approach. They’re also the foundation for automated rollouts.</p>
<p>Rules come with a redesigned feature flag page. The <strong>Rollout</strong>, <strong>Evaluate</strong>, and <strong>Details</strong> tabs now sit together on a single page, and when you expand an environment, the rule builder is right there.</p>
<h3 id="what-this-means-for-existing-flags">What this means for existing flags</h3>
<p>Projects with existing flags will display an option to upgrade all of their flags.</p>
<figure><p><img src="/blog/i/x/feature-flags-whats-next/feature-flags-rules-upgrade.png" alt="The upgrade UI for feature flag rules" loading="lazy" srcset="/blog/i/600/feature-flags-whats-next/feature-flags-rules-upgrade.webp 600w, /blog/i/1000/feature-flags-whats-next/feature-flags-rules-upgrade.webp 1000w, /blog/i/2000/feature-flags-whats-next/feature-flags-rules-upgrade.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2978" height="1984"></p></figure>
<p>Everything you can express with the current form can also be expressed as rules, so the upgrade won’t change how your flags behave.</p>
<p>You will need to ensure your client SDKs are on a compatible version before upgrading your existing flags, as shown below.</p>
<ul>
<li><a href="https://www.nuget.org/packages/Octopus.OpenFeature">.NET: 4.x</a></li>
<li><a href="https://central.sonatype.com/artifact/com.octopus.openfeature/octopus-openfeature-provider">Java: 2.x</a></li>
<li><a href="https://www.npmjs.com/package/@octopusdeploy/openfeature">JavaScript: 5.x</a></li>
</ul>
<p>The new SDK versions are backward-compatible, so you can upgrade at any time. There’s no need to wait.</p>
<h2 id="automated-rollouts">Automated rollouts</h2>
<p>Progressive rollouts are the reason many teams adopt feature flags. Release to your staff first. Then to a handful of friendly customers. Then to 10%, then 50%, then everyone. Or whatever your version of this is.</p>
<p>Octopus Feature Flags have always supported this, but there was a catch: you were the automation. Someone had to decide when a change was ready to move to the next group, and remember to come back on Thursday to widen the rollout by updating the flag configuration. The rollout plan lived in someone’s head or on a wiki page, so every team shipped a little differently, and every rollout depended on who was driving it.</p>
<p>With automated rollouts, the plan lives with the flag.</p>
<h3 id="phases">Phases</h3>
<p>A rollout is a sequence of <em>phases</em>. Each phase groups one or more rules, and enabling a phase publishes its rules. If you’ve used <a href="https://octopus.com/docs/releases/lifecycles">lifecycles</a> in Octopus, this should feel familiar: lifecycle phases are ordered groups of environments, while rollout phases are ordered groups of rules.</p>
<p>An example rollout might look like this:</p>
<ol>
<li><strong>Staff:</strong> A rule matching users with a context attribute of <code>license-type</code> equal to <code>staff</code>.</li>
<li><strong>Alpha users:</strong> A rule matching users with a context attribute of <code>rollout-ring</code> equal to <code>alpha</code>.</li>
<li><strong>10%:</strong> 10% of all users, plus all alpha users from the previous phases.</li>
<li><strong>Everyone:</strong> All users.</li>
</ol>
<figure><p><img src="/blog/i/x/feature-flags-whats-next/feature-flags-phases.png" alt="A feature flag with rollout phases configured" loading="lazy" srcset="/blog/i/600/feature-flags-whats-next/feature-flags-phases.webp 600w, /blog/i/1000/feature-flags-whats-next/feature-flags-phases.webp 1000w, /blog/i/2000/feature-flags-whats-next/feature-flags-phases.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2744" height="2646"></p></figure>
<h3 id="triggers">Triggers</h3>
<p>Phases can be enabled manually, or automatically using <em>triggers</em>. A trigger enables a phase either at a specific date and time, or a set time after the previous phase was enabled. You can mix manual and automated phases in a single rollout, so you might enable the first phases by hand and let Octopus handle the rest. In the example above, Staff and Alpha users were enabled manually. The 10% phase is scheduled for 1 November, and everyone gets the feature one day after that.</p>
<p>Once a rollout is underway, Octopus completes it without any further intervention. And you stay in control the whole way. Turn the flag off instantly if something goes wrong, or hold the rollout where it is by removing the trigger from the next phase.</p>
<h3 id="see-where-every-flag-is">See where every flag is</h3>
<p>The rebuilt list page shows each flag’s rollout at a glance: which phase is active, what’s scheduled next, and how far the feature is on its journey to full release. No more opening each flag to work out where things are up to.</p>
<figure><p><img src="/blog/i/x/feature-flags-whats-next/feature-flags-list.png" alt="The feature flags list page, showing the rollout progression of every flag" loading="lazy" srcset="/blog/i/600/feature-flags-whats-next/feature-flags-list.webp 600w, /blog/i/1000/feature-flags-whats-next/feature-flags-list.webp 1000w, /blog/i/2000/feature-flags-whats-next/feature-flags-list.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3060" height="2022"></p></figure>
<h2 id="general-availability-including-octopus-server-self-hosted">General availability, including Octopus Server (self-hosted)</h2>
<p>Feature Flags are leaving Public Preview and going GA.</p>
<p>For Octopus Cloud customers, Feature Flags are now available in every instance, and we are removing the Preview label. And for the many of you who’ve asked when Feature Flags will come to self-hosted Octopus Server: they’ll be available in <strong>Octopus 2027.0</strong>.</p>
<p>Rules-based configuration and automated rollouts are rolling out to Octopus Cloud customers right now (we’re rolling them out with Octopus Feature Flags, of course!).</p>
<p>If you’ve been waiting for Octopus Feature Flags to mature before adopting them, now is a great time to start. Feature Flags are available in all license tiers, including the <a href="https://octopus.com/free">Free tier</a>. They’re built on OpenFeature, so it’s easy to try them alongside your current in-house or commercial feature flag tool. And because switching OpenFeature providers is trivial, there’s no lock-in.</p>
<p><a href="https://octopus.com/docs/feature-flags">Get started</a> with Octopus Feature Flags today.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>Advanced Java Deployments with Octopus</title>
      <link href="https://octopus.com/blog/java-deployments" />
      <id>https://octopus.com/blog/java-deployments</id>
      <published>2026-11-04</published>
      <updated>2026-11-04</updated>
      <summary>Learn how to deploy Java applications using Octopus Deploy</summary>
      <author>
        <name>Matthew Casperson, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>Java application servers often provide a convenient deployment mechanism that lets you drop a WAR file into a directory and have the application deployed automatically. But maintaining tight control of multiple application deployments is challenging, especially when you must perform manual verifications and approvals between each server deployment, explicitly start and stop applications as part of the deployment process, and run multiple deployments in parallel.</p>
<p>Octopus provides a range of features and steps that together support these complex deployment scenarios. In this post, you’ll learn how to create projects supporting these advanced Java deployments.</p>
<p><a href="https://www.youtube.com/watch?v=92KHxqm7Bd0">Advanced Java Deployments</a></p>
<h2 id="defining-the-deployment-requirements">Defining the deployment requirements</h2>
<p>The requirements for this sample deployment are as follows:</p>
<ul>
<li>Each server is deployed in sequence, so Server 1 is deployed first, then Server 2, and finally Server 3.</li>
<li>The applications are stopped on the server before any new versions are deployed.</li>
<li>Multiple applications are deployed to the server in parallel, so Application 1 and Application 2 are deployed at the same time.</li>
<li>The applications are started on the server after all the applications have been deployed.</li>
<li>A manual approval is required before the deployment can continue to the next server.</li>
<li>Each application must be able to be deployed independently, so Application 1 can be deployed without deploying Application 2, and vice versa.</li>
</ul>
<p><img src="/blog/i/x/java-deployments/architecture.png" alt="Deployment process architecture" loading="lazy" srcset="/blog/i/600/java-deployments/architecture.webp 600w, /blog/i/1000/java-deployments/architecture.webp 1000w, /blog/i/2000/java-deployments/architecture.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2532" height="1380"></p>
<p>Starting, stopping, and deploying applications is routine and does not require any special support from Octopus. This post will not focus on these interactions.</p>
<p>The complexity comes from the requirement to process each server in sequence, process the applications on each server in parallel, and require manual approval before continuing to the next server. This fan-out, fan-in process is the focus of the post.</p>
<h2 id="how-octopus-supports-the-deployment-requirements">How Octopus supports the deployment requirements</h2>
<p>Octopus provides a range of features that collectively support this deployment process.</p>
<p>Rolling deployments allow a set of steps to be executed sequentially on a specific number of targets at a time. When the number of targets is set to 1, the steps are executed on each target in sequence. This satisfies the requirement to process each server in sequence.</p>
<p>A parent, or orchestrator, project is created to coordinate the deployment of multiple child projects. Each child project then deploys a single application. However, the child project will deploy to all machines with the defined target tag by default. Our requirement is to deploy to a single server at a time.</p>
<p>Octopus supports <a href="https://octopus.com/docs/releases/creating-a-release/#deploy-to-a-specific-subset-of-deployment-targets">deploying to a specific subset of deployment targets</a>. This allows a deployment to be performed to a single target.</p>
<p>The <a href="https://library.octopus.com/step-templates/0dac2fe6-91d5-4c05-bdfb-1b97adf1e12e/actiontemplate-deploy-child-octopus-deploy-project">Deploy Child Octopus Deploy Project</a> community step template allows the orchestrator project to deploy a specific child project to a specific target. When the <code>Deploy Child Octopus Deploy Project</code> step is used in conjunction with rolling deployments, the orchestrator project can deploy each child project to a single target at a time, and then move on to the next target.</p>
<p>The <code>Deploy Child Octopus Deploy Project</code> step can initiate a deployment of a child project without waiting for the deployment to complete. This allows multiple child projects to be deployed in parallel to the same target.</p>
<p>Finally, the <a href="https://library.octopus.com/step-templates/a55ea04e-e03b-42b2-9ece-065204caa5ef/actiontemplate-octopus-wait-for-task">Octopus - Wait for task</a> community step template provides the ability to wait for the task initiated by the <code>Deploy Child Octopus Deploy Project</code> step to complete before continuing. This allows the orchestrator project to wait for all child projects to complete before moving on to the next target.</p>
<p>This combination of features and steps allows us to satisfy all the requirements of the deployment process.</p>
<h2 id="the-child-projects">The child projects</h2>
<p>This is an example deployment process for an individual application:</p>
<p><img src="/blog/i/x/java-deployments/application-deployment-process.png" alt="Application deployment process" loading="lazy" srcset="/blog/i/600/java-deployments/application-deployment-process.webp 600w, /blog/i/1000/java-deployments/application-deployment-process.webp 1000w, /blog/i/2000/java-deployments/application-deployment-process.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2848" height="1052"></p>
<p>The <code>Stop</code> step stops the application on the server, the <code>Copy files</code> step performs the deployment of the application to the server, and the <code>Start</code> step starts the application on the server.</p>
<p>The <code>Stop</code> and <code>Start</code> steps are required to support deploying an application individually. However, these steps are only run if the <code>EnableLifecycle</code> variable is <code>True</code>:</p>
<p><img src="/blog/i/x/java-deployments/run-condition.png" alt="Run condition" loading="lazy" srcset="/blog/i/600/java-deployments/run-condition.webp 600w, /blog/i/1000/java-deployments/run-condition.webp 1000w, /blog/i/2000/java-deployments/run-condition.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2114" height="1775"></p>
<p>The <code>EnableLifecycle</code> variable is a prompted variable that is set to <code>True</code> by default but can be set to <code>False</code> when creating a release. This allows the <code>Stop</code> and <code>Start</code> steps to be skipped when deploying an individual application:</p>
<p><img src="/blog/i/x/java-deployments/enable-lifecycle-variable.png" alt="EnableLifecycle variable" loading="lazy" srcset="/blog/i/600/java-deployments/enable-lifecycle-variable.webp 600w, /blog/i/1000/java-deployments/enable-lifecycle-variable.webp 1000w, /blog/i/2000/java-deployments/enable-lifecycle-variable.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2386" height="1562"></p>
<p>Overall, this is a simple deployment process for an individual application. The only complexity arises from the prompted variable, which allows the <code>Stop</code> and <code>Start</code> steps to be skipped.</p>
<h2 id="the-orchestrator-project">The orchestrator project</h2>
<p>The orchestrator project is where the ability to process each server in sequence, deploying the applications on each server in parallel, and require a manual approval before continuing to the next server is implemented:</p>
<p><img src="/blog/i/x/java-deployments/orchestrator-project.png" alt="Orchestrator project" loading="lazy" srcset="/blog/i/600/java-deployments/orchestrator-project.webp 600w, /blog/i/1000/java-deployments/orchestrator-project.webp 1000w, /blog/i/2000/java-deployments/orchestrator-project.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2090" height="1198"></p>
<p>The steps are:</p>
<ul>
<li><code>Deploy Children</code> - a parent step executing a rolling deployment on each server in sequence, with the following child steps:
<ul>
<li><code>Stop</code> - stops multiple applications on a server.</li>
<li><code>Deploy Application 1</code> - uses the <code>Deploy Child Octopus Deploy Project</code> community step template to start the deployment of the <code>Application 1</code> child project to the server.</li>
<li><code>Deploy Application 2</code> - uses the <code>Deploy Child Octopus Deploy Project</code> community step template to start the deployment of the <code>Application 2</code> child project to the server.</li>
<li><code>Wait for Application 1</code> - uses the <code>Octopus - Wait for task</code> community step template to wait for the deployment of <code>Application 1</code> to complete.</li>
<li><code>Wait for Application 2</code> - uses the <code>Octopus - Wait for task</code> community step template to wait for the deployment of <code>Application 2</code> to complete.</li>
<li><code>Start</code> - starts multiple applications on a server.</li>
<li><code>Manual Intervention Required</code> - requires a manual approval before continuing to the next server.</li>
</ul>
</li>
</ul>
<p>Let’s look at the <code>Deploy Application 1</code> step parameters in more detail:</p>
<ul>
<li><code>Child Project Name</code> is set to the name of the child project to deploy, in this case <code>Application 1</code>.</li>
<li><code>Specific Deployment Target</code> is set to <code>#{Octopus.Machine.Id}</code>, which is the current target being processed by the rolling deployment.</li>
<li><code>Child Project Prompted Variables</code> is set to <code>EnableLifecycle::False</code>. This sets the prompted variable in the child project to <code>False</code>, which skips the <code>Stop</code> and <code>Start</code> steps in the child project.</li>
<li><code>Wait for finish</code> is set to <code>False</code>, which allows the orchestrator project to continue to the next step without waiting for the deployment of <code>Application 1</code> to complete.</li>
</ul>
<p>The <code>Deploy Application 2</code> step is identical to the <code>Deploy Application 1</code> step, except that it deploys the <code>Application 2</code> child project.</p>
<p>By not waiting for the task to complete, the <code>Deploy Application 1</code> and <code>Deploy Application 2</code> steps achieve the fan-out pattern, initiating the deployment of the applications in parallel.</p>
<p>The <code>Deploy Child Octopus Deploy Project</code> step emits an output variable called <code>TaskId</code> which contains the task ID of the task that was started. The <code>Task ID</code> parameter in the <code>Wait for Application 1</code> and <code>Wait for Application 2</code> steps are set to <code>#{Octopus.Action[Deploy Application 1].Output.TaskId}</code> and <code>#{Octopus.Action[Deploy Application 2].Output.TaskId}</code> respectively, which allows the orchestrator project to wait for the correct task to complete.</p>
<p>By waiting for the deployment tasks to complete, the <code>Wait for Application 1</code> and <code>Wait for Application 2</code> steps achieve the fan-in pattern, waiting for the application deployments to complete.</p>
<p>These steps satisfy all the requirements of the deployment process:</p>
<ul>
<li><code>Deploy Children</code> implements a rolling deployment on each server in sequence.</li>
<li><code>Stop</code> stops multiple applications on a server.</li>
<li><code>Deploy Application 1</code> and <code>Deploy Application 2</code> deploy multiple applications on a server in parallel.</li>
<li><code>Wait for Application 1</code> and <code>Wait for Application 2</code> wait for the deployments of the applications to complete before continuing.</li>
<li><code>Start</code> starts multiple applications on a server.</li>
<li><code>Manual Intervention Required</code> requires a manual approval before continuing to the next server.</li>
</ul>
<h2 id="deploying-the-orchestrator-project">Deploying the orchestrator project</h2>
<p>This is an example deployment of the orchestrator project to the <code>Development</code> environment:</p>
<p><img src="/blog/i/x/java-deployments/orchestrator-deployment.png" alt="Orchestrator deployment" loading="lazy" srcset="/blog/i/600/java-deployments/orchestrator-deployment.webp 600w, /blog/i/1000/java-deployments/orchestrator-deployment.webp 1000w, /blog/i/2000/java-deployments/orchestrator-deployment.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3082" height="1686"></p>
<p>Note how the deployment processed the first server, stopped the applications, deployed both applications in parallel, waited for both deployments to complete, started the applications, and then required manual approval before continuing to the next server.</p>
<p>Once the manual approval was granted, the deployment continued to the next server and repeated the process:</p>
<p><img src="/blog/i/x/java-deployments/orchestrator-deployment-continued.png" alt="Orchestrator deployment continued" loading="lazy" srcset="/blog/i/600/java-deployments/orchestrator-deployment-continued.webp 600w, /blog/i/1000/java-deployments/orchestrator-deployment-continued.webp 1000w, /blog/i/2000/java-deployments/orchestrator-deployment-continued.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3092" height="1692"></p>
<p>The process is then repeated for all the servers in the rolling deployment until the deployment is complete.</p>
<p>Looking at the application deployment, we see that the <code>Start</code> and <code>Stop</code> steps were skipped because the <code>EnableLifecycle</code> variable was set to <code>False</code> in the orchestrator project, and only 1 target was deployed to:</p>
<p><img src="/blog/i/x/java-deployments/child-project-deployment.png" alt="Application deployment" loading="lazy" srcset="/blog/i/600/java-deployments/child-project-deployment.webp 600w, /blog/i/1000/java-deployments/child-project-deployment.webp 1000w, /blog/i/2000/java-deployments/child-project-deployment.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3094" height="1330"></p>
<h2 id="conclusion">Conclusion</h2>
<p>The combination of rolling deployments, the <code>Deploy Child Octopus Deploy Project</code> community step template, and the <code>Octopus - Wait for task</code> community step template allows us to implement a complex deployment process with tight control over the deployment of multiple applications to multiple servers, while still allowing each application to be deployed independently.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>DRY isn't just for application code</title>
      <link href="https://octopus.com/blog/dry-isnt-just-for-app-code" />
      <id>https://octopus.com/blog/dry-isnt-just-for-app-code</id>
      <published>2026-10-28</published>
      <updated>2026-10-28</updated>
      <summary>Reusable GitHub workflows solved our copy-paste pipeline problem, but raised new questions about versioning, testing changes, and what platform teams can actually see and control.</summary>
      <author>
        <name>Matthew Allford, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>In the <a href="/blog/from-copy-paste-to-platform-thinking">first article of this series</a>, I shared how we approached modernizing the build and deployment of our microsites at Octopus. One of the biggest sources of friction was how our GitHub Actions workflows were managed. Each of our microsites had its own repository, and each repository had its own copy of four workflows. That’s twenty workflow files, all meant to be identical, all maintained separately, and a problem that only got worse with every new microsite we provisioned.</p>
<p>From a technical perspective, it worked, but it didn’t age well, and the workflows were originally built before reusable workflows were available to us. Making a change like bumping the node version meant opening five pull requests across five repositories, getting each one reviewed, and merging them one by one. Small tweaks made in one repository didn’t always reach the others, and over time, it became trivial for the workflows to drift apart. It’s one of those classic things where each time someone made a change, they knew there was a better way, but the pain experienced for that one-off change wasn’t big enough to take action. However, nobody could say with confidence that every microsite was being built the same way.</p>
<p>Most developers learn “don’t repeat yourself” (DRY) early on as a principle for writing application code. Yet it’s surprisingly common to see the same pipeline copied across repository after repository, as if the rule stops at the edge of the source code. Our microsites were a textbook example.</p>
<p>The fix was to move the build logic into a single central repository and have each microsite call it, so a change made once applies everywhere. GitHub calls these reusable workflows, and getting them in place was one of the project’s quicker wins.</p>
<p>It wasn’t all smooth sailing, though. Reusable workflows solved the copy-paste problem, but they raised new questions about versioning, testing changes safely and without friction, and how much a platform team can see and control once other teams depend on what they’ve built.</p>
<h2 id="a-central-home-for-shared-workflows">A central home for shared workflows</h2>
<p>The first step was deciding where the shared workflows would live. I knew there would likely be other shared elements for the project, so we created a central repository called <code>microsite-deployment</code>. Alongside the reusable workflows, it also holds the Terraform for the hosting infrastructure and the scripts used during deployment.</p>
<p>What makes a workflow reusable is a single trigger. Instead of running on a push or a pull request, it uses <code>on: workflow_call</code>, which tells GitHub it’s designed to be invoked by other workflows. It can then declare inputs, just like a function declares parameters, and the calling workflow supplies the values.</p>
<p>For each microsite, the result is refreshingly small. Here’s the entire calling workflow that runs when a pull request is opened against our blog:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="yml"><code><span class="line"><span style="color:#800000">name</span><span style="color:#000000">: </span><span style="color:#0000FF">Pull Request build and deploy</span></span>
<span class="line"></span>
<span class="line"><span style="color:#0000FF">on</span><span style="color:#000000">:</span></span>
<span class="line"><span style="color:#800000">  pull_request</span><span style="color:#000000">:</span></span>
<span class="line"><span style="color:#800000">    branches</span><span style="color:#000000">:</span></span>
<span class="line"><span style="color:#000000">      - </span><span style="color:#0000FF">main</span></span>
<span class="line"></span>
<span class="line"><span style="color:#800000">jobs</span><span style="color:#000000">:</span></span>
<span class="line"><span style="color:#800000">  branch_validation</span><span style="color:#000000">:</span></span>
<span class="line"><span style="color:#800000">    uses</span><span style="color:#000000">: </span><span style="color:#0000FF">OctopusDeploy/microsite-deployment/.github/workflows/microsite-deployment-branch.yml@main</span></span>
<span class="line"><span style="color:#800000">    with</span><span style="color:#000000">:</span></span>
<span class="line"><span style="color:#800000">      octopus_project_name</span><span style="color:#000000">: </span><span style="color:#A31515">"Blog Microsite"</span></span>
<span class="line"><span style="color:#800000">      package_id</span><span style="color:#000000">: </span><span style="color:#A31515">"BlogMicrosite"</span></span>
<span class="line"><span style="color:#800000">    secrets</span><span style="color:#000000">: </span><span style="color:#0000FF">inherit</span></span></code></pre>
<p>That’s it. The calling workflow decides <em>when</em> the build runs, and the called workflow decides <em>how</em> it runs. Each microsite provides two inputs: the name of its Octopus project and the package ID for the built site, so it knows which package to reference when GitHub triggers a release in Octopus. Installing dependencies, building and testing the site, packaging it, pushing it to Octopus, and creating a release all live in one place now.</p>
<p>Centralizing the workflows also means the trickier logic only needs to be solved once. Some of our microsite repositories are public and accept contributions from people outside of Octopus. Pull requests from forks don’t have access to the repository’s secrets, so a build from a fork can’t push anything to the Octopus instance that performs deployments. The reusable workflow handles this with a <code>SHOULD_DEPLOY</code> flag, which is set based on whether the Octopus server secret is available in the repo. If it isn’t, the site is still built, tested, and packaged, and the package is uploaded as a workflow artifact instead. Outside contributors still get a validated build, but it doesn’t try to deploy without the credentials to do it. That logic existed before this project, but now it lives in one place, and every public microsite gets it for free.</p>
<p>Adding a new microsite is now a very different experience. Instead of copying four complex workflow files from an existing repo and hoping you picked the latest version, a new repository needs a handful of stable short calling workflows like the one above, and it gets the same build process every other microsite uses from day one.</p>
<h2 id="bring-improvements-in-small-batches">Bring improvements in small batches</h2>
<p>When I started converting the workflows, there was a temptation to go all the way in one hit. Take everything, use Claude to consolidate it into as few files as possible, with whatever logic was needed to handle every incarnation, and be done with it. But moving five microsites onto shared workflows was already a meaningful change, and I didn’t want to stack a redesign of the build logic on top of it. We already know small batches are easier to author and review, easier to test, and much easier to roll back if something goes wrong.</p>
<p>The first step was a fairly direct translation. Each of the four workflows in the microsite repositories became a reusable workflow in the central repository, and each microsite swapped its copies for the short and stable calling workflows. The logic of the workflow stayed the same, but the benefit I was looking for with this change was to consolidate to one version of each workflow, giving us one place to make changes moving forward that would roll out to all callers.</p>
<p>The two build workflows are a good example of where I deliberately held back. One runs when a pull request is opened, and the other runs when changes are merged to main. Both build, test, and package the site, but what happens next is quite different. The main branch workflow is a single job that pushes the package to Octopus and creates a release. The pull request workflow is split into three jobs, deploys to an ephemeral environment, can be skipped with a label, and has a gate job that acts as the required status check for merging.</p>
<p>Could they be a single workflow? Yes. They might even become a single workflow in the future. You could check which event triggered the run, or pass in an input, and use conditions to determine which jobs run. But the two workflows differ in their structure, not just a step or two, and a single file full of conditionals can be harder to read and reason about. Keeping them separate means each one clearly does one job.</p>
<p>I can see what you’re thinking:</p>
<blockquote>
<p>But Matt, we are trying to stop the duplication and the multiple changes!</p>
</blockquote>
<p>Yes, true, but it doesn’t mean the duplication between them was entirely ignored. For example, workflows need to install the same versions of Node and pnpm, and specifying those versions in two places would have reintroduced the exact problem we were trying to escape, just inside the central repository instead of across the microsites.</p>
<p>So the versions for pnpm and Node are specified in a small composite action, which both workflows call:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="yml"><code><span class="line"><span style="color:#000000">- </span><span style="color:#800000">name</span><span style="color:#000000">: </span><span style="color:#0000FF">Retrieve versions</span></span>
<span class="line"><span style="color:#800000">  uses</span><span style="color:#000000">: </span><span style="color:#0000FF">OctopusDeploy/microsite-deployment/.github/composite/versions@main</span></span>
<span class="line"><span style="color:#800000">  id</span><span style="color:#000000">: </span><span style="color:#0000FF">versions</span></span></code></pre>
<p>The composite action exposes the Node and pnpm versions as outputs, giving us one place to bump the toolchain for every workflow at once.</p>
<figure><p><img src="/blog/i/x/dry-isnt-just-for-app-code/reusable-workflows-diagram.png" alt="Diagram of microsite repos calling four reusable workflows in a central repo, which share a composite action for versions." loading="lazy" srcset="/blog/i/600/dry-isnt-just-for-app-code/reusable-workflows-diagram.webp 600w, /blog/i/1000/dry-isnt-just-for-app-code/reusable-workflows-diagram.webp 1000w, /blog/i/2000/dry-isnt-just-for-app-code/reusable-workflows-diagram.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2800" height="1960"></p><figcaption>The flow from caller workflows, to called workflows, to the composite action</figcaption></figure>
<p>I’ll be honest, though: there’s still duplication. The steps to install dependencies, build, test, and package the site are nearly identical in both workflows, and that’s a natural next candidate for a composite action of its own. It’s a good reminder that copy-paste can creep back in even inside the platform that’s meant to eliminate it. But getting the microsites onto shared workflows first, and then improving those workflows from a single place, was a much safer path than trying to do everything at once. Any further consolidation is now a change to one repository, not five.</p>
<h2 id="versioning-and-testing-changes">Versioning and testing changes</h2>
<p>Once the microsites were calling shared workflows, a new question quickly arose. When I change a reusable workflow, which version should each microsite be running?</p>
<h3 id="choosing-a-reference">Choosing a reference</h3>
<p>The calling workflow determines which version of a reusable workflow to uses via the reference after the <code>@</code>. There are three common options, each with a trade-off.</p>
<p>A branch, like <code>@main</code>. This is a floating reference. Whatever is on the main branch of the central repository is what every caller runs on its next build. For a platform team, that’s appealing, because a fix or improvement reaches every consumer immediately. For the consumer, it means a change can land in their build without them doing anything, and if that change breaks something, they find out when their pipeline fails. It’s a similar pattern to using latest with container images, which most of the industry has moved away from for good reason.</p>
<p>A tag, like <code>@v1.2.0</code>. Callers stay on a known version until they choose to update. That’s much more predictable, but git tags are mutable by default. Someone can move a tag to a different commit, accidentally or otherwise, and every caller pinned to it quietly starts running different code. GitHub’s <a href="https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/immutable-releases">immutable releases</a> help here, as the tag attached to an immutable release can’t be changed after it’s published. The catch is that this doesn’t work for floating tags like @v1, which many teams use so consumers automatically get minor updates, because a floating tag has to move to be useful.</p>
<p>A commit SHA. This is the most stable option. A SHA always points to the exact same code, and GitHub’s own documentation recommends it as the safest choice for stability and security. The catch is that a 40-character hash tells you nothing at a glance, so the common convention is to add a comment with the version it represents.</p>
<p>We opted to use <code>@main</code>, effectively forcing every consumer onto the latest version at all times, and accepting that we’re on the hook if we break all the microsites at once. How a workflow is referenced is ultimately set in the calling repository, but the platform team decides which options exist and which one to recommend, so it’s a decision worth making together with your consumers. Think through the implications, and decide whether you’d rather keep everyone on the latest version, or end up with consumers using many versions and choosing when to update, with all the complications that may arise. As we’ll see, GitHub doesn’t have a neat way to notify people there’s a new version, or report on version use so you can track and encourage updates.</p>
<h3 id="keeping-consumers-up-to-date">Keeping consumers up to date</h3>
<p>If you do pin to tags or SHAs, the next problem is ensuring consumers move to newer versions when you publish. Pinned callers don’t automatically pick up changes, so the fix you’ve published might not be running anywhere.</p>
<p>Dependabot can help here. It can track reusable workflow references and raise pull requests when a new version is available, just as it does for marketplace actions. For workflows in private or internal repositories, which is the common case within an organization, they require a little extra setup, either by granting Dependabot access to the central repository in your organization settings or by configuring a Dependabot secret with a token that can read it. It’s also opt-in per calling repository. It makes updates easier to notice and act on, but the decision to update still sits with each consumer for any type of update, whether it be a patch, minor, or major change.</p>
<h3 id="one-tag-for-every-workflow">One tag for every workflow</h3>
<p>Another paper cut I hit when exploring tagging for the reference approach, is that tags apply to the whole repository. A Git tag points to a commit, and that commit contains every workflow in the repository. If I change the pull request workflow and tag it <code>v1.3.0</code>, a consumer of the main branch workflow who moves to <code>v1.3.0</code> picks up whatever state that workflow is in at the same commit, even if nothing changed for them. There’s no built-in way to version reusable workflows independently within one repository. You can work around it with prefixed tags, a repository per workflow, or community tools like the <a href="https://github.com/albertodeago/wire">Workflow Independent Release Engine</a>, but each adds its own overhead.</p>
<h3 id="testing-changes">Testing changes</h3>
<p>This is the part I found most awkward day-to-day. When I want to change a reusable workflow, I make the change on a branch in the central repository. I want to test it works as intended before I merge to main, but I don’t have anything that’s calling the version in my new branch. Currently to test, I create a branch in one of the microsite repositories, change its calling workflow to point at my branch instead of <code>@main</code>, and trigger it. Depending on the trigger, that can mean opening a throwaway pull request just to get the workflow to run.</p>
<p>This rarely happens, but it gets more awkward when the change also touches the composite action. The reusable workflow references the composite at <code>@main</code>, and that nested reference resolves on its own, regardless of which version of the reusable workflow the caller asked for. You might think a local path would solve this, but a local path inside a reusable workflow is resolved against the caller’s workspace, not the central repository. Before the composite action existed, I tried storing the versions in a JSON file in the central repository and reading it from the reusable workflow, but the workflow went looking for the file in the calling microsite repository instead. So testing a change that spans both files means re-pointing two references on my branch, and then remembering to point them back before merging, because I don’t want branch references promoted to main. Pinning to tags or SHAs doesn’t remove that awkwardness. It just moves it somewhere else.</p>
<p>This is an area of the project I haven’t put much thought into solving, as the pain is bearable, but it’s one I’d like to improve. I’ve seen other projects have similar concerns, and one way they’ve resolved this is to have a “test” calling repo - which, in our case, would be a basic microsite - which is primarily used to test changes to called workflows.</p>
<h2 id="visibility-and-governance-for-platform-teams">Visibility and governance for platform teams</h2>
<p>Everything so far has mostly been from the perspective of the person writing and maintaining the shared workflows. But once other teams depend on what you’ve built, a different set of questions comes up. Who’s actually using this workflow? Which version are they on? And if I need everyone to move to a newer version, how do I make that happen?</p>
<h3 id="whos-consuming-your-workflows">Who’s consuming your workflows?</h3>
<p>This is where GitHub gives a platform team surprisingly little. There’s no view from a reusable workflow that shows which repositories call it, or which reference each of the callers is using. On GitHub Enterprise Cloud, which Octopus uses, you can query the audit log through the REST API to see workflow use, but it’s not the best user experience. Outside of that, the options are to search for code across your organization or to write your own script to crawl repositories and parse their workflow files.</p>
<p>When you put this in the context of a platform team with hundreds of repositories calling many workflows, the questions get harder to answer. Is anyone still on an old version? Has a security fix been picked up everywhere? You’d reasonably expect a platform to tell you, and today on GitHub you mostly have to go and find out yourself.</p>
<h3 id="steering-consumers-to-a-new-version">Steering consumers to a new version</h3>
<p>Imagine you’ve published a change that every team needs to pick up, maybe a security fix or a new organizational requirement baked into the build. If consumers reference <code>@main</code>, they get it on their next run. If they’ve pinned to a tag or SHA, as GitHub recommends, it’s up to each of them to update.</p>
<p>GitHub does give administrators some control here, through the allowed actions and reusable workflows policy. Administrators can block a specific action or reusable workflow version by adding it to the policy with a ! prefix, and blocks take priority over anything the policy would otherwise allow. So an administrator can block an old version of a reusable workflow across the organization.</p>
<p>The catch is that it’s a hard stop. There’s no warning phase, no grace period with a “please update by the end of the month” message that teams can see but keep working. The next time a caller on the blocked version runs, it simply fails. That makes sense when you look at why the controls exist. GitHub introduced them to reduce the risk of compromised action repositories, secrets, and malicious tag updates. They’re supply chain security tools, and they do that job well. What they weren’t designed for is managing the lifecycle of your own internal workflows, like guiding teams from one version to the next over a few weeks.</p>
<p>Dependabot, as I covered earlier, helps from the other direction. It can raise pull requests in calling repositories when a new version is available, but it’s configured per repository, and the consumer still decides when to merge. Between the two, a platform team can nudge from the consumer’s side or block from the organization’s side, with not much in between.</p>
<h2 id="wrapping-up">Wrapping up</h2>
<p>Moving to reusable workflows was one of the quicker wins of this project. Twenty workflow files became a handful of short calling workflows; implementing a change is now one pull request instead of five, and I can say with confidence that every microsite is built the same way. They do come with tradeoffs, though, and if you’re a platform team sharing workflows across many repositories, it’s worth deciding early how consumers should reference your workflows, how you’ll test changes before they land, and how you’ll know who’s using which version, because those answers are much easier to design in than to retrofit.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>Continuous Delivery Office Hours Ep.12: The platform adoption shock</title>
      <link href="https://octopus.com/blog/continuous-delivery-office-hours-e12" />
      <id>https://octopus.com/blog/continuous-delivery-office-hours-e12</id>
      <published>2026-10-27</published>
      <updated>2026-10-27</updated>
      <summary>Discover what surprised us about our Future of Platform Engineering research in terms of adoption strategies.</summary>
      <author>
        <name>Steve Fenton, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>In the previous episode, we covered <a href="https://octopus.com/blog/continuous-delivery-office-hours-e11">organizational culture</a>, including why posters aren’t the way to change culture, crucial theoretical foundations from Douglas McGregor and Ron Westrum, the impact of arbitrary deadlines, and why feedback keeps organizations healthy.</p>
<p>This episode examines Platform Engineering and the persistent debate between mandatory and optional adoption strategies. The episode was inspired by data from our <a href="https://octopus.com/publications/future-of-platform-engineering-report">Future of Platform Engineering report</a>.</p>
<h2 id="watch-the-episode">Watch the episode</h2>
<p>You can watch the episode below, or read on to find some of the key discussion points.</p>
<p><a href="https://www.youtube.com/watch?v=m5LkcDJGUOo">Watch Continuous Delivery Office Hours Ep.12</a></p>
<h2 id="the-rise-of-mandatory-platforms">The rise of mandatory platforms</h2>
<p>Mandatory platforms have been an issue in the past, with platform producers and consumers diverging dramatically on whether a platform is successful. Part of the perception gap comes down to platform teams losing the adoption signal: if everyone must use the platform, you’ve lost a way to discover gaps and flaws in what you provide.</p>
<p>Since then, platforms have become broader. Platforms now have almost 6x as many features as they did when the perception gap was present. As platforms take on tasks that developers truly appreciate, like security and compliance, the gap between producers and consumers has closed.</p>
<p>You might think of this like the difference between being forced to use a bicycle to travel both before and after the invention of the bicycle saddle. Riders are far happier to be forced to cycle when they have a cushioned seat.</p>
<p>Alongside the dissipation of perceptual differences, it turns out mandatory platforms outperform optional platforms in terms of goal attainment. However, there are many factors contributing to platform success, like monitoring developer satisfaction and regularly eliciting feedback to help improve the platform.</p>
<p>The other factors of platform success have more impact, and you should still consider optional adoption, but combined with mandatory policies. That means development teams have to meet the same standards they would meet if they adopted the platform, which makes platform adoption more appealing and less likely to cause conflict or friction.</p>
<h2 id="not-just-more-features-but-the-right-ones">Not just more features, but the right ones</h2>
<p>The most common number of features baked into a platform was four, but that has grown to 24. Platforms are getting broader, and these wider platforms are more successful than the tiny ones of the past. Despite this link between platform breadth and goal attainment, it’s important to bear in mind that the volume of features alone is not a sufficient strategy, and that choosing to solve the right problems is the path to success.</p>
<p>Maintaining regular contact with developers, lightly assessing their satisfaction with the platform, and dedicating time to conversations that shape your platform’s direction are all part of the high-performance platform playbook. The usefulness comes from solving the right problems, and you need to focus on developer needs to make the right choices.</p>
<p>Platform teams are rediscovering many of the capabilities of the State of DevOps research and its associated model, like Lean Product Management, which prove useful in building platforms as internal products.</p>
<h2 id="the-invisible-platform-dilemma">The invisible platform dilemma</h2>
<p>Unsurprisingly, platforms that meet more goals have higher budget safety. They are showing a return on investment, so they can be confident in maintaining their funding over the long run. Platforms that fail to meet their goals are more likely to have their budgets redirected to other initiatives.</p>
<p>Platform teams need to show the value back to the organization in terms the organization understands and for measures it cares about. With AI initiatives soaking up money, some organizations will start reallocating funds and focus, leaving platforms underfunded or dropped.</p>
<p>Some of the best platforms will be invisible in daily use because developers don’t have to keep interacting with them. These boring, invisible platforms are the most valuable, but the least visible. Providing metrics and proof of value for these platforms will keep them funded.</p>
<p>Happy deployments!</p>
<div class="hint"><p>Continuous Delivery Office Hours is a series of conversations about software delivery, with Tony Kelly, Bob Walker, and Steve Fenton.</p><p>You can find more episodes on <a href="https://www.youtube.com/playlist?list=PLAGskdGvlaw3CrxkUOAMmiy928lr5D4oh">YouTube</a>, <a href="https://podcasts.apple.com/us/podcast/continuous-delivery-office-hours/id1872101651">Apple Podcasts</a>, and <a href="https://pca.st/hwjaox59">Pocket Casts</a>.</p></div>]]></content>
    </entry>
    <entry>
      <title>From features to solutions</title>
      <link href="https://octopus.com/blog/features-to-solutions" />
      <id>https://octopus.com/blog/features-to-solutions</id>
      <published>2026-10-26</published>
      <updated>2026-10-26</updated>
      <summary>How to take a series of small features and build a solution</summary>
      <author>
        <name>Ben Pearce, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>Octopus Deploy ships dozens of features that are each useful on their own. But the real power comes from combining them. In this post, I will walk through bringing together a collection of smaller, often overlooked features into a practical solution: automatically notifying the responsible team members whenever a deployment hits a manual intervention. It’s a real-world example of how thinking in solutions, not just features, can unlock more value from the tools you already have.</p>
<p>In an application deployment process, a manual intervention step can help provide a checkpoint for sign-offs, or allow validation of the state of the deployment before it is switched over to a live site. Unfortunately, by default, manual interventions only show up in the Octopus user interface, so they’re easy to overlook and can block deployments from completing.</p>
<p>Let’s walk through a few different ways that we can solve this using old and new features of Octopus:</p>
<ul>
<li>Subscriptions</li>
<li>Slack notifications</li>
<li>Webhook triggered runbooks</li>
</ul>
<h2 id="slack-notifications">Slack notifications</h2>
<p>In 2026.3, we added the ability to connect your Octopus Deploy instance to a Slack Workspace. At the time of writing, only one workspace is supported for the whole instance. Configuration is quite straightforward, so I won’t even go into details on how to configure it, just follow your nose from Configuration > Settings > Slack Integration, and the Slack docs on <a href="https://docs.slack.dev/app-manifests/configuring-apps-with-app-manifests/">Creating apps with an app manifest</a>.</p>
<p>Once you have a Slack Workspace configured, you can use a subscription to notify your Slack channel of a pending Manual Intervention being created in the Space the subscription is in. Subscriptions also allow you to narrow the projects that this applies to.</p>
<figure><p><img src="/blog/i/x/features-to-solutions/subscription-with-slack.png" alt="Screenshot showing a subscription to Slack" loading="lazy" srcset="/blog/i/600/features-to-solutions/subscription-with-slack.webp 600w, /blog/i/1000/features-to-solutions/subscription-with-slack.webp 1000w, /blog/i/2000/features-to-solutions/subscription-with-slack.webp 1283w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1283" height="718"></p></figure>
<p>There is a rough edge worth calling out here: subscriptions are per space and it would be nice to have consistent behavior across many or all spaces. That’s where you can use some automation to create the exact same subscription setup.</p>
<p>Use the Octopus Deploy Terraform provider to create all your subscriptions across the required spaces:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="hcl"><code><span class="line"><span style="color:#267F99">terraform</span><span style="color:#000000"> {</span></span>
<span class="line"><span style="color:#267F99">  required_providers</span><span style="color:#000000"> {</span></span>
<span class="line"><span style="color:#001080">    octopusdeploy </span><span style="color:#000000">=</span><span style="color:#000000"> {</span></span>
<span class="line"><span style="color:#001080">      source</span><span style="color:#000000"> = </span><span style="color:#A31515">"OctopusDeploy/octopusdeploy"</span></span>
<span class="line"><span style="color:#001080">      version</span><span style="color:#000000"> = </span><span style="color:#A31515">"1.18.0"</span></span>
<span class="line"><span style="color:#000000">    }</span></span>
<span class="line"><span style="color:#000000">  }</span></span>
<span class="line"><span style="color:#000000">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#267F99">variable</span><span style="color:#0070C1"> "space_ids"</span><span style="color:#000000"> {</span></span>
<span class="line"><span style="color:#001080">  type </span><span style="color:#000000">=</span><span style="color:#0000FF"> list</span><span style="color:#000000">(</span><span style="color:#0000FF">string</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">  default </span><span style="color:#000000">=</span><span style="color:#000000"> [</span><span style="color:#A31515">"Spaces-142"</span><span style="color:#000000">, </span><span style="color:#A31515">"Spaces-1"</span><span style="color:#000000">]</span></span>
<span class="line"><span style="color:#001080">  description </span><span style="color:#000000">=</span><span style="color:#A31515"> "List of Space IDs to create subscriptions in"</span></span>
<span class="line"><span style="color:#000000">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Provider without space_id - space set per-resource</span></span>
<span class="line"><span style="color:#267F99">provider</span><span style="color:#0070C1"> "octopusdeploy"</span><span style="color:#000000"> {</span></span>
<span class="line"><span style="color:#001080">  address </span><span style="color:#000000">=</span><span style="color:#A31515"> "https://example.octopus.app"</span></span>
<span class="line"><span style="color:#001080">  api_key </span><span style="color:#000000">=</span><span style="color:#A31515"> "API-APIKEY12345"</span></span>
<span class="line"><span style="color:#000000">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#267F99">resource</span><span style="color:#0070C1"> "octopusdeploy_subscription"</span><span style="color:#0070C1"> "per_space"</span><span style="color:#000000"> {</span></span>
<span class="line"><span style="color:#001080">  for_each </span><span style="color:#000000">=</span><span style="color:#795E26"> toset</span><span style="color:#000000">(var.</span><span style="color:#001080">space_ids</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">  name </span><span style="color:#000000">=</span><span style="color:#A31515"> "Manual Intervention To Slack"</span></span>
<span class="line"><span style="color:#001080">  space_id </span><span style="color:#000000">=</span><span style="color:#000000"> each.</span><span style="color:#001080">value</span></span>
<span class="line"><span style="color:#001080">  is_disabled </span><span style="color:#000000">=</span><span style="color:#0000FF"> false</span></span>
<span class="line"></span>
<span class="line"><span style="color:#001080">  event_notification_subscription </span><span style="color:#000000">=</span><span style="color:#000000"> {</span></span>
<span class="line"><span style="color:#008000">    # the id of your target channel</span></span>
<span class="line"><span style="color:#001080">    slack_channel_ids</span><span style="color:#000000"> = [</span><span style="color:#A31515">"C0BG25D5DQV"</span><span style="color:#000000">]</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000">    # the name of the channel, only required for display purposes</span></span>
<span class="line"><span style="color:#001080">    slack_channel_names</span><span style="color:#000000"> = [</span><span style="color:#A31515">"manual-interventions"</span><span style="color:#000000">]</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000">    # notify every minute</span></span>
<span class="line"><span style="color:#001080">    slack_frequency_period</span><span style="color:#000000"> = </span><span style="color:#A31515">"00:01:00"</span></span>
<span class="line"></span>
<span class="line"><span style="color:#001080">    filter</span><span style="color:#000000"> = {</span></span>
<span class="line"><span style="color:#001080">      event_categories</span><span style="color:#000000"> = [</span><span style="color:#A31515">"Created"</span><span style="color:#000000">]</span></span>
<span class="line"><span style="color:#001080">      document_types</span><span style="color:#000000"> = [</span><span style="color:#A31515">"Interruptions"</span><span style="color:#000000">]</span></span>
<span class="line"><span style="color:#000000">    }</span></span>
<span class="line"><span style="color:#000000">  }</span></span>
<span class="line"><span style="color:#000000">}</span></span></code></pre>
<p>With this subscription in place, the <code>#manual-interventions</code> channel in your Slack workspace will receive a generic message with a link to the audit page in the Octopus instance.</p>
<figure><p><img src="/blog/i/x/features-to-solutions/slack-default-message.png" alt="Default subscription message in Slack" loading="lazy" srcset="/blog/i/600/features-to-solutions/slack-default-message.webp 402w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="402" height="189"></p></figure>
<p>Slack and email communications from a subscription will always be a batch of events covering the subscription frequency, and pressing the <em>View all in Octopus</em> button will take you to the audit page.</p>
<p>This works, but we can probably make it better.</p>
<h2 id="webhooks-and-runbooks">Webhooks and runbooks</h2>
<p>Another new feature available in 2026.3 is the ability to trigger a runbook from a webhook call. Octopus supports being both the webhook provider as well as a consumer for the purposes of executing a runbook via the Runbook Webhook Trigger.</p>
<p>In previous versions, if you wanted to take any action based on an event within Octopus you had two options: polling the event API, which can be expensive and requires somewhere to run the polling code, or standing up a webhook receiver either as a custom function/lambda or using an external SaaS service such as <a href="https://zapier.com/">Zapier</a> or <a href="https://www.workato.com/">Workato</a>. Webhook Triggers let you use a runbook process as the execution location.</p>
<p>Let’s swap out the default behavior from the subscription’s Slack notification and provide our own custom message format that will notify the responsible users.</p>
<h3 id="the-attention-seeking-project">The attention-seeking project</h3>
<p>The project that I am using as an example is very straightforward: it deploys to a staging deployment slot in Azure, uses a Manual Intervention step to get a human check, and performs the slot swap after it has been reviewed.</p>
<figure><p><img src="/blog/i/x/features-to-solutions/deployment-with-manual-intervention.png" alt="Deployment process with manual intervention" loading="lazy" srcset="/blog/i/600/features-to-solutions/deployment-with-manual-intervention.webp 515w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="515" height="338"></p></figure>
<p>To build out this solution, I am going to touch on a number of Octopus features, some only made available recently in 2026.3, and others have been around for much longer:</p>
<ul>
<li>Webhook triggers to Runbooks <strong>NEW</strong></li>
<li>Slack integration and a built-in Slack step <strong>NEW</strong></li>
<li>JSON path variables</li>
<li>Variable filter syntax</li>
<li>Octopus CLI</li>
<li>Read-only roles</li>
<li>Output variables</li>
<li>OIDC auth to Octopus with service accounts</li>
<li>Generic OIDC accounts</li>
<li>Library Variable Sets</li>
<li>Execution containers</li>
<li>Variable testing</li>
</ul>
<h3 id="wiring-up-the-webhook">Wiring up the webhook</h3>
<p>The first thing we are going to need is a new runbook to receive the webhook trigger payload and a webhook trigger.</p>
<figure><p><img src="/blog/i/x/features-to-solutions/runbook-trigger-blur.png" alt="Webhook trigger configuration" loading="lazy" srcset="/blog/i/600/features-to-solutions/runbook-trigger-blur.webp 600w, /blog/i/1000/features-to-solutions/runbook-trigger-blur.webp 1000w, /blog/i/2000/features-to-solutions/runbook-trigger-blur.webp 1191w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1191" height="646"></p></figure>
<p>The trigger requires either a shared secret, supplied in the header <code>X-Octopus-Webhook-Secret</code>, or an API key, supplied in the header <code>X-Octopus-ApiKey</code> for an account that has permission to run the runbook. If you would prefer to have the executions tied to a specific account, for auditing purposes for example, use an API key.</p>
<p>Next, configure a subscription, or reuse the one we created earlier. You will need the endpoint URL for the trigger and the header and value to authenticate the webhook call.</p>
<p>In my case, I have opted for a shared secret:</p>
<figure><p><img src="/blog/i/x/features-to-solutions/subscription-with-webhook.png" alt="Subscription to webhook" loading="lazy" srcset="/blog/i/600/features-to-solutions/subscription-with-webhook.webp 600w, /blog/i/1000/features-to-solutions/subscription-with-webhook.webp 1000w, /blog/i/2000/features-to-solutions/subscription-with-webhook.webp 1129w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1129" height="756"></p></figure>
<h3 id="shape-of-the-event-payload">Shape of the event payload</h3>
<p>When a subscription fires a webhook, you get a pretty generous chunk of JSON. Here’s the shape of it, trimmed down to the bits we actually care about.</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="json"><code><span class="line"><span style="color:#000000">{</span></span>
<span class="line"><span style="color:#0451A5">    "Timestamp"</span><span style="color:#000000">: </span><span style="color:#A31515">"2026-08-24T06:43:12.310+00:00"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">    "EventType"</span><span style="color:#000000">: </span><span style="color:#A31515">"SubscriptionPayload"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">    "Payload"</span><span style="color:#000000">: {</span></span>
<span class="line"><span style="color:#0451A5">        "ServerUri"</span><span style="color:#000000">: </span><span style="color:#A31515">"https://my.octopus.app"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">        "ServerAuditUri"</span><span style="color:#000000">: </span><span style="color:#A31515">"https://my.octopus.app/app#/Spaces-142/configuration/audit?..."</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">        "Subscription"</span><span style="color:#000000">: { </span><span style="color:#CD3131">...</span><span style="color:#000000"> },</span></span>
<span class="line"><span style="color:#0451A5">        "Event"</span><span style="color:#000000">: {</span></span>
<span class="line"><span style="color:#0451A5">            "Id"</span><span style="color:#000000">: </span><span style="color:#A31515">"Events-772873"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">            "RelatedDocumentIds"</span><span style="color:#000000">: [</span><span style="color:#A31515">"Interruptions-43"</span><span style="color:#000000">],</span></span>
<span class="line"><span style="color:#0451A5">            "Category"</span><span style="color:#000000">: </span><span style="color:#A31515">"Created"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">            "Message"</span><span style="color:#000000">: </span><span style="color:#A31515">"Interruption Check staging deployment was created"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">            "ChangeDetails"</span><span style="color:#000000">: {</span></span>
<span class="line"><span style="color:#0451A5">                "DocumentContext"</span><span style="color:#000000">: {</span></span>
<span class="line"><span style="color:#0451A5">                    "Id"</span><span style="color:#000000">: </span><span style="color:#A31515">"Interruptions-43"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">                    "Title"</span><span style="color:#000000">: </span><span style="color:#A31515">"Check staging deployment"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">                    "Type"</span><span style="color:#000000">: </span><span style="color:#A31515">"ManualIntervention"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">                    "Status"</span><span style="color:#000000">: </span><span style="color:#A31515">"Pending"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">                    "RelatedDocumentIds"</span><span style="color:#000000">: [</span></span>
<span class="line"><span style="color:#A31515">                        "Deployments-53208"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#A31515">                        "ServerTasks-805184"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#A31515">                        "Projects-941"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#A31515">                        "Environments-423"</span></span>
<span class="line"><span style="color:#000000">                    ],</span></span>
<span class="line"><span style="color:#0451A5">                    "ResponsibleTeamIds"</span><span style="color:#000000">: [</span><span style="color:#A31515">"Teams-202"</span><span style="color:#000000">],</span></span>
<span class="line"><span style="color:#0451A5">                    "SpaceId"</span><span style="color:#000000">: </span><span style="color:#A31515">"Spaces-142"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">                    "ProjectId"</span><span style="color:#000000">: </span><span style="color:#A31515">"Projects-941"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">                    "EnvironmentId"</span><span style="color:#000000">: </span><span style="color:#A31515">"Environments-423"</span></span>
<span class="line"><span style="color:#000000">                }</span></span>
<span class="line"><span style="color:#000000">            },</span></span>
<span class="line"><span style="color:#0451A5">            "SpaceId"</span><span style="color:#000000">: </span><span style="color:#A31515">"Spaces-142"</span></span>
<span class="line"><span style="color:#000000">        },</span></span>
<span class="line"><span style="color:#0451A5">        "BatchId"</span><span style="color:#000000">: </span><span style="color:#A31515">"a634600f-0cd0-43f6-9412-14bb1a072fcd"</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">        "TotalEventsInBatch"</span><span style="color:#000000">: </span><span style="color:#098658">1</span><span style="color:#000000">,</span></span>
<span class="line"><span style="color:#0451A5">        "EventNumberInBatch"</span><span style="color:#000000">: </span><span style="color:#098658">1</span></span>
<span class="line"><span style="color:#000000">    }</span></span>
<span class="line"><span style="color:#000000">}</span></span></code></pre>
<p>The event details that we need are buried in <code>Payload.Event.ChangeDetails.DocumentContext</code> - that’s where we find the responsible team IDs, the related document IDs (handy for working out if this was a deployment or a runbook run), and the server task ID for linking people back to the Octopus web UI.</p>
<p>Note: The <code>DocumentContext</code> part shown here is specific to a Manual Intervention event. Other event types will have a different data shape.</p>
<h3 id="the-supporting-cast">The supporting cast</h3>
<p>Before we get to the runbook itself, there are a few pieces of configuration that make the whole thing work.</p>
<h4 id="teams-and-users">Teams and users</h4>
<p>The manual intervention step in our deployment process is configured with a responsible team, creatively named <strong>Manual Intervention</strong>. This team has all the people who can approve or reject the intervention: Annie Developer, Bob Tester, and yours truly. Crucially, these team IDs come through in the webhook event payload - that’s how our runbook figures out who to notify on Slack.</p>
<p>We also need a service account, <strong>readonly-svc</strong>, so the runbook can talk back to the Octopus API and look up who’s actually in those teams. This account lives in a new team called <strong>Read-only</strong> with only the <strong>Read only</strong> role assigned to it. The <strong>Read only</strong> built-in role is another feature added in 2026.3 to support read-only API keys and AI agents.</p>
<h4 id="generic-oidc-account">Generic OIDC account</h4>
<p>Now here’s where it gets a little bit Inception-like: we need Octopus to authenticate with… itself.</p>
<p>Rather than stashing an API key somewhere (which always feels a bit icky), I’m using a <strong>Generic OIDC Account</strong> called “Octopus Loopback”. During the runbook run, the service account gets an OIDC token issued to it, and we use that to authenticate the CLI right back to the same instance.</p>
<p>There are two parts to set up.</p>
<ol>
<li>
<p>Add an OIDC identity to the service account</p>
<p>On the <code>readonly-svc</code> account created earlier, add an OIDC identity with these settings:</p>
<ul>
<li><strong>Issuer type:</strong> Other Issuer</li>
<li><strong>Issuer:</strong> the public HTTPS URL of your Octopus instance</li>
<li><strong>Subject:</strong> <code>space:&#x3C;space-slug>:runbook:&#x3C;runbook-slug></code></li>
</ul>
<p>Slugs start out as the lowercase resource name with spaces replaced by hyphens. Renaming a resource doesn’t update its slug, so check the current value rather than working it out from the name.</p>
<p>Once it’s saved, take note of the audience shown on the OIDC identity. This is the service account’s ID, and it’s what the CLI needs to log in.</p>
</li>
<li>
<p>Create the Generic OIDC account</p>
<p>Create a new Generic OIDC account called “Octopus Loopback” with these settings:</p>
<ul>
<li><strong>Deployments &#x26; Runbooks subject claim:</strong> <code>Space</code> and <code>Runbook</code></li>
<li><strong>Audience:</strong> the audience value from the OIDC identity</li>
</ul>
<div class="hint"><p>The script uses <code>Octopus.Web.ServerUri</code> to log in and to build the link in the Slack message. Octopus Cloud always sets this. On a self-hosted instance, check that <strong>Configuration > Settings > Web Portal</strong> has an HTTPS server URI that’s accessible from the worker where the runbook runs, otherwise, the CLI login will fail.</p></div>
</li>
</ol>
<h4 id="slack-user-mapping">Slack user mapping</h4>
<p>We need a way to go from “Octopus user” to “Slack user” so we can <code>@mention</code> the right people. A library variable set called <strong>Slack Users</strong> does the trick - the variable names are email addresses and the values are Slack user IDs:</p>
<div class="table-wrap">




















<table><thead><tr><th align="left">Variable Name (Email)</th><th align="left">Value (Slack User ID)</th></tr></thead><tbody><tr><td align="left"><code>ben.pearce@octopus.com</code></td><td align="left"><code>U7PE3KF16</code></td></tr><tr><td align="left"><code>annie.developer@example.com</code></td><td align="left"><code>U0BT5BU5GS0</code></td></tr><tr><td align="left"><code>bob.tester@example.com</code></td><td align="left"><code>U0BT1LU7W5Q</code></td></tr></tbody></table></div>
<p>The script in the runbook will find each user’s email and then try to find a Slack User ID to add to the message, failing that it will just use the Display Name.</p>
<h3 id="project-variables-for-extracting-details">Project variables for extracting details</h3>
<p>When the webhook trigger is fired, the request payload is available via the built-in variable <code>Octopus.WebhookTrigger.RequestBody</code>. From there, it’s a matter of fishing out what we need using JSON path notation and a sprinkle of Octostache filter syntax:</p>
<div class="table-wrap">




























































<table><thead><tr><th align="left">Variable</th><th align="left">Value</th></tr></thead><tbody><tr><td align="left"><code>Event</code></td><td align="left"><code>#{Octopus.WebhookTrigger.RequestBody.Payload.Event}</code></td></tr><tr><td align="left"><code>SpaceId</code></td><td align="left"><code>#{Event.SpaceId}</code></td></tr><tr><td align="left"><code>DocumentContext</code></td><td align="left"><code>#{Event.ChangeDetails.DocumentContext}</code></td></tr><tr><td align="left"><code>ResponsibleTeams</code></td><td align="left"><code>#{DocumentContext.ResponsibleTeamIds}</code></td></tr><tr><td align="left"><code>RelatedDocumentIds</code></td><td align="left"><code>#{DocumentContext.RelatedDocumentIds}</code></td></tr><tr><td align="left"><code>DeploymentId</code></td><td align="left"><code>#{each item in RelatedDocumentIds}#{if item | StartsWith Deployments-}#{item}#{/if}#{/each}</code></td></tr><tr><td align="left"><code>RunbookRunId</code></td><td align="left"><code>#{each item in RelatedDocumentIds}#{if item | StartsWith RunbookRuns-}#{item}#{/if}#{/each}</code></td></tr><tr><td align="left"><code>ProjectId</code></td><td align="left"><code>#{each item in RelatedDocumentIds}#{if item | StartsWith Projects-}#{item}#{/if}#{/each}</code></td></tr><tr><td align="left"><code>EnvironmentId</code></td><td align="left"><code>#{each item in RelatedDocumentIds}#{if item | StartsWith Environments-}#{item}#{/if}#{/each}</code></td></tr><tr><td align="left"><code>ServerTaskId</code></td><td align="left"><code>#{each item in RelatedDocumentIds}#{if item | StartsWith ServerTasks-}#{item}#{/if}#{/each}</code></td></tr><tr><td align="left"><code>IsDeployment</code></td><td align="left"><code>#{if DeploymentId}true#{else}false#{/if}</code></td></tr><tr><td align="left"><code>IsRunbook</code></td><td align="left"><code>#{if RunbookRunId}true#{else}false#{/if}</code></td></tr><tr><td align="left"><code>OctopusAccount</code></td><td align="left">Octopus Loopback (Generic OIDC Account type)</td></tr></tbody></table></div>
<p>Those JSON paths are a mouthful!
The <code>DeploymentId</code> and <code>RunbookRunId</code> variables are doing the heavy lifting - they loop over <code>RelatedDocumentIds</code> and use the <code>StartsWith</code> filter to sniff out whether this interruption came from a deployment or a runbook run. This lets the Slack message include the right context so people know what they’re clicking into.</p>
<p>If your project has a deployment process or other runbooks, each of these variables can be scoped to the runbook.</p>
<h3 id="runbook-process">Runbook process</h3>
<p>The runbook itself is fairly simple - just two real steps:</p>
<p><strong>Step 1: Get Details</strong> - A script step that uses the Octopus CLI, authenticates back to the instance using our loopback account, and starts rummaging through team membership. For each responsible team, it grabs the members, looks up their Slack IDs, and stitches together the notification message. The result gets stashed as an output variable.
See the <a href="#getting-the-octopus-cli-on-the-worker">Getting the Octopus CLI on the worker</a> section to ensure the CLI is available for this step.</p>
<p><strong>Step 2: Send a Slack Message</strong> - The built-in Slack step picks up the message via <code>#{Octopus.Action[Get Details].Output.Message}</code> and fires it off to the channel. No fuss, no custom integrations, just a step that does exactly what it says on the tin.</p>
<details data-group="code">
<summary>Bash</summary>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#008000"># Authenticate the CLI back to this Octopus instance. The OIDC token is</span></span>
<span class="line"><span style="color:#008000"># issued to the service account for the life of the runbook run, so there is</span></span>
<span class="line"><span style="color:#008000"># no API key to store anywhere.</span></span>
<span class="line"><span style="color:#795E26">octopus</span><span style="color:#A31515"> login</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#0000FF">    --server</span><span style="color:#A31515"> "$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "Octopus.Web.ServerUri")"</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#0000FF">    --service-account-id</span><span style="color:#A31515"> "$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "OctopusAccount.Audience")"</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#0000FF">    --id-token</span><span style="color:#A31515"> "$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "OctopusAccount.OpenIdConnect.Jwt")"</span><span style="color:#EE0000"> \</span></span>
<span class="line"><span style="color:#0000FF">    --no-prompt</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Project variables, already extracted from the webhook payload</span></span>
<span class="line"><span style="color:#001080">spaceId</span><span style="color:#000000">=$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "SpaceId"</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">projectId</span><span style="color:#000000">=$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "ProjectId"</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">environmentId</span><span style="color:#000000">=$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "EnvironmentId"</span><span style="color:#000000">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># get the names to use in the message</span></span>
<span class="line"><span style="color:#001080">executionName</span><span style="color:#000000">=$(</span><span style="color:#795E26">octopus</span><span style="color:#A31515"> api</span><span style="color:#A31515"> /api/</span><span style="color:#001080">$spaceId</span><span style="color:#A31515">/projects/</span><span style="color:#001080">$projectId</span><span style="color:#000000"> | </span><span style="color:#795E26">jq</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> '.Name'</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">environmentName</span><span style="color:#000000">=$(</span><span style="color:#795E26">octopus</span><span style="color:#A31515"> api</span><span style="color:#A31515"> /api/</span><span style="color:#001080">$spaceId</span><span style="color:#A31515">/environments/</span><span style="color:#001080">$environmentId</span><span style="color:#000000"> | </span><span style="color:#795E26">jq</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> '.Name'</span><span style="color:#000000">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># An interruption can come from a deployment or a runbook run</span></span>
<span class="line"><span style="color:#001080">resourceType</span><span style="color:#000000">=</span><span style="color:#A31515">"deployment"</span></span>
<span class="line"><span style="color:#AF00DB">if</span><span style="color:#000000"> [[ $(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "IsRunbook"</span><span style="color:#000000">) == </span><span style="color:#A31515">"true"</span><span style="color:#000000"> ]]; </span><span style="color:#AF00DB">then</span></span>
<span class="line"><span style="color:#001080">    resourceType</span><span style="color:#000000">=</span><span style="color:#A31515">"runbook"</span></span>
<span class="line"><span style="color:#001080">    runbookRunId</span><span style="color:#000000">=$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "RunbookRunId"</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">    runbookId</span><span style="color:#000000">=$(</span><span style="color:#795E26">octopus</span><span style="color:#A31515"> api</span><span style="color:#A31515"> /api/</span><span style="color:#001080">$spaceId</span><span style="color:#A31515">/runbookRuns/</span><span style="color:#001080">$runbookRunId</span><span style="color:#000000"> | </span><span style="color:#795E26">jq</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> '.RunbookId'</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">    executionName</span><span style="color:#000000">=$(</span><span style="color:#795E26">octopus</span><span style="color:#A31515"> api</span><span style="color:#A31515"> /api/</span><span style="color:#001080">$spaceId</span><span style="color:#A31515">/runbooks/</span><span style="color:#001080">$runbookId</span><span style="color:#000000"> | </span><span style="color:#795E26">jq</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> '.Name'</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#AF00DB">fi</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Deep link straight to the task in the Octopus web UI</span></span>
<span class="line"><span style="color:#001080">taskUrl</span><span style="color:#000000">=</span><span style="color:#A31515">"$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "Octopus.Web.ServerUri")/app#/</span><span style="color:#001080">$spaceId</span><span style="color:#A31515">/tasks/$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "ServerTaskId")"</span></span>
<span class="line"><span style="color:#001080">message</span><span style="color:#000000">=</span><span style="color:#A31515">"Manual intervention required for &#x3C;</span><span style="color:#001080">$taskUrl</span><span style="color:#A31515">|</span><span style="color:#001080">$resourceType</span><span style="color:#A31515">> for *</span><span style="color:#001080">$executionName</span><span style="color:#A31515">* to *</span><span style="color:#001080">$environmentName</span><span style="color:#A31515">*"</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Fetch the users once, rather than an API call per team member</span></span>
<span class="line"><span style="color:#001080">users</span><span style="color:#000000">=$(</span><span style="color:#795E26">octopus</span><span style="color:#A31515"> api</span><span style="color:#A31515"> "/api/users?take=2147483647"</span><span style="color:#000000">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#001080">teams</span><span style="color:#000000">=$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "ResponsibleTeams"</span><span style="color:#000000">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Someone can be in more than one responsible team - only mention them once</span></span>
<span class="line"><span style="color:#0000FF">declare</span><span style="color:#0000FF"> -A</span><span style="color:#001080"> seenUsers</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Loop over each responsible team</span></span>
<span class="line"><span style="color:#AF00DB">while</span><span style="color:#795E26"> read</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> teamId</span><span style="color:#000000">; </span><span style="color:#AF00DB">do</span></span>
<span class="line"><span style="color:#008000">    # Loop over each member of that team</span></span>
<span class="line"><span style="color:#AF00DB">    while</span><span style="color:#795E26"> read</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> userId</span><span style="color:#000000">; </span><span style="color:#AF00DB">do</span></span>
<span class="line"><span style="color:#000000">        [[ -n </span><span style="color:#A31515">"${</span><span style="color:#001080">seenUsers</span><span style="color:#A31515">[</span><span style="color:#001080">$userId</span><span style="color:#A31515">]+</span><span style="color:#001080">x</span><span style="color:#A31515">}"</span><span style="color:#000000"> ]] &#x26;&#x26; </span><span style="color:#AF00DB">continue</span></span>
<span class="line"><span style="color:#001080">        seenUsers</span><span style="color:#000000">[</span><span style="color:#001080">$userId</span><span style="color:#000000">]=</span><span style="color:#A31515">1</span></span>
<span class="line"></span>
<span class="line"><span style="color:#001080">        user</span><span style="color:#000000">=$(</span><span style="color:#795E26">echo</span><span style="color:#A31515"> "</span><span style="color:#001080">$users</span><span style="color:#A31515">"</span><span style="color:#000000"> | </span><span style="color:#795E26">jq</span><span style="color:#A31515"> ".Items[] | select(.Id == </span><span style="color:#EE0000">\"</span><span style="color:#001080">$userId</span><span style="color:#EE0000">\"</span><span style="color:#A31515">)"</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">        displayName</span><span style="color:#000000">=$(</span><span style="color:#795E26">echo</span><span style="color:#A31515"> "</span><span style="color:#001080">$user</span><span style="color:#A31515">"</span><span style="color:#000000"> | </span><span style="color:#795E26">jq</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> '.DisplayName'</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#001080">        email</span><span style="color:#000000">=$(</span><span style="color:#795E26">echo</span><span style="color:#A31515"> "</span><span style="color:#001080">$user</span><span style="color:#A31515">"</span><span style="color:#000000"> | </span><span style="color:#795E26">jq</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> '.EmailAddress'</span><span style="color:#000000">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000">        # Try getting the Slack UserId from the map</span></span>
<span class="line"><span style="color:#008000">        # Fall back to the display name when there is no mapping.</span></span>
<span class="line"><span style="color:#001080">        slackUserId</span><span style="color:#000000">=$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "</span><span style="color:#001080">$email</span><span style="color:#A31515">"</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#AF00DB">        if</span><span style="color:#000000"> [[ -z </span><span style="color:#A31515">"</span><span style="color:#001080">$slackUserId</span><span style="color:#A31515">"</span><span style="color:#000000"> ]]; </span><span style="color:#AF00DB">then</span></span>
<span class="line"><span style="color:#001080">            message</span><span style="color:#000000">+=</span><span style="color:#A31515">$'</span><span style="color:#EE0000">\n</span><span style="color:#A31515">'"${</span><span style="color:#001080">displayName</span><span style="color:#A31515">}"</span></span>
<span class="line"><span style="color:#AF00DB">        else</span></span>
<span class="line"><span style="color:#001080">            message</span><span style="color:#000000">+=</span><span style="color:#A31515">$'</span><span style="color:#EE0000">\n</span><span style="color:#A31515">'"&#x3C;@${</span><span style="color:#001080">slackUserId</span><span style="color:#A31515">}>"</span></span>
<span class="line"><span style="color:#AF00DB">        fi</span></span>
<span class="line"><span style="color:#AF00DB">    done</span><span style="color:#000000"> &#x3C; </span><span style="color:#A31515">&#x3C;(</span><span style="color:#795E26">octopus</span><span style="color:#A31515"> api "/api/teams/</span><span style="color:#001080">$teamId</span><span style="color:#A31515">" </span><span style="color:#000000">|</span><span style="color:#795E26"> jq</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> '.MemberUserIds[]')</span></span>
<span class="line"><span style="color:#AF00DB">done</span><span style="color:#000000"> &#x3C; </span><span style="color:#A31515">&#x3C;(</span><span style="color:#795E26">echo</span><span style="color:#A31515"> "</span><span style="color:#001080">$teams</span><span style="color:#A31515">" </span><span style="color:#000000">|</span><span style="color:#795E26"> jq</span><span style="color:#0000FF"> -r</span><span style="color:#A31515"> '.[]')</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Hand the finished message to the Slack step</span></span>
<span class="line"><span style="color:#795E26">set_octopusvariable</span><span style="color:#A31515"> "Message"</span><span style="color:#A31515"> "</span><span style="color:#001080">$message</span><span style="color:#A31515">"</span></span></code></pre>
</details>
<details data-group="code">
<summary>PowerShell</summary>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="powershell"><code><span class="line"><span style="color:#008000"># Authenticate the CLI back to this Octopus instance. The OIDC token is</span></span>
<span class="line"><span style="color:#008000"># issued to the service account for the life of the runbook run, so there is</span></span>
<span class="line"><span style="color:#008000"># no API key to store anywhere.</span></span>
<span class="line"><span style="color:#000000">&#x26; octopus login `</span></span>
<span class="line"><span style="color:#000000">    --server </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"Octopus.Web.ServerUri"</span><span style="color:#000000">] `</span></span>
<span class="line"><span style="color:#000000">    --service-account-id </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"OctopusAccount.Audience"</span><span style="color:#000000">] `</span></span>
<span class="line"><span style="color:#000000">    --id-token </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"OctopusAccount.OpenIdConnect.Jwt"</span><span style="color:#000000">] `</span></span>
<span class="line"><span style="color:#000000">    --no-prompt</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Project variables, already extracted from the webhook payload</span></span>
<span class="line"><span style="color:#001080">$spaceId</span><span style="color:#000000"> = </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"SpaceId"</span><span style="color:#000000">]</span></span>
<span class="line"><span style="color:#001080">$projectId</span><span style="color:#000000"> = </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"ProjectId"</span><span style="color:#000000">]</span></span>
<span class="line"><span style="color:#001080">$environmentId</span><span style="color:#000000"> = </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"EnvironmentId"</span><span style="color:#000000">]</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># get the names to use in the message</span></span>
<span class="line"><span style="color:#001080">$executionName</span><span style="color:#000000"> = (&#x26; octopus api /api/</span><span style="color:#001080">$spaceId</span><span style="color:#000000">/projects/</span><span style="color:#001080">$projectId</span><span style="color:#000000"> | </span><span style="color:#795E26">ConvertFrom-Json</span><span style="color:#000000">).Name</span></span>
<span class="line"><span style="color:#001080">$environmentName</span><span style="color:#000000"> = (&#x26; octopus api /api/</span><span style="color:#001080">$spaceId</span><span style="color:#000000">/environments/</span><span style="color:#001080">$environmentId</span><span style="color:#000000"> | </span><span style="color:#795E26">ConvertFrom-Json</span><span style="color:#000000">).Name</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># An interruption can come from a deployment or a runbook run</span></span>
<span class="line"><span style="color:#001080">$resourceType</span><span style="color:#000000"> = </span><span style="color:#A31515">"deployment"</span></span>
<span class="line"><span style="color:#AF00DB">if</span><span style="color:#000000"> (</span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"IsRunbook"</span><span style="color:#000000">] -eq </span><span style="color:#A31515">"true"</span><span style="color:#000000">) {</span></span>
<span class="line"><span style="color:#001080">    $resourceType</span><span style="color:#000000"> = </span><span style="color:#A31515">"runbook"</span></span>
<span class="line"><span style="color:#001080">    $runbookRunId</span><span style="color:#000000"> = </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"RunbookRunId"</span><span style="color:#000000">]</span></span>
<span class="line"><span style="color:#001080">    $runbookId</span><span style="color:#000000"> = (&#x26; octopus api /api/</span><span style="color:#001080">$spaceId</span><span style="color:#000000">/runbookRuns/</span><span style="color:#001080">$runbookRunId</span><span style="color:#000000"> | </span><span style="color:#795E26">ConvertFrom-Json</span><span style="color:#000000">).RunbookId</span></span>
<span class="line"><span style="color:#001080">    $executionName</span><span style="color:#000000"> = (&#x26; octopus api /api/</span><span style="color:#001080">$spaceId</span><span style="color:#000000">/runbooks/</span><span style="color:#001080">$runbookId</span><span style="color:#000000"> | </span><span style="color:#795E26">ConvertFrom-Json</span><span style="color:#000000">).Name</span></span>
<span class="line"><span style="color:#000000">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Deep link straight to the task in the Octopus web UI</span></span>
<span class="line"><span style="color:#001080">$taskUrl</span><span style="color:#000000"> = </span><span style="color:#A31515">"</span><span style="color:#0000FF">$(</span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000FF">[</span><span style="color:#A31515">"Octopus.Web.ServerUri"</span><span style="color:#000000FF">]</span><span style="color:#0000FF">)</span><span style="color:#A31515">/app#/</span><span style="color:#001080">$spaceId</span><span style="color:#A31515">/tasks/</span><span style="color:#0000FF">$(</span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000FF">[</span><span style="color:#A31515">"ServerTaskId"</span><span style="color:#000000FF">]</span><span style="color:#0000FF">)</span><span style="color:#A31515">"</span></span>
<span class="line"><span style="color:#001080">$message</span><span style="color:#000000"> = </span><span style="color:#A31515">"Manual intervention required for &#x3C;</span><span style="color:#001080">$taskUrl</span><span style="color:#A31515">|</span><span style="color:#001080">$resourceType</span><span style="color:#A31515">> for *</span><span style="color:#001080">$executionName</span><span style="color:#A31515">* to *</span><span style="color:#001080">$environmentName</span><span style="color:#A31515">*"</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Fetch the users once, rather than an API call per team member</span></span>
<span class="line"><span style="color:#001080">$users</span><span style="color:#000000"> = &#x26; octopus api </span><span style="color:#A31515">"/api/users?take=2147483647"</span><span style="color:#000000"> | </span><span style="color:#795E26">ConvertFrom-Json</span></span>
<span class="line"></span>
<span class="line"><span style="color:#001080">$teams</span><span style="color:#000000"> = </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#A31515">"ResponsibleTeams"</span><span style="color:#000000">] | </span><span style="color:#795E26">ConvertFrom-Json</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Someone can be in more than one responsible team - only mention them once</span></span>
<span class="line"><span style="color:#001080">$seenUsers</span><span style="color:#000000"> = </span><span style="color:#0000FF">@</span><span style="color:#000000">{}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Loop over each responsible team</span></span>
<span class="line"><span style="color:#AF00DB">foreach</span><span style="color:#000000"> (</span><span style="color:#001080">$teamId</span><span style="color:#AF00DB"> in</span><span style="color:#001080"> $teams</span><span style="color:#000000">) {</span></span>
<span class="line"><span style="color:#001080">    $teamData</span><span style="color:#000000"> = &#x26; octopus api /api/teams/</span><span style="color:#001080">$teamId</span><span style="color:#000000"> | </span><span style="color:#795E26">ConvertFrom-Json</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000">    # Loop over each member of that team</span></span>
<span class="line"><span style="color:#AF00DB">    foreach</span><span style="color:#000000"> (</span><span style="color:#001080">$userId</span><span style="color:#AF00DB"> in</span><span style="color:#001080"> $teamData</span><span style="color:#795E26">.MemberUserIds</span><span style="color:#000000">) {</span></span>
<span class="line"><span style="color:#AF00DB">        if</span><span style="color:#000000"> (</span><span style="color:#001080">$seenUsers</span><span style="color:#795E26">.ContainsKey</span><span style="color:#000000">(</span><span style="color:#001080">$userId</span><span style="color:#000000">)) { </span><span style="color:#AF00DB">continue</span><span style="color:#000000"> }</span></span>
<span class="line"><span style="color:#001080">        $seenUsers</span><span style="color:#000000">[</span><span style="color:#001080">$userId</span><span style="color:#000000">] = </span><span style="color:#0000FF">$true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#001080">        $user</span><span style="color:#000000"> = </span><span style="color:#001080">$users</span><span style="color:#795E26">.Items</span><span style="color:#000000"> | </span><span style="color:#795E26">Where-Object</span><span style="color:#000000"> { </span><span style="color:#001080">$_</span><span style="color:#795E26">.Id</span><span style="color:#000000"> -eq </span><span style="color:#001080">$userId</span><span style="color:#000000"> }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000">        # Try getting the Slack UserId from the map</span></span>
<span class="line"><span style="color:#008000">        # Fall back to the display name when there is no mapping.</span></span>
<span class="line"><span style="color:#001080">        $slackUserId</span><span style="color:#000000"> = </span><span style="color:#001080">$OctopusParameters</span><span style="color:#000000">[</span><span style="color:#001080">$user</span><span style="color:#795E26">.EmailAddress</span><span style="color:#000000">]</span></span>
<span class="line"><span style="color:#AF00DB">        if</span><span style="color:#000000"> (-not </span><span style="color:#001080">$slackUserId</span><span style="color:#000000">) {</span></span>
<span class="line"><span style="color:#001080">            $message</span><span style="color:#000000"> += </span><span style="color:#A31515">"</span><span style="color:#EE0000">`n</span><span style="color:#0000FF">$(</span><span style="color:#001080">$user</span><span style="color:#795E26">.DisplayName</span><span style="color:#0000FF">)</span><span style="color:#A31515">"</span></span>
<span class="line"><span style="color:#000000">        } </span><span style="color:#AF00DB">else</span><span style="color:#000000"> {</span></span>
<span class="line"><span style="color:#001080">            $message</span><span style="color:#000000"> += </span><span style="color:#A31515">"</span><span style="color:#EE0000">`n</span><span style="color:#A31515">&#x3C;@</span><span style="color:#001080">$slackUserId</span><span style="color:#A31515">>"</span></span>
<span class="line"><span style="color:#000000">        }</span></span>
<span class="line"><span style="color:#000000">    }</span></span>
<span class="line"><span style="color:#000000">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Hand the finished message to the Slack step</span></span>
<span class="line"><span style="color:#795E26">Set-OctopusVariable</span><span style="color:#000000"> -Name </span><span style="color:#A31515">"Message"</span><span style="color:#000000"> -Value </span><span style="color:#001080">$message</span></span></code></pre>
</details>
<h3 id="getting-the-octopus-cli-on-the-worker">Getting the Octopus CLI on the worker</h3>
<p>Before you can run this, you will need to ensure that the Octopus CLI is available on the worker. There are a few ways to achieve this:</p>
<ol>
<li>
<p>Use the Octopus Worker Tools execution container</p>
<p>This will require configuring a <a href="https://octopus.com/docs/packaging-applications/package-repositories/guides/container-registries/docker-hub/#adding-docker-hub-as-an-octopus-external-feed">Docker Feed</a>, then configuring the script step to <a href="https://octopus.com/docs/projects/steps/execution-containers-for-workers/#how-to-use-execution-containers-for-workers">run inside the Worker Tools container</a>.</p>
<div class="warning"><p>The script uses the octopus <code>api</code> command, which was added in Octopus CLI 2.21.0. Use the octopusdeploy/worker-tools<ubuntu></ubuntu>.24.04 image or later. The older ubuntu.22.04 image only ships with CLI version 2.20.1.</p></div>
</li>
<li>
<p>Install the Octopus CLI on your worker, and ensure it is in the system path.</p>
<p>This might not be possible, for example, the dynamic workers on Octopus Cloud do not have this installed.</p>
</li>
<li>
<p>Upload the CLI as a package to the built-in feed.</p>
<p>Download the appropriate architecture archive file from a <a href="https://github.com/OctopusDeploy/cli/releases/tag/v2.26.0">CLI release</a>, rename it to the appropriate format, such as <code>octopus.2.26.0.zip</code> or <code>octopus.2.26.0.tar.gz</code>, and upload it to the built-in feed.</p>
<p>Reference this package on the step as a referenced dependency, and update the <code>octopus</code> commands in the script to be <code>octopus/octopus</code> because the package will be extracted to a subdirectory using the package id, and add the line at the top of the script <code>chmod +x octopus/octopus</code> if your script will be running on Linux.</p>
</li>
</ol>
<h3 id="testing-it">Testing it</h3>
<p>Following this guide is all well and good, but what if your solution is based on a different event type? The incoming document context is going to be a different shape.</p>
<p>The first thing you should do is configure your subscription, runbook, and trigger. Put a single script step in your runbook process that writes out the webhook payload to the log file:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#001080">body</span><span style="color:#000000">=$(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "Octopus.WebhookTrigger.RequestBody"</span><span style="color:#000000">)</span></span>
<span class="line"><span style="color:#795E26">echo</span><span style="color:#A31515"> "</span><span style="color:#001080">$body</span><span style="color:#A31515">"</span></span></code></pre>
<p>Publish the runbook and wait for an event to be raised.</p>
<p>Once you have your sample payload, disable the trigger, create a new project variable called <code>Octopus.WebhookTrigger.RequestBody</code>, and set its value to the payload from the task log.</p>
<p>Once you have this in place, you can use the Variable Test page, under <em>Variable Preview</em>, to test the output of your various variable expressions.</p>
<figure><p><img src="/blog/i/x/features-to-solutions/variable-preview.png" alt="Variable preview" loading="lazy" srcset="/blog/i/600/features-to-solutions/variable-preview.webp 600w, /blog/i/1000/features-to-solutions/variable-preview.webp 1000w, /blog/i/2000/features-to-solutions/variable-preview.webp 1019w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1019" height="829"></p></figure>
<h3 id="final-step">Final step</h3>
<p>This is an <strong>important</strong> step: before you can use the runbook you have built, it will need to be published, similar to making a release for a deployment. Both the webhook trigger and the scheduled trigger will only run the published version of a runbook.</p>
<p>The <strong>Publish</strong> button is available on the Runbook Runs page or the task page of a successfully run.</p>
<h3 id="the-result">The result</h3>
<p>The updated message that we end up with after this is simple but includes the details and calls out the users directly in Slack. Including the deployment link, project name, environment, and responsible users makes it a huge difference to the original message.</p>
<figure><p><img src="/blog/i/x/features-to-solutions/slack-custom-message.png" alt="Custom generated Slack message" loading="lazy" srcset="/blog/i/600/features-to-solutions/slack-custom-message.webp 600w, /blog/i/1000/features-to-solutions/slack-custom-message.webp 604w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="604" height="160"></p></figure>
<h2 id="conclusion">Conclusion</h2>
<p>Most of the features outlined in this post aren’t big on their own. A subscription raises an event, a webhook trigger starts a runbook, a few variables rummage through the payload, and a script step and the built-in Slack step do the rest. Together, they turn a manual intervention from something that sits quietly in a corner of the Octopus UI, waiting for someone to notice it, into a Slack message that taps the right people on the shoulder.</p>
<p>The same pattern works well beyond manual interventions. Any event a subscription can raise can now start a runbook, so the next time you find yourself wishing Octopus would just <em>do something</em> when an event happens, have a poke around the features you already have before reaching for a new tool. There may be a solution hiding in plain sight, like a pending manual intervention.</p>
<p>If you need some inspiration, here are a few events that would suit the same pattern:</p>
<ul>
<li><strong>Guided failure:</strong> This is the manual intervention’s slightly more stressed-out cousin. It uses the same interruption payload, so the runbook in this post needs little more than a more urgent message.</li>
<li><strong>Deployment failed:</strong> Rather than waking up the whole channel, look up the commits in the release and politely tap the people who made the changes.</li>
<li><strong>Certificate expiring:</strong> Renew the certificate, upload it to Octopus, and redeploy anything that uses it, long before anyone notices the padlock has gone missing.</li>
<li><strong>Production deployment succeeded:</strong> Post the release notes, update the status page, and move the linked tickets to done, so the fun part of shipping doesn’t come with a pile of admin.</li>
<li><strong>Approvals integration with an ITSM system:</strong> Use our upcoming approvals feature to raise Change Requests with an ITSM system that Octopus doesn’t current support out of the box, such as BMC Helix or ZenDesk. Look out for a future blog post on this topic.</li>
</ul>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>Introducing the pipeline explorer</title>
      <link href="https://octopus.com/blog/create-a-pipeline-explorer" />
      <id>https://octopus.com/blog/create-a-pipeline-explorer</id>
      <published>2026-10-23</published>
      <updated>2026-10-23</updated>
      <summary>The pipeline explorer shows you your project's pipeline, its dependencies, and anything that needs fixing, all in one place.</summary>
      <author>
        <name>Jed Lehmann, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>The first time you open an unfamiliar Octopus project (inheriting it, joining a new team, or exploring a corner of your own instance you haven’t touched before), you’re looking at someone else’s decisions with none of the context that went into making them. Real projects pick up channels, triggers, approvals, and a growing list of targets over time.</p>
<p>The pipeline explorer brings a project’s configuration together in one place. It helps you understand how an Octopus project works, on one page.</p>
<p>It’s built for anyone who’s new to a project: joining a team, inheriting ownership, or exploring an unfamiliar corner of their own instance.</p>
<p>It visualizes your deployment pipeline and deployment process as workflow diagrams, showing you how a release gets triggered and how it moves through your environments depending on the channel.</p>
<h2 id="what-the-pipeline-explorer-does">What the pipeline explorer does</h2>
<h3 id="1-pipeline-visualization">1. Pipeline visualization</h3>
<p>The pipeline explorer presents your project’s deployment pipeline and deployment process as workflow diagrams. Seeing them visually lets you understand how a release is triggered and how it moves through your environments, without piecing that together from separate tabs.</p>
<figure>
<p><img src="/blog/i/x/create-a-pipeline-explorer/pipeline-visualization.png" alt="Pipeline explorer showing a Git trigger automatically deploying to Staging, then a manual ServiceNow approval before a frozen Production environment" loading="lazy" srcset="/blog/i/600/create-a-pipeline-explorer/pipeline-visualization.webp 600w, /blog/i/1000/create-a-pipeline-explorer/pipeline-visualization.webp 1000w, /blog/i/2000/create-a-pipeline-explorer/pipeline-visualization.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2878" height="736"></p>
</figure>
<h3 id="2-process-visualization">2. Process visualization</h3>
<p>A project’s deployment process depends on settings that live outside its process, like lifecycles, deployment targets, credentials, and approvals. The pipeline explorer surfaces these connections directly, so you don’t need to already know where each one lives.</p>
<figure>
<p><img src="/blog/i/x/create-a-pipeline-explorer/process-visualization.png" alt="Pipeline explorer showing a deployment process step linked to its package, Git artifact, an expiring credential, and Kubernetes targets with health status" loading="lazy" srcset="/blog/i/600/create-a-pipeline-explorer/process-visualization.webp 600w, /blog/i/1000/create-a-pipeline-explorer/process-visualization.webp 1000w, /blog/i/2000/create-a-pipeline-explorer/process-visualization.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3120" height="744"></p>
</figure>
<h3 id="3-configuration-issues">3. Configuration issues</h3>
<p>The pipeline explorer flags conditions that could affect an upcoming deployment directly in the view where you’re already looking.</p>
<figure>
<p><img src="/blog/i/x/create-a-pipeline-explorer/configuration-issues.png" alt="Kubernetes targets in the pipeline explorer flagged as Unhealthy, Warning, and Healthy" loading="lazy" srcset="/blog/i/600/create-a-pipeline-explorer/configuration-issues.webp 600w, /blog/i/1000/create-a-pipeline-explorer/configuration-issues.webp 1000w, /blog/i/2000/create-a-pipeline-explorer/configuration-issues.webp 1040w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1040" height="544"></p>
</figure>
<h2 id="what-it-doesnt-do">What it doesn’t do</h2>
<p>The pipeline explorer doesn’t replace your existing process, variables, or settings pages. It’s a new view built on top of the same data, not a redesign of how you configure a project. Think of it as a project map.</p>
<h2 id="try-it">Try it</h2>
<p>Open any project and select <strong>Pipeline explorer</strong> from the navigation to see it for yourself. Next time you visit an unfamiliar project, this is where you’ll want to start.</p>
<p><a href="https://octopus.com/docs/projects/pipeline-explorer">Read the docs</a> for more details.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>Multi-node support for Polling Tentacles</title>
      <link href="https://octopus.com/blog/multi-node-polling-tentacles" />
      <id>https://octopus.com/blog/multi-node-polling-tentacles</id>
      <published>2026-10-21</published>
      <updated>2026-10-21</updated>
      <summary>Polling Tentacles can now connect to any node in a self-hosted Octopus High Availability cluster through a single load-balanced address.</summary>
      <author>
        <name>Luke Butters, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>Polling Tentacles no longer need to poll every Octopus Server node in a self-hosted High Availability (HA) cluster. In the next GA release of 2026.4, Polling Tentacles can poll a single address instead.</p>
<p>Polling Tentacles connect out to Octopus Server, so you don’t need to open inbound firewall ports to reach them like you do for Listening Tentacles. That keeps your architecture simpler and more secure. However, if you run Octopus Server across multiple nodes and use Polling Tentacles, every Tentacle has to know about every node. Add a node, and you need to update every Tentacle. Remove a node, and you need to update them all again. With hundreds or thousands of Tentacles, that’s a lot of work just to resize your cluster.</p>
<p>Multi-node support for Polling Tentacles removes that restriction.</p>
<h2 id="why-every-tentacle-had-to-poll-every-node">Why every Tentacle had to poll every node</h2>
<p>A Polling Tentacle connects to Octopus Server and asks, “Do you have any work for me?”</p>
<p>In an HA cluster, any node can pick up a task. When a node runs a deployment that needs a Polling Tentacle, that node holds the work for that Tentacle. The Tentacle must poll that specific node to collect the work.</p>
<p>If the Tentacle is polling a different node, it never sees the work, and the deployment times out.</p>
<p>That’s why <a href="https://octopus.com/docs/administration/high-availability/polling-tentacles-with-ha/poll-every-node">the guidance for Polling Tentacles with HA</a> has previously been to configure each Tentacle to poll every HA node.</p>
<p>This would also prevent the use of a load balancer with Polling Tentacles. The load balancer could send the Tentacle to any node, which might not be the one holding its work.</p>
<h2 id="what-changed-in-octopus-server-202646909">What changed in Octopus Server 2026.4.6909</h2>
<p>With multi-node support for Polling Tentacles, the nodes share a single queue of pending requests. The queue lives in Redis, a shared in-memory data store.</p>
<p>When a node needs a Polling Tentacle to perform an action, it puts the request in Redis. When the Tentacle polls a node for work, that node collects the Tentacle’s next request from Redis. The Tentacle’s response goes back through Redis to the node that originally queued the work.</p>
<p>Thus, it no longer matters which node a Tentacle connects to. Each Tentacle only needs to poll one address, and that address can be a load balancer that spreads Tentacles across all the nodes.</p>
<p>This feature has been in use in <a href="https://octopus.com/docs/octopus-cloud">Octopus Cloud</a> for some time. We’re now making it available for self-hosted customers.</p>
<p>A few details are worth knowing:</p>
<ul>
<li>Octopus encrypts messages with your <a href="https://octopus.com/docs/security/data-encryption">Master Key</a> before storing them in Redis.</li>
<li>To keep Redis memory usage low, Octopus writes larger files, such as packages, to the <a href="https://octopus.com/docs/administration/high-availability/polling-tentacles-with-ha/multi-node-polling-tentacles#cluster-shared-storage">cluster shared directory</a> so every node can read them.</li>
<li>A Tentacle’s <strong>Connectivity</strong> page now shows communication logs from every active node, not just the node your browser is connected to.</li>
<li>This change doesn’t affect Listening Tentacles, which Octopus Server connects to directly.</li>
</ul>
<h2 id="what-you-need">What you need</h2>
<p>To use multi-node support for Polling Tentacles, you need:</p>
<ul>
<li><strong>Octopus Server 2026.4.6909 or later</strong> installed on every node in the HA cluster</li>
<li><strong>A <a href="https://octopus.com/docs/administration/high-availability/polling-tentacles-with-ha/multi-node-polling-tentacles#redis-requirements">Redis instance</a></strong> that every node can reach, set up as a short-lived queue rather than a database</li>
<li><strong>A <a href="https://octopus.com/docs/administration/high-availability/polling-tentacles-with-ha/multi-node-polling-tentacles#cluster-shared-storage">cluster shared directory</a></strong> that every node can read and write</li>
<li><strong>A <a href="https://octopus.com/docs/administration/high-availability/polling-tentacles-with-ha/multi-node-polling-tentacles#load-balancer">TCP load balancer</a> (optional)</strong> in front of the Polling Tentacle port, so your Tentacles only need one address</li>
</ul>
<p>To get early access before 2026.4 ships, <a href="https://octopus.com/support">contact support</a>.</p>
<h2 id="getting-started">Getting started</h2>
<p>You enable multi-node support for Polling Tentacles by giving each node the same Redis connection string. You can do this from the command line, with an environment variable in the Linux container, or with the <a href="https://octopus.com/docs/administration/high-availability/polling-tentacles-with-ha/multi-node-polling-tentacles#helm-chart">Octopus Deploy Helm chart</a>. The Helm chart can also run Redis and create the load balancer for you.</p>
<p>Once multi-node support for Polling Tentacles is turned on, you can configure Polling Tentacles to connect to one node, all nodes, or anything in between.
You don’t have to reconfigure Tentacles straight away, and you can <a href="https://octopus.com/docs/administration/high-availability/polling-tentacles-with-ha/multi-node-polling-tentacles#register-polling-tentacles">point your Tentacles at a load balancer</a> at your own pace.</p>
<p>The <a href="https://octopus.com/docs/administration/high-availability/polling-tentacles-with-ha/multi-node-polling-tentacles">docs for multi-node support for Polling Tentacles</a> walk you through each step.</p>
<h2 id="conclusion">Conclusion</h2>
<p>Now you can add or remove nodes in your HA cluster without reconfiguring every Tentacle.</p>
<p>If you’re thinking about moving to HA in the first place, read how one customer <a href="https://octopus.com/blog/migrating-to-high-availability-fsi-success-story">migrated to High Availability</a> one safe step at a time.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>Apache Ant Deployments with Octopus</title>
      <link href="https://octopus.com/blog/ant-deployments" />
      <id>https://octopus.com/blog/ant-deployments</id>
      <published>2026-10-20</published>
      <updated>2026-10-20</updated>
      <summary>Learn how to deploy Ant applications using Octopus Deploy</summary>
      <author>
        <name>Matthew Casperson, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>Apache Ant is a Java-based build tool that has been around for over 20 years. Despite its age, Ant is still actively developed and used in many enterprise deployments. Octopus can be used to deploy Ant applications with a few simple steps. This post will demonstrate how to deploy a sample Ant application using Octopus.</p>
<h2 id="prerequisites">Prerequisites</h2>
<p>Download the sample application from <a href="https://github.com/OctopusSolutionsEngineering/ApacheAntExample">this GitHub repository</a>. The <a href="https://github.com/OctopusSolutionsEngineering/ApacheAntExample/releases">releases</a> provide ZIP files that can be uploaded to the Octopus built-in feed:</p>
<p><img src="/blog/i/x/ant-deployments/built-in-feed.png" alt="Built-in feed" loading="lazy" srcset="/blog/i/600/ant-deployments/built-in-feed.webp 600w, /blog/i/1000/ant-deployments/built-in-feed.webp 1000w, /blog/i/2000/ant-deployments/built-in-feed.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3840" height="1930"></p>
<h2 id="preparing-the-ant-tooling">Preparing the Ant tooling</h2>
<p>Ant was first released in 2000 and predates many popular DevOps tools like Docker by many years. While <a href="https://octopus.com/docs/projects/steps/execution-containers-for-workers">execution containers</a> are a great solution for exposing Ant and its dependencies to your Octopus workers, we’ll make the assumption here that teams using Ant may not have implemented Docker in their deployment workflows.</p>
<p>Instead, Ant and its dependencies will be exposed to the Octopus workers by extracting portable versions of Ant and Java into the working directory as a step is executed.</p>
<p>Start by downloading a binary distribution of Ant from the <a href="https://ant.apache.org/bindownload.cgi">Apache Ant website</a>. At the time of writing, the file you will download is called <code>apache-ant-1.10.18-bin.zip</code>.</p>
<p>Octopus requires a strict filename structure for packages uploaded to the built-in feed. The filename must be in the format <code>&#x3C;package-name>.&#x3C;version>.&#x3C;extension></code>. For example, <code>apache-ant.1.10.18.zip</code>. So rename the file you downloaded to <code>apache-ant.1.10.18.zip</code> before uploading it to the built-in feed.</p>
<p>Ant requires a JDK to run. There are many JDK distributions available, but for this example, we’ll use the <a href="https://www.azul.com/downloads/#downloads-table-zulu">Azul Zulu OpenJDK</a> distribution. We’ll assume that the workers are running Windows, so download the ZIP distribution of the JDK. At the time of writing, the file you will download is called <code>zulu27.28.101-ca-jdk27.0.0-win_x64.zip</code>. Rename the file to <code>zulu27.28.101.zip</code> before uploading it to the built-in feed.</p>
<p>You must now have 3 packages in the built-in feed:</p>
<p><img src="/blog/i/x/ant-deployments/all-packages.png" alt="Built-in feed with all packages" loading="lazy" srcset="/blog/i/600/ant-deployments/all-packages.webp 600w, /blog/i/1000/ant-deployments/all-packages.webp 1000w, /blog/i/2000/ant-deployments/all-packages.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3840" height="1930"></p>
<h2 id="running-ant-in-a-deployment-step">Running Ant in a deployment step</h2>
<p>Ant is run as part of a script step in an Octopus deployment. The script step will extract the Ant and JDK packages into the working directory, set the <code>JAVA_HOME</code> environment variable, and append both Ant and Java to the session <code>Path</code> variable. This allows Ant to be executed on a worker without requiring any installation of Ant or Java on the worker itself:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span># 1. Define explicit working directories</span></span>
<span class="line"><span># Note that the Ant and JDK packages include their own versioned subfolders, so we need to include those in the path.</span></span>
<span class="line"><span># The versioned subfolders are unique to the package version, so if you update the package version, you'll need to update the path here as well.</span></span>
<span class="line"><span>$workDir   = Get-Location</span></span>
<span class="line"><span>$antBinDir = "$workDir\apache-ant\apache-ant-1.10.18\bin"</span></span>
<span class="line"><span>$javaDir   = "$workDir\zulu\zulu27.28.101-ca-jdk27.0.0-win_x64"</span></span>
<span class="line"><span></span></span>
<span class="line"><span># 2. Set JAVA_HOME and explicitly append BOTH Java and Ant to the session Path</span></span>
<span class="line"><span>$env:JAVA_HOME = $javaDir</span></span>
<span class="line"><span>$env:Path = "$antBinDir;$javaDir\bin;" + $env:Path</span></span>
<span class="line"><span></span></span>
<span class="line"><span># 3. Verify the binary actually exists where we expect it</span></span>
<span class="line"><span>if (-not (Test-Path "$antBinDir\ant.bat")) {</span></span>
<span class="line"><span>    Write-Error "Could not find ant.bat at: $antBinDir"</span></span>
<span class="line"><span>    Exit 1</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span># 4. Change directory to your app folder</span></span>
<span class="line"><span>cd antdemo</span></span>
<span class="line"><span></span></span>
<span class="line"><span># 5. Run Ant using the call operator (&#x26;) to force PowerShell to resolve the executable path</span></span>
<span class="line"><span>&#x26; ant.bat compile</span></span>
<span class="line"><span>&#x26; ant.bat jar</span></span>
<span class="line"><span>&#x26; ant.bat run</span></span></code></pre>
<p>The three packages (the Ant Demo application, the Ant binary distribution, and the JDK) are included as Referenced Dependencies. This ensures the packages are downloaded and extracted into the step’s working directory:</p>
<p><img src="/blog/i/x/ant-deployments/referenced-dependencies.png" alt="Referenced dependencies" loading="lazy" srcset="/blog/i/600/ant-deployments/referenced-dependencies.webp 600w, /blog/i/1000/ant-deployments/referenced-dependencies.webp 1000w, /blog/i/2000/ant-deployments/referenced-dependencies.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3840" height="1930"></p>
<h2 id="running-the-deployment">Running the deployment</h2>
<p>At this point, you can create a release of the project and deploy it to an environment. The deployment log will show the output of the Ant commands as they are executed:</p>
<p><img src="/blog/i/x/ant-deployments/ant-output.png" alt="Ant output" loading="lazy" srcset="/blog/i/600/ant-deployments/ant-output.webp 600w, /blog/i/1000/ant-deployments/ant-output.webp 1000w, /blog/i/2000/ant-deployments/ant-output.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3840" height="1930"></p>
<h2 id="conclusion">Conclusion</h2>
<p>Executing Ant as part of an Octopus deployment is straightforward. By using the built-in feed to provide Ant and its dependencies, you can run Ant on any worker without requiring any installation of Ant or Java on the worker itself. This approach allows teams to deploy Ant applications consistently and repeatably by leveraging Octopus Deploy.</p>]]></content>
    </entry>
    <entry>
      <title>Continuous Delivery Office Hours Ep.11: Haute culture</title>
      <link href="https://octopus.com/blog/continuous-delivery-office-hours-e11" />
      <id>https://octopus.com/blog/continuous-delivery-office-hours-e11</id>
      <published>2026-10-20</published>
      <updated>2026-10-20</updated>
      <summary>Find out why culture is such a crucial requirement of high-performance software delivery.</summary>
      <author>
        <name>Steve Fenton, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>In the previous episode, we discussed <a href="https://octopus.com/blog/continuous-delivery-office-hours-e10">modernizing legacy architecture</a>, including the hazards of the rewrite, architectural strategies, and team design considerations.</p>
<p>This episode looks at “haute culture”, or high-performance organizational culture, and its profound impact on software delivery.</p>
<h2 id="watch-the-episode">Watch the episode</h2>
<p>You can watch the episode below, or read on to find some of the key discussion points.</p>
<p><a href="https://www.youtube.com/watch?v=BDbegubJrgU">Watch Continuous Delivery Office Hours Ep.11</a></p>
<h2 id="posters-arent-culture">Posters aren’t culture</h2>
<p>Everyone has worked for an organization that attempted to define their identity through poster campaigns, entrance halls decorated with inspirational quotes or word clouds, and mugs adorned with the “five pillars of our culture”.</p>
<p>I worked for an organization that launched the RON campaign. Do it “right”, do it “once”, do it “now”. Of course, none of these happened, as the slogans bore no relation to the reality of the work.</p>
<p>In too many cases, there’s a systematic gap between the organization’s aspirational, publicly stated culture and employees’ lived experience. In fact, when an organization is dysfunctional, the list of values becomes an admission of exactly what is missing: “We value trust, respect, and work-life balance” means you’ll be micromanaged, treated like a child, and made to work long hours.</p>
<p>Meanwhile, the real culture is built from tiny interactions that reinforce what leaders value and what they don’t.</p>
<p>Every tiny interaction reinforces the real culture. The way your boss talks to you, whether they listen to your opinions, and how they respond when you flag a potential problem all set the scene for culture. Even when interactions aren’t aggressive, they can still stifle the crucial component of a healthy culture: information flow.</p>
<p>Here’s an example. You go to your boss and say, “Our test automation is missing a few really crucial areas that could cause us a problem in the future.” Your boss responds by tasking you with filling that gap. While you’re pleased to have permission to fix this, you now have a bunch of more work to juggle, and maybe it would have been better not to say anything.</p>
<p>As soon as people hesitate to share potential problems, you switch from fixing things before they go wrong to firefighting afterward.</p>
<h2 id="theoretical-foundations">Theoretical foundations</h2>
<p>High-performing software teams understand the old models of organizational sociology. They understand Douglas McGregor’s principles of human motivation (from <em>The Human Side of Enterprise</em>, though more often encountered in Dan Pink’s book, <em>Drive</em>), and they understand Ron Westrum’s <em>Typology of Organizational Culture</em>.</p>
<p>You can use these models to shift focus to the structural mechanics of workplace culture, and retire the posters, mugs, and mousepads.</p>
<p>McGregor challenged the view of traditional management, which uses rewards and punishment as the tools of motivation. Instead, McGregor asserted that individuals want to do good work and are more satisfied when they deliver quality outcomes, which means they don’t need to be cajoled by management.</p>
<p>The perfect complement to McGregor’s views on motivation is the three categories of culture shared by Ron Westrum:</p>
<ul>
<li><strong>Pathological</strong>: A culture with high anxiety, information hoarding, and strict power hierarchies. Messengers are punished or otherwise discouraged from sharing uncomfortable truths.</li>
<li><strong>Bureaucratic</strong>: These organizations have rigid channels, compartmentalization, and protocols, so information moves slowly along inflexible routes.</li>
<li><strong>Generative</strong>: The ideal culture has optimal information flow and cross-functional collaboration. Everyone is encouraged to share risks early, without fear of repercussions.</li>
</ul>
<p>Information flow is the signal of organizational health, with generative environments actively protecting “messengers”; people who flag potential risks and issues. This helps identify problems early and resolve them before they cause damage. Conversely, pathological leaders destroy information flow through intimidation, like an executive engaging in silent staring contests when they are told a date can’t be met unless scope is changed. This coercive dynamic works its way down the hierarchy, becoming the default mode of operation for managers and supervisors.</p>
<p>Suppressing information flow doesn’t change reality. Dates are missed, software ships with known faults, and the fundamentals of physics still apply. The only difference is the realization comes far later, often when it’s too late to prevent damage.</p>
<p>Bad news is crucial operational data, not the result of difficult or negative employees. A leader’s response to this information should be: “Thank you for bringing this up, because sharing this information will help us stop this from becoming a major mistake.”</p>
<h2 id="fixed-scope-and-arbitrary-deadlines">Fixed scope and arbitrary deadlines</h2>
<p>There’s a classic iron triangle in project management that says quality is constrained by three variables: scope, time, and cost, and you can pick any two. This idea presents a neat view of a classic problem in software engineering: the notion that fixing time, cost, and scope doesn’t work.</p>
<p>The reality is a little different from this picture, which leads many project managers to believe you can trade quality for reduced time and cost. The failure demand that results increases future costs and time, so it doesn’t work as a medium- or long-term strategy. Many teams have fallen into the trap of rushing to meet an arbitrary deadline, resulting in a flood of bugs and rework, which increases pressure on the next set of tasks. This cycle is destructive if repeated.</p>
<p>The mismanagement of software tasks, particularly the use of project management approaches designed to cajole teams into unreasonable delivery expectations, inevitably leads to reduced information flow. Project managers share the plan is at risk and are ordered to “make it happen”; developers flag that some work items won’t be completed on time and are told: “well, they <em>have</em> to be.” Eventually, nobody shares these risks, but they happen all the same.</p>
<p>Traditional project management techniques were created to surface the reality of a project, but were used in attempts to force impossible realities. Instead of being cartographers, diligently mapping the territory they explored, project managers believed they could draw the map first, then change millions of hectares of land to match what they imagined.</p>
<h2 id="feedback-is-oxygen">Feedback is oxygen</h2>
<p>Our founder, Paul Stovell, said this to me: “Feedback is oxygen.” That’s true when you’re developing software and need to know whether what you’re building helps users achieve their goals. It’s true throughout the process, whether that’s feedback from linters, tests, security scans, or employees who have spotted trouble ahead.</p>
<p>While it’s true that a healthy generative culture is better for workers, it’s also better for the organization. When information flows, everyone gets better results. Even your CFO.</p>
<p>Happy deployments!</p>
<div class="hint"><p>Continuous Delivery Office Hours is a series of conversations about software delivery, with Tony Kelly, Bob Walker, and Steve Fenton.</p><p>You can find more episodes on <a href="https://www.youtube.com/playlist?list=PLAGskdGvlaw3CrxkUOAMmiy928lr5D4oh">YouTube</a>, <a href="https://podcasts.apple.com/us/podcast/continuous-delivery-office-hours/id1872101651">Apple Podcasts</a>, and <a href="https://pca.st/hwjaox59">Pocket Casts</a>.</p></div>]]></content>
    </entry>
    <entry>
      <title>Controlled Delivery: A Strong Opinion</title>
      <link href="https://octopus.com/blog/controlled-delivery" />
      <id>https://octopus.com/blog/controlled-delivery</id>
      <published>2026-10-19</published>
      <updated>2026-10-19</updated>
      <summary>What is Controlled Delivery, and why is it distinct from Continuous Delivery?</summary>
      <author>
        <name>Heidi Waterhouse, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>Sometimes it feels like there are as many modifiers on “Delivery” as there are on a fancy coffee order, and why do they all have to start with C?</p>
<p>I’m here to add another to the list.</p>
<h2 id="what-is-controlled-delivery">What is Controlled Delivery?</h2>
<p>Controlled Delivery is the set of practices that ensure you’re delivering valuable changes to software behavior, not just detonating a change across an entire ecosystem. The goal of controlled delivery is to get the value of a change to the person who benefits from it. This is not about the change itself, because sometimes a change is not the point. Thinking of change as value is a mistake we all make, because that’s what we’re evaluated on, but it’s not what matters to the user.</p>
<p>Here are the things that we think make up Controlled Delivery</p>
<h3 id="composable-content">Composable content</h3>
<p>Software isn’t a one-way flow from the maker to the user, it’s a collaborative work object, and it’s only a small part of the user’s day. As software makers, we need to give users the option to choose the parts that add value to their day and leave aside the parts that they neither need nor want. That means that our concepts of modularity and microservices can’t stay locked inside our own architecture, they have to be obvious and manipulable to the user. That’s why APIs, and now MCPs, are such a powerful concept.</p>
<p>From a sales and adoption perspective, of course it would be great if people used all our features all the time, but that’s not very realistic. I’d bet that you’re using less than 20% of the available features in your daily software, and still getting good value from it. And probably, you’d have an easier time using it if there were fewer options available.</p>
<p>Composable content is what <a href="https://bsky.app/profile/jordo.bsky.social">Jordan Mallory</a> is asking for in this 2020 post.</p>
<figure>
<p><img src="/blog/i/x/controlled-delivery/shorter-games-jordan-mallory.png" alt="Screenshot of a tweet by Jordan Mallory saying &#x27;i want shorter games with worse graphics made by people paid more to work less and i&#x27;m not kidding&#x27;" loading="lazy" srcset="/blog/i/600/controlled-delivery/shorter-games-jordan-mallory.webp 512w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="512" height="137"></p>
</figure>
<p>Big video games require a lot of expensive hardware to run them, and dedicated time to play them. Stardew Valley was a hugely successful game with objectively rudimentary graphics and skills requirements, exactly because anyone could get rewarding play out of it, even on an old cell phone.</p>
<p>If you’re reading articles about CI/CD, you’re probably not One Guy (™) working at a table in the corner of your bedroom, but the point remains - the value is not in what you deliver, but in what the user can do.</p>
<h3 id="mindful-rollout">Mindful rollout</h3>
<p>Change, especially rapid change, is hard for people to deal with. Alvin Toffler wrote <em>Future Shock</em> in 1965-1970, and it was about how much people were struggling to adapt to the rate of change they were facing. That problem is not, I’m sure you’ve noticed, going away.</p>
<p>That means that whenever we deliver software to our users, we’re asking them to accept change, which they don’t like. We owe it to them to make sure it’s a change that benefits them, and that it’s a good delivery.</p>
<p>We have a lot of very good evidence that deploying rapidly/continuously makes software development safer and more robust. Let’s keep doing that. But as a user, I would much rather have all those changes packaged up into a coherent and periodic bundle, so I only have to get my process disrupted once in a while.</p>
<p>How do we make sure what we’re sending out is good? We want our product to be</p>
<ul>
<li>Safe</li>
<li>Compliant</li>
<li>Robust</li>
<li>Valuable</li>
</ul>
<p>It needs to not create new problems, it needs to fit in with the existing software, it needs to operate at the scales it will face, and it needs to be a net addition to their workflow.</p>
<p>We use feature flags in a variety of patterns to accomplish these goals.</p>
<ul>
<li>To make it safe, we do staged rollout or ring deployment to test on subsets of users before we push it to everyone. We also include an andon cord in case a deployment should be stopped and rolled forward.</li>
<li>To make it compliant, we make sure our deployment tests include legacy users and people on old hardware, as well as early adopters</li>
<li>To make it robust, we run shadow versions in parallel with the visible versions and blue/green overlaps</li>
<li>To make it valuable, we collect feedback on who uses new features, and communicate directly with them on how it works and what they need.</li>
</ul>
<p>Many of the tools of mindful rollout already exist and are being used for load evaluation, user entitlements, or A/B testing. What makes it truly mindful rollout is that the people doing the deployment are actively monitoring and watching the changes - not just to preserve operational stability, but to understand how and why people are using the changes.</p>
<h3 id="verifiable-receipt">Verifiable receipt</h3>
<p>Everything that is deployed goes through the same deterministic steps, and is recorded and hashed. That means that every change has a signature that can be traced and affirmed. That signature carries through from the initial developer change to the release on the user’s machine. No surprises, no flex. Controlled Delivery has to include knowing what actually arrived, as well as what we intended to arrive.</p>
<h2 id="what-isnt-controlled-delivery">What isn’t Controlled Delivery?</h2>
<p>Controlled Delivery isn’t a compliance system in itself, although it helps you do compliance.
Controlled Delivery is not an unwatched automation.
Controlled Delivery is not an excuse to deploy all the time.</p>
<p>Controlled Delivery isn’t about the software creator’s experience, it’s about the software user’s experience.</p>
<h2 id="how-does-that-fit-into-cicd">How does that fit into CI/CD?</h2>
<p>I know a bunch of you just flinched at the thought of having to do yet another process in your SDLC. Especially one that doesn’t have a track record of success or a cool conference talk (yet). But this is actually built out of parts you probably already have, just used in a different way. Ring deployment, trunk-based development, feature flags, signed changes, those are all mature technologies with over a decade of best practices behind them. When we say Controlled Delivery, we’re inviting you to combine them in a way that works for both you and your users.</p>
<h2 id="whats-my-action-item">What’s my action item?</h2>
<p>First, decide if Controlled Delivery will help you deliver your software better and more effectively. If it doesn’t meet your goals, it’s not a good tool, no matter how nifty it seems.</p>
<p>Then survey your SDLC and see how many of these patterns you already have in place. What can you chain together to make a continuous, predictable, sensible flow from code change to user value? What runbooks, approval gates, automations, and release rituals already exist, and could they be incorporated into Controlled Delivery?</p>
<p>Finally, build or buy the parts you’re missing. I can’t tell you how that tradeoff will break down. Things you build are perfectly tuned for your current processes and people, but you’ll have to maintain and update them internally forever. Things you buy will require integration and adaptation, but will be maintained by the vendor.</p>
<p>Controlled Delivery is part of the seamless software motion we’ve all been working toward, and I hope you see the foundations in your own work.</p>]]></content>
    </entry>
    <entry>
      <title>From copy-paste to platform thinking</title>
      <link href="https://octopus.com/blog/from-copy-paste-to-platform-thinking" />
      <id>https://octopus.com/blog/from-copy-paste-to-platform-thinking</id>
      <published>2026-10-15</published>
      <updated>2026-10-15</updated>
      <summary>Copy-paste pipelines, slow deployments, and contested staging environments. None of it was a crisis, but together it made the case for modernizing how we deliver our microsites.</summary>
      <author>
        <name>Matthew Allford, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>At Octopus Deploy, we maintain a collection of static websites we call microsites. They host public-facing content like our product documentation, our external handbook, and the blog you’re reading this article on. Contributors come from across the organization, including support, engineering, product, marketing, and our people team.</p>
<p>Each microsite is built on the Astro framework and lives in its own GitHub repository. For years, they were built, tested, and deployed using GitHub Actions and Octopus Deploy. The setup worked, but over time, the gap between “it works” and “it’s working well” kept growing, especially when we stepped back to consider what great software delivery looks like today.</p>
<p>We continuously release functionality in Octopus to help teams improve software delivery, and we wanted to bring those improvements to our microsites. Eating your own dog food and all that! We also knew the build had friction, and there were parts of GitHub Actions we wanted to improve. What started as “let’s enable ephemeral environments for the microsites” became a series of adjustments to our deployment pipeline.</p>
<p>They were all for the better, but along the way, we hit paper cuts, had fascinating discussions, and faced decisions that seemed simple on the surface yet quickly made us think differently on topics like where the platform team’s responsibility ends and the application team’s begins, how opinionated a shared process should be, and how much flexibility is too much.</p>
<p>This article anchors a series of posts that go deeper into specific pipeline improvements. Here, I want to set the scene, while the pieces that follow get into the technical detail, the decisions we made, and the rough edges we hit along the way.</p>
<p>Crucially, while I’ll be using our microsites to tell the story, the patterns and considerations apply well beyond static sites, and they surfaced when I worked with customers building and delivering software. If you’ve ever tried to standardize processes across multiple teams, manage shared delivery infrastructure, or define the right lines of ownership, this will likely feel familiar.</p>
<h2 id="the-way-things-were">The way things were</h2>
<p>None of what I’m about to describe was a crisis. The microsites were online, content was being published, builds and releases were functioning, and things were fine on the surface. But fine has a way of masking friction, and friction has a way of compounding in the background until someone decides to act. What started with “let’s enable ephemeral environments on the microsites” led us to look more broadly at how we build and deploy changes, and that surfaced several areas we felt could be improved.</p>
<p>I want to give you a peek behind the curtain at what things looked like before we started. I’m not going to cover every paper cut and rough edge here, as those get their own dedicated articles. But I want you to see that, on their own, none of these things were really that big of a deal. It was only when we stepped back and looked at the delivery cycle holistically that the case for change became clear.</p>
<h3 id="the-copy-paste-loop">The copy-paste loop</h3>
<p>Each microsite lived in its own GitHub repository, and each repository had its own set of GitHub Actions workflows to build, test, and validate changes. We had four core GitHub Actions workflows, which at a high level achieved the following tasks:</p>
<ol>
<li>Spellcheck (branch)</li>
<li>Markdown linting (branch)</li>
<li>Build, test, package, push the package to Octopus, and trigger the release (branch)</li>
<li>Build, test, package, push the package to Octopus, and trigger the release (main)</li>
</ol>
<p>Four workflows per repo across five repos meant 20 workflow files in total. Any future microsites would only make it worse, as another repo meant another set of workflow copies to maintain. And this was just for the CI side. The idea behind this was that if a change was made to one of these workflows, it would be abstract enough to be easily copied and pasted into the same workflow file in the other microsite repositories. This pattern will be familiar to many software teams. A build process works well for a particular technology stack, so when the next application comes along using the same stack, an engineer copies the working example as a starting point. It’s pragmatic, it’s fast, and on day one, it makes complete sense.</p>
<p>The problem with copy-paste, even if you’re copying from a template file, is that it’s a snapshot from a point in time, not an ongoing linked relationship. The moment you paste something into a second place, you have two things to maintain instead of one. Over time, changes are made in one repo but not in the others, sometimes intentionally, sometimes not. A node version gets bumped in one workflow and forgotten in another. Someone tweaks a step while testing something and doesn’t propagate it across. Another engineer just isn’t aware of all the different applications using the same workflow, and before long, five repos that were supposed to be identical have drifted apart, and nobody has a clear picture of which one is the source of truth.</p>
<p>The same pattern played out for deployments. Each microsite had its own project and deployment process, defined in Octopus Configuration Language (OCL) and stored in the repository. This is great, as the deployment process is stored in code alongside the application, and benefits from all the great things we’ve defined as an industry by putting configuration in version control. For the microsites, the deployment process was identical across all five sites. Or at least it was supposed to be. Making a change meant updating one project, verifying it worked, and then manually propagating the change to the other four projects. In practice, this meant five pull requests, five reviews, and five merges.</p>
<p>Even though we designed variables and the deployment process to be project-agnostic, the overhead of something as small as changing the format of a Slack notification message is hard to justify and only gets worse at scale. When the overhead of making a change is too high, people stop making them. Over time, that means fewer improvements, and fewer improvements mean everything starts to feel slow and heavy. The pipeline becomes something people work around rather than something they invest in.</p>
<p>The deeper problem is the drift. Copy-paste gives you the illusion of consistency without the guarantee of it. It is very easy for a human to forget to update one of the files or test a change against one of the sites, and then completely forget to update the other sites. From a Platform Engineering and compliance perspective, saying “this is how we build and deploy” with confidence when operating this way is impossible.</p>
<h3 id="deployment-times-that-test-our-patience">Deployment times that test our patience</h3>
<p>Deploying a microsite should be straightforward. At the end of the day, it is a static website; it’s not as complex as much of today’s software development and architecture. Build the site, push the files to the destination, clear the cache if needed, and send a notification. In practice, a full deployment of one of our larger microsites, like the blog or docs, would take more than 40 minutes.</p>
<p>The culprit was the way files were transferred to S3. The step responsible for the upload compares each file in the source against the existing files in the destination before deciding whether to copy it. For a site with thousands of images, each generating multiple derivative files during the build, the comparison loop took too long.</p>
<p>Alternatives were explored briefly. SFTP was considered, and questions were raised about whether the upload step could be improved or replaced with a more efficient alternative. While the answer to that was almost certainly “yes,” the deployment was working; it wasn’t a priority to dig into further, and the impression at the time was “that’s how S3 works.” When something is functioning well enough, and the path to a better solution isn’t obvious, a targeted workaround tends to win.</p>
<p>That workaround was a new function in the build - allow me to introduce <code>pnpm thin</code>. Rather than deploying the full site on every run, <code>pnpm thin</code> stripped out any image assets that hadn’t been modified in the last 14 days. Running pnpm thin was added to the build process (well, all 5 copies of the build processes!), and fewer files meant fewer comparisons, which brought deployment times down to around 10 minutes.</p>
<p>An issue with <code>pnpm thin</code> was the assumption it came with. It assumed the destination already contained all the images stripped during the build. For an incremental deployment to a long-running production environment, that assumption was fine. For a fresh deployment to a brand new environment, like an ephemeral environment spun up for a pull request, it wasn’t. Most of the site’s images would simply be missing.</p>
<p>It’s a good example of how workarounds can quietly constrain future decisions. The <code>pnpm thin</code> function solved the immediate problem, but it made a full, clean deployment effectively impossible without first understanding why half the images weren’t showing up.</p>
<h3 id="the-fading-static-staging-environment">The fading static staging environment</h3>
<p>Each microsite had two static environments that Octopus deployed to - staging and production. Early on, staging was a genuine part of the process, proposed changes were deployed to the staging environment, and people relied on it. But over time, use faded, and the reasons why are worth understanding because they’re not unique to our microsites.</p>
<p>Two things eroded it. The first was contention. When someone needed to do more thorough testing, they’d ask others not to overwrite the staging environment while they worked. I’m sure you’ve seen similar messages bounce around your Slack or Teams channels:</p>
<blockquote>
<p>Please don’t use the staging environment today, I’m testing out some changes I’ve been working on. Thanks heaps!</p>
</blockquote>
<p>It seems like a reasonable request, but realistically, it meant everyone else had to find another way to check their changes. Local previews filled that gap, and once people found a faster workaround that didn’t require coordinating with anyone, they stuck with it. Interestingly, relying on running the sites locally introduces other pain points, which I’ll touch on below when discussing how to preview changes.</p>
<p>This also meant that, as someone who wanted to deploy your change to the staging environment, you felt like you had to ask around first to see if you were about to interrupt someone else. Messages like “Anyone in the blog staging environment at the moment?” weren’t unusual to see flying around Slack, though admittedly, those were more pleasant than seeing the “Who just overwrote my deployment in the blog staging environment!?” messages! Add in a globally distributed team and the friction that is time zones to the equation, and you’re in for a world of hurt.</p>
<p>The second was the feedback loop. Build times already stretched to around 10 minutes. A deployment to staging added more to that. When you can verify something locally in a few seconds, waiting 20 or more minutes for a staging deployment is hard to justify, especially for a content change where the diff is right there in the GitHub UI.</p>
<p>Delayed feedback loops are the conditions in which workarounds grow. The longer you wait for a build, a deployment, or a shared environment to free up, the more attractive any shortcut becomes. It’s a rational response to friction, and once the shortcut becomes the default, the original agreed and documented process falls out of the team’s workflow.</p>
<p>By the time we looked at this properly, most contributors were testing locally if they checked at all, and reviewers were reading diffs in GitHub’s portal rather than seeing changes live. The first time many changes were seen in a real hosted environment was in production.</p>
<h3 id="the-effort-to-preview-changes">The effort to preview changes</h3>
<p>The staging situation pointed to a broader gap. Unless the static staging environment was used, there was no easy way for a contributor to share a live, hosted version of their change with someone else. No way for a reviewer to click a link and see the proposed change running in a real environment. To do it in staging meant:</p>
<ol>
<li>Knowing you were all clear to use the staging environment without annoying someone else who may be testing/reviewing their change</li>
<li>Knowing which Octopus Deploy instance and project to go to</li>
<li>Having access to the target project in Octopus Deploy</li>
<li>Knowing how to perform a deployment to the staging environment</li>
<li>Knowing the URL for the staging environment to share with others</li>
</ol>
<p>Technical contributors would often just run the site locally on their machine. Clone the repo, install dependencies, run <code>pnpm dev</code>, and open localhost. It’s not onerous if you know what you’re doing. But many people contributing to the microsites aren’t developers. For them, the local preview instructions in the readme present a barrier, not a solution.</p>
<p>For reviewers, the situation isn’t much better. To see a proposed change live, you’d need to check out the branch, follow the same local setup instructions, and run the site yourself. In practice, most reviewers looked at the diff in GitHub and called it done. That works for typo fixes or, honestly, even new documentation pages or blog posts. However, it’s less reassuring for layout changes, new components, or anything where seeing it rendered matters.</p>
<p>What we wanted was simple. Open a pull request, get a URL, and see your change in a real hosted environment. Ideally, one that mirrored the production infrastructure, allowing us to test changes in a production-like environment. While static website hosting is straightforward, there are nuances with different hosting options. We wanted to provide this to contributors without them needing to know anything about the underlying infrastructure, without needing access to Octopus, without needing to run anything locally. That experience didn’t exist yet, and building it was what set this whole project in motion, which admittedly was a bit of eat your own dog food when we <a href="https://octopus.com/blog/introducing-ephemeral-environments">introduced ephemeral environments</a> in Octopus.</p>
<h3 id="organically-growing-infrastructure">Organically growing infrastructure</h3>
<p>The microsites were provisioned and were running in AWS, using S3 as the endpoint and CloudFront distributions in front of them. It worked, but they were initially provisioned and configured manually and had been left largely untouched since.</p>
<p>Without Infrastructure as Code (IaC), there was no reliable way to know whether the configuration of each bucket and distribution was consistent across all sites. If a change was required, it had to be made manually, one resource at a time. If something ever needed to be recreated from scratch, like deploying to a new AWS region or provisioning a fresh environment for a pull request, there was no automated way to achieve it.</p>
<p>We knew we wanted to move to Azure, where most of Octopus’s infrastructure lives, and that the migration was an opportunity to put the infrastructure management in a better shape. Automating the provisioning and deprovisioning of infrastructure was something we knew we had to get right, particularly if we were going to support ephemeral environments and speed up deployments.</p>
<h3 id="what-we-changed">What we changed</h3>
<p>The pain points above are just the surface. Each one has a dedicated article that goes into the details, the decisions, the trade-offs, and the edges we hit along the way. If you’ve felt any of this in your own work, the deeper articles are worth your time.</p>
<div class="hint"><p>New articles in this series are being published over the coming weeks. As each one goes live, the topics below will link through to it.</p></div>
<p>The copy-paste problem across both GitHub Actions and Octopus was solved by leaning into templating. Twenty workflow files spread across five repositories were <a href="/blog/dry-isnt-just-for-app-code">consolidated into a set of reusable GitHub workflows</a>. In Octopus, five individual deployment processes were consolidated into a single versioned process template that all five microsites now consume, along with templated runbooks for provisioning and deprovisioning infrastructure. Both solved the copy-paste problem, but if you read the reusable GitHub workflows article, you might come away thinking Octopus has set a pretty high bar for what templating should look like.</p>
<p>Slow deployments and the pnpm thin workaround that papered over them were addressed during the migration to Azure. We evaluated several hosting options before landing on Blob Storage, swapped out the file transfer tooling for AzCopy, and in doing so, made pnpm thin unnecessary. The full story is in finding the right hosting for a static site.</p>
<p>Ephemeral environments were the catalyst for this project, and while Octopus does much of the heavy lifting, it requires a mature foundation underneath. Every pull request now gets its own hosted environment, with a preview URL posted as a comment on the PR. Along the way, we hit some interesting edges, including managing Terraform state for short-lived environments and a subtle race condition with short-lived PRs that took a pragmatic workaround to resolve.</p>
<p>Two of the more interesting conversations in the project weren’t really about tooling at all. Where ownership lines fall between a platform team and the teams consuming what they build is something many practitioners wrestle with, and it came up repeatedly here. And rather than installing tools at deployment runtime - something I’ve seen a lot of teams do in the field - we took an approach of keeping workers lean with execution containers, which made deployments faster and more predictable.</p>
<p>Finally, not every pull request needs a full environment spun up. Based on some conversations I had at conferences and internal feedback, we made the whole thing optional using a simple GitHub PR label, without compromising branch protection rules.</p>
<h2 id="wrapping-up">Wrapping up</h2>
<p>None of the pain points in this article were dramatic on their own. A few copied workflow files, a slow deployment, a staging environment people stopped using. But together, they made it harder to improve, harder to trust what we were shipping, and harder for contributors to see their changes before they went live.</p>
<p>It’s also worth thinking about what happens as these patterns scale. Five microsites is a small footprint, but the same copy-paste approach across dozens or hundreds of applications makes it close to impossible to answer simple questions like “are all our deployments following the same process?” or “has everyone picked up the latest security change?” That’s where platform thinking earns its keep. Shared templates, consistent infrastructure, and guardrails built into the process mean compliance and risk are handled by default, rather than relying on every team to remember to do the right thing based on a knowledge base article people rarely revisit.</p>
<p>For us, the realization was that the tooling we rely on had moved on, and our pipelines hadn’t kept up. Taking the time to step back, look at the whole delivery cycle, and bring it in line with what modern software delivery looks like today has been worth it. If some of this sounded familiar, it might be worth taking that same step back with your own pipelines.</p>
<p>Happy deployments!</p>]]></content>
    </entry>
    <entry>
      <title>Introducing remote MCP for Octopus Deploy</title>
      <link href="https://octopus.com/blog/introducing-remote-mcp" />
      <id>https://octopus.com/blog/introducing-remote-mcp</id>
      <published>2026-10-13</published>
      <updated>2026-10-13</updated>
      <summary>Octopus now includes a built-in remote MCP server. There's nothing to install or maintain: point your agent at your instance's /mcp endpoint.</summary>
      <author>
        <name>Gin Atkins, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>Until now, connecting an agent to Octopus meant running our local Model Context Protocol (MCP) server on your machine. You had to install it on every machine, for every user, and keep every installation up to date.</p>
<p>There’s an easier option now. Octopus includes a built-in remote MCP server, so there’s nothing to install or maintain. Point your agent at your instance’s <code>/mcp</code> endpoint, and it can talk to Octopus over HTTP.</p>
<h2 id="what-can-the-remote-mcp-do">What can the remote MCP do?</h2>
<p>The remote MCP initially supports a selected set of core Octopus features, and we’ll add more over time. <a href="https://srfjzffylk.zite.so">Share your feedback</a> to help us decide what comes next.</p>
<p>Depending on the authentication mechanism and the permissions you grant, the remote MCP can:</p>
<ul>
<li>
<p><strong>Navigate and orient:</strong> Find and provide details on spaces, projects, tenants, and tenant tags.</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="markdown"><code><span class="line"><span style="color:#000000">List the projects in the Payments space and the tenants each one deploys to.</span></span></code></pre>
</li>
<li>
<p><strong>Answer deployment questions:</strong> Show a pull request’s deployment status, including when it reached a tenant or environment, and describe the lifecycle phases and progression rules behind it.</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="markdown"><code><span class="line"><span style="color:#000000">When did PR #4821 reach the Brisbane Bank tenant, and which environment is it in now?</span></span></code></pre>
</li>
<li>
<p><strong>Deploy and operate:</strong> Create and deploy a release, promote a release through its lifecycle, and run runbooks. Then generate and attach release notes to a release.</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="markdown"><code><span class="line"><span style="color:#000000">Create a release of Payments Service, deploy it to production, then draft and attach release notes.</span></span></code></pre>
</li>
<li>
<p><strong>Investigate and diagnose:</strong> Search task logs, deployment processes, and variables to work out why something failed. List or filter running, queued, and failed tasks across the instance.</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="markdown"><code><span class="line"><span style="color:#000000">The last deployment of Payments Service to production failed. What was the error, and which step failed?</span></span></code></pre>
</li>
<li>
<p><strong>Audit and report:</strong> Query audit events, report on deployment health, and triage incidents by tracing what was deployed to which targets and when.</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="markdown"><code><span class="line"><span style="color:#000000">What changed in the Payments space in the last hour?</span></span></code></pre>
</li>
<li>
<p><strong>Check tenant configuration:</strong> Find variables with incomplete configuration across tenants.</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="markdown"><code><span class="line"><span style="color:#000000">Which tenants have missing variable values for the Payments project?</span></span></code></pre>
</li>
</ul>
<h2 id="get-started">Get started</h2>
<p>Octopus Cloud customers can use the remote MCP now. Point your agent at your instance’s <code>/mcp</code> endpoint to try it.</p>
<p>Octopus Server customers will get it in the upcoming 2026.3 release.</p>
<p>Read the <a href="https://octopus.com/docs/octopus-ai/mcp/remote">remote MCP docs</a> to learn how to connect your agent and set up authentication.</p>
<h2 id="whats-next">What’s next</h2>
<p>We know that for many teams, easily connecting an agent to Octopus is only the first step. The next is governance.</p>
<p>The remote MCP is one part of our broader vision for agent governance. In the coming months, we’re launching:</p>
<ul>
<li><strong>Scoped API keys:</strong> Tighter control over what an agent can reach</li>
<li><strong>OAuth for the remote MCP:</strong> A cleaner, more secure connection flow</li>
<li><strong>Agent-aware policies:</strong> Visibility into whether an agent initiated a deployment or runbook run, to inform Platform Hub policies</li>
<li><strong>Improved audit log:</strong> Easier filtering and viewing of audit events related to agent activity</li>
</ul>
<p>Thank you to the 19 users who voted for and commented on remote MCP in our <a href="https://octopusdeploy.productboard.com/detail/MTpQbUVudGl0eTpjZWM2MWFiOS0yYWEzLTQwZTgtODhhOC1mOTczNjUwMWVjNWE=/portal">roadmap</a>. You helped shape this feature.</p>]]></content>
    </entry>
    <entry>
      <title>Salesforce Deployments with Octopus</title>
      <link href="https://octopus.com/blog/salesforce-deployments" />
      <id>https://octopus.com/blog/salesforce-deployments</id>
      <published>2026-10-10</published>
      <updated>2026-10-10</updated>
      <summary>Learn how to deploy Salesforce applications using Octopus Deploy</summary>
      <author>
        <name>Matthew Casperson, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p><a href="https://developer.salesforce.com/developer-centers/developer-experience">Salesforce DX</a> (Developer Experience) is a set of tools and features that bring modern, source-driven development and DevOps practices to the Salesforce platform. It allows teams to build Salesforce applications using Git-based workflows and deploy them via CI/CD pipelines.</p>
<p>Salesforce DX provides a command-line interface (CLI) to automate application deployments, and Octopus Deploy can integrate with it to deliver a seamless deployment experience.</p>
<p>In this post, you’ll learn how to deploy Salesforce applications using Octopus Deploy and the Salesforce CLI.</p>
<h2 id="prerequisites">Prerequisites</h2>
<p>Download the sample application from <a href="https://github.com/OctopusSolutionsEngineering/SalesforceSampleApp">this GitHub repository</a>. The <a href="https://github.com/OctopusSolutionsEngineering/SalesforceSampleApp/releases">releases</a> provide Zip files that can be uploaded to the Octopus built-in feed:</p>
<p><img src="/blog/i/x/salesforce-deployments/built-in-feed.png" alt="Built-in feed" loading="lazy" srcset="/blog/i/600/salesforce-deployments/built-in-feed.webp 600w, /blog/i/1000/salesforce-deployments/built-in-feed.webp 1000w, /blog/i/2000/salesforce-deployments/built-in-feed.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3758" height="1930"></p>
<p>You must install the Salesforce CLI locally by following the <a href="https://developer.salesforce.com/tools/salesforcecli">Salesforce CLI installation instructions</a>.</p>
<p>You can create a free account on the <a href="https://developer.salesforce.com/">Salesforce Developer site</a>. This post will use a Salesforce Developer Edition account to deploy the sample application.</p>
<h2 id="log-in-locally">Log in locally</h2>
<p>Log in to your Salesforce Developer Edition account using the Salesforce CLI:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#795E26">sf</span><span style="color:#A31515"> org</span><span style="color:#A31515"> login</span><span style="color:#A31515"> web</span><span style="color:#0000FF"> --set-default</span><span style="color:#0000FF"> --alias</span><span style="color:#A31515"> Dev</span></span></code></pre>
<p>The authentication URL, which is used as a secret to log in to Salesforce, is shown with this command:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#795E26">sf</span><span style="color:#A31515"> org</span><span style="color:#A31515"> auth</span><span style="color:#A31515"> show-sfdx-auth-url</span></span></code></pre>
<p>The <code>SFDX Auth URL</code> is then displayed in the format <code>force://PlatformCLI::&#x3C;secret>@&#x3C;hostname>.develop.my.salesforce.com</code>. This URL is used to authenticate the Salesforce CLI with your Salesforce organization. Take note of this URL, as it must be saved as a secret in Octopus Deploy.</p>
<div class="hint"><p>You can use the <a href="https://developer.salesforce.com/docs/platform/sfdx-dev/guide/sfdx-dev-auth-jwt-flow.html">JWT Flow</a> to authenticate the Salesforce CLI without requiring a web-based login. This allows deployments to be automated without user interaction. However, this post will use the web-based login for simplicity.</p></div>
<h2 id="deployment-process">Deployment process</h2>
<p>Deploying a Salesforce application is done via a script step that runs the Salesforce CLI commands.</p>
<p>To automate Salesforce login, the <code>SFDX Auth URL</code> is stored as a secret variable named <code>Salesforce.Auth</code>.</p>
<p>Then add a script step to the deployment process that runs the following commands.</p>
<p>You’ll make use of an Execution Container to expose the Salesforce CLI to the script step. In the <code>Execution Container Image</code> section, select the option <code>Runs inside a container on a worker</code>, and then the <code>Build container from an inline Dockerfile</code> option. Paste the following Dockerfile into the text box:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="dockerfile"><code><span class="line"><span style="color:#0000FF">FROM</span><span style="color:#000000"> node:22-bookworm-slim</span></span>
<span class="line"></span>
<span class="line"><span style="color:#0000FF">RUN</span><span style="color:#000000"> apt-get update &#x26;&#x26; apt-get install -y --no-install-recommends \</span></span>
<span class="line"><span style="color:#000000">    ca-certificates \</span></span>
<span class="line"><span style="color:#000000">    curl \</span></span>
<span class="line"><span style="color:#000000">    gnupg \</span></span>
<span class="line"><span style="color:#000000">    libicu-dev \</span></span>
<span class="line"><span style="color:#000000">    &#x26;&#x26; rm -rf /var/lib/apt/lists/*</span></span>
<span class="line"></span>
<span class="line"><span style="color:#0000FF">RUN</span><span style="color:#000000"> npm install -g @salesforce/cli</span></span></code></pre>
<p>Paste the following script as an inline script in the script step:</p>
<pre class="astro-code light-plus" style="background-color:#FFFFFF;color:#000000; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#008000"># Stop the CLI from losing its auth storage context</span></span>
<span class="line"><span style="color:#0000FF">export</span><span style="color:#001080"> SF_USE_GENERIC_UNIX_KEYCHAIN</span><span style="color:#000000">=</span><span style="color:#001080">true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Deactivate the CLI's DNS check, which frequently fails in CI networks</span></span>
<span class="line"><span style="color:#0000FF">export</span><span style="color:#001080"> SF_DISABLE_DNS_CHECK</span><span style="color:#000000">=</span><span style="color:#001080">true</span></span>
<span class="line"><span style="color:#0000FF">export</span><span style="color:#001080"> SFDX_DISABLE_DNS_CHECK</span><span style="color:#000000">=</span><span style="color:#001080">true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Keep telemetry off</span></span>
<span class="line"><span style="color:#0000FF">export</span><span style="color:#001080"> SF_DISABLE_TELEMETRY</span><span style="color:#000000">=</span><span style="color:#001080">true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Enter the directory with the sample application</span></span>
<span class="line"><span style="color:#795E26">cd</span><span style="color:#A31515"> SampleApp</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Log into Salesforce using the auth URL stored in Octopus Deploy</span></span>
<span class="line"><span style="color:#795E26">echo</span><span style="color:#000000"> $(</span><span style="color:#795E26">get_octopusvariable</span><span style="color:#A31515"> "Salesforce.Auth"</span><span style="color:#000000">) > </span><span style="color:#A31515">./authfile.txt</span></span>
<span class="line"><span style="color:#795E26">sf</span><span style="color:#A31515"> org</span><span style="color:#A31515"> login</span><span style="color:#A31515"> sfdx-url</span><span style="color:#0000FF"> --sfdx-url-file</span><span style="color:#A31515"> ./authfile.txt</span><span style="color:#0000FF"> --set-default</span><span style="color:#0000FF"> --alias</span><span style="color:#A31515"> CiOrg</span></span>
<span class="line"><span style="color:#795E26">rm</span><span style="color:#A31515"> ./authfile.txt</span></span>
<span class="line"></span>
<span class="line"><span style="color:#008000"># Perform the deployment</span></span>
<span class="line"><span style="color:#795E26">sf</span><span style="color:#A31515"> project</span><span style="color:#A31515"> deploy</span><span style="color:#A31515"> start</span><span style="color:#0000FF"> --target-org</span><span style="color:#A31515"> CiOrg</span></span></code></pre>
<p>Finally, add the sample application to the project as a referenced package:</p>
<p><img src="/blog/i/x/salesforce-deployments/referenced-package.png" alt="Referenced package" loading="lazy" srcset="/blog/i/600/salesforce-deployments/referenced-package.webp 600w, /blog/i/1000/salesforce-deployments/referenced-package.webp 1000w, /blog/i/2000/salesforce-deployments/referenced-package.webp 1434w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="1434" height="1492"></p>
<h2 id="using-the-new-component">Using the new component</h2>
<p>To use the new component from the sample application, navigate to the <code>Setup</code> menu in Salesforce:</p>
<p><img src="/blog/i/x/salesforce-deployments/setup-menu.png" alt="Setup" loading="lazy" srcset="/blog/i/600/salesforce-deployments/setup-menu.webp 600w, /blog/i/1000/salesforce-deployments/setup-menu.webp 740w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="740" height="900"></p>
<p>Open the Lightning App Builder item in the left-hand menu, and click the <code>New</code> button to create a new Lightning app:</p>
<p><img src="/blog/i/x/salesforce-deployments/lightning-app-builder.png" alt="New Lightning App" loading="lazy" srcset="/blog/i/600/salesforce-deployments/lightning-app-builder.webp 600w, /blog/i/1000/salesforce-deployments/lightning-app-builder.webp 1000w, /blog/i/2000/salesforce-deployments/lightning-app-builder.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3840" height="1924"></p>
<p>Complete the wizard to create a new Lightning app:</p>
<p><img src="/blog/i/x/salesforce-deployments/new-lightning-page-1.png" alt="New Lightning App Wizard Page 1" loading="lazy" srcset="/blog/i/600/salesforce-deployments/new-lightning-page-1.webp 600w, /blog/i/1000/salesforce-deployments/new-lightning-page-1.webp 1000w, /blog/i/2000/salesforce-deployments/new-lightning-page-1.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2008" height="1218"></p>
<p><img src="/blog/i/x/salesforce-deployments/new-lightning-page-2.png" alt="New Lightning App Wizard Page 2" loading="lazy" srcset="/blog/i/600/salesforce-deployments/new-lightning-page-2.webp 600w, /blog/i/1000/salesforce-deployments/new-lightning-page-2.webp 1000w, /blog/i/2000/salesforce-deployments/new-lightning-page-2.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2036" height="1214"></p>
<p><img src="/blog/i/x/salesforce-deployments/new-lightning-page-3.png" alt="New Lightning App Wizard Page 3" loading="lazy" srcset="/blog/i/600/salesforce-deployments/new-lightning-page-3.webp 600w, /blog/i/1000/salesforce-deployments/new-lightning-page-3.webp 1000w, /blog/i/2000/salesforce-deployments/new-lightning-page-3.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="2014" height="1194"></p>
<p>Select the new component and drag it onto the page:</p>
<p><img src="/blog/i/x/salesforce-deployments/sample-app.png" alt="Gui Builder" loading="lazy" srcset="/blog/i/600/salesforce-deployments/sample-app.webp 600w, /blog/i/1000/salesforce-deployments/sample-app.webp 1000w, /blog/i/2000/salesforce-deployments/sample-app.webp 2000w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="3840" height="1924"></p>
<h2 id="going-further">Going further</h2>
<p>This <a href="https://developer.salesforce.com/blogs/2020/01/using-salesforce-dx-with-github-actions">Salesforce post</a> describes a high-level deployment pipeline, with this diagram showing the breakdown between the CI and CD processes:</p>
<p><img src="/blog/i/x/salesforce-deployments/example-flow.png" alt="Example Flow" loading="lazy" srcset="/blog/i/600/salesforce-deployments/example-flow.webp 442w" sizes="(min-width: 1680px) 1000px, (min-width: 940px) calc(71.81vw - 192px), calc(100vw - 32px)" class="resp-img" width="442" height="742"></p>
<p>All the steps in the CD process are implemented via the <code>sf</code> CLI and can be automated using Octopus Deploy.</p>
<h2 id="conclusion">Conclusion</h2>
<p>Octopus provides a convenient way to deploy Salesforce applications using the Salesforce CLI. The CLI handles the interactions with the Salesforce platform, while Octopus provides a user-friendly interface for managing deployments, variables, and secrets. By combining these tools, teams can implement a robust CI/CD pipeline for Salesforce applications.</p>]]></content>
    </entry>
    <entry>
      <title>Continuous Delivery Office Hours Ep.10: Modernizing legacy software</title>
      <link href="https://octopus.com/blog/continuous-delivery-office-hours-e10" />
      <id>https://octopus.com/blog/continuous-delivery-office-hours-e10</id>
      <published>2026-10-06</published>
      <updated>2026-10-06</updated>
      <summary>Find out why big-bang rewrites are the path to failure and what to do instead.</summary>
      <author>
        <name>Steve Fenton, Octopus Deploy</name>
      </author>
      <content type="html"><![CDATA[<p>In <a href="https://octopus.com/blog/continuous-delivery-office-e9">CD Office Hours episode 9</a>, we discussed the compliance ratchet and how accelerating software development without the right practices can lead to an irreversible increase in controls. In this episode, we look at a classic software problem: the lure of the software rewrite and the inevitable hazards such endeavors bring.</p>
<p>When the cost to maintain the software and add new features becomes burdensome, a decision is often made to rewrite it rather than improve it “in place”. This is sometimes a valid approach, but more often it’s based on an exaggeration of how bad the code is and an understatement of the work involved.</p>
<p>In some cases, the qualities of the codebase that a team dislikes stem from an architectural decision they don’t understand, either because there’s no record of it or because the records aren’t put to use. In many cases, the layers of change applied to the code over time have made it messy and hard to comprehend.</p>
<p>When considering a big-bang rewrite, it is practically impossible to determine whether the rewrite is required or will provide a return on investment. That’s why big-bang rewrites have such a high failure rate and should be avoided.</p>
<h2 id="watch-the-episode">Watch the episode</h2>
<p><a href="https://www.youtube.com/watch?v=1CgHK2I7k1Y">Watch Continuous Delivery Office Hours Ep.10</a></p>
<h2 id="legacy-or-heritage">Legacy or heritage</h2>
<p>The term “legacy” has become associated with old and unusable software, but more often, legacy software is the long-running backbone of an organization. It captures vast institutional knowledge and endures for so long because it works. In many cases, software inevitably becomes legacy software, as the alternative is that it fails.</p>
<p>That’s why we prefer to use the term “heritage” software, as it’s an artifact of special value to the organization. The code for heritage software has captured not just the essence of the solution, but hundreds or even thousands of edge cases and enhancements based on years of learning.</p>
<h2 id="the-hazards-of-the-rewrite">The hazards of the rewrite</h2>
<p>Most codebases have parts that are untidy or don’t make sense. There’s a tipping point that makes us want to rewrite the whole thing, but this is often the wrong reaction. It’s very rare for the cost of maintenance to exceed the cost of wholesale replacement.</p>
<p>When teams consider a big-bang rewrite, they tend to estimate the task based on the obvious use cases. That means the new software is naturally cleaner, because it doesn’t handle any of the less obvious problems. When the new software version goes live, the team begins rediscovering the many edge cases that must be handled.</p>
<p>By the time these edge cases have been incorporated into the software, it has started to look complicated once more, because the complexity came from the domain rather than a careless implementation. The team may find more graceful ways to handle edge cases, but by this time, the rewrite will have vastly exceeded all estimates of effort and expense.</p>
<p>When the rewrite is complete, the organization will effectively be “back to square one”, which means they will have fallen behind the competition. That means the anticipated cost of maintenance and new features must be substantially lower to allow the software to catch up and pass competitor offerings.</p>
<p>Essentially, wholesale rewrites should be avoided; a different approach is needed.</p>
<h2 id="architectural-and-team-strategies">Architectural and team strategies</h2>
<p>The alternative to the big-bang rewrite is to identify a specific component to replace. You might take a calculation routine and move it out of a monolith into a service, creating the missing tests and refining the routines as you extract it. The result is a new, highly maintainable component and a slightly smaller monolith that calls it rather than doing the work itself.</p>
<p>This is the strangler fig pattern, named for the plants that cheat the competition for sunlight by growing high up on a host tree, eventually sending down their own roots and often remaining after the host tree has died and rotted away. In the same way, the heritage software can continue to support users while an increasing number of components are rewritten and deleted from the monolith.</p>
<p>You can use both domain-driven design and team topologies to inform your gradual rewrite. If you can identify a seam that would carve off a meaningful part of the domain and have a team that can own the domain and the component that serves it, you can create a meaningful interface for the software and improve the organization’s communication structure.</p>
<p>Combining the strangler fig pattern with architectural and team design results in teams with deep knowledge of their specific areas and the ability to move with relative independence. The number of teams you have can be instructive when considering how far you want to break down a monolith into cohesive components.</p>
<p>Wholesale rewrites invite disaster, but working in small steps and considering organizational design as well as architectural design is the path to success.</p>
<p>Happy deployments!</p>
<div class="hint"><p>Continuous Delivery Office Hours is a series of conversations about software delivery, with Tony Kelly, Bob Walker, and Steve Fenton.</p><p>You can find more episodes on <a href="https://www.youtube.com/playlist?list=PLAGskdGvlaw3CrxkUOAMmiy928lr5D4oh">YouTube</a>, <a href="https://podcasts.apple.com/us/podcast/continuous-delivery-office-hours/id1872101651">Apple Podcasts</a>, and <a href="https://pca.st/hwjaox59">Pocket Casts</a>.</p></div>]]></content>
    </entry>
</feed>