feat: add Run runbook step - #229
Merged
Merged
Conversation
NickJosevski
force-pushed
the
feat/178-run-runbook-step
branch
from
August 13, 2026 03:19
43cc7bc to
67bc7c4
Compare
NickJosevski
force-pushed
the
feat/178-run-runbook-step
branch
2 times, most recently
from
August 18, 2026 05:25
ae45237 to
d6d0d1d
Compare
NickJosevski
marked this pull request as ready for review
August 19, 2026 02:17
Adds an "OctopusDeploy: Run runbook" build step so a TeamCity build can run an Octopus runbook, closing the gap where only releases could be deployed. Closes #178 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
NickJosevski
force-pushed
the
feat/178-run-runbook-step
branch
from
August 20, 2026 00:46
d6d0d1d to
c2b25da
Compare
sathvikkumar-octo
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #178
The plugin can create, deploy and promote releases, but there is no way to run a runbook from a TeamCity build. Both the legacy
octoand the newoctopusCLI already support it.This PR:
octo run-runbookby default, andoctopus runbook runfollowed bytask waitwhen the new CLI is selectedVerified end to end against real containers (TeamCity 2025.03.3, Octopus 2025.4) and against Octopus 2026.2 (locally): the step runs a runbook and waits for it, and the run shows up in Octopus. Covered both the published snapshot and an explicitly named one. Both CLIs' flags were checked against a local Octopus first.