Skip to content

feat: Add --runbook-tag flag to run multiple runbooks by tag#576

Merged
HuyPhanNguyen merged 9 commits intomainfrom
huy/2026/sc-132551-runbook-run-by-tag
Feb 13, 2026
Merged

feat: Add --runbook-tag flag to run multiple runbooks by tag#576
HuyPhanNguyen merged 9 commits intomainfrom
huy/2026/sc-132551-runbook-run-by-tag

Conversation

@HuyPhanNguyen
Copy link
Contributor

Summary

  • Adds --runbook-tag flag to run all runbooks matching specified tags in a single command.
  • Mutually exclusive with --name
  • Runs matching runbooks in parallel

Usage

octopus runbook run --project MyProject --runbook-tag "TagSet/Tag" --environment Dev

Output

  RUNBOOK          ENVIRONMENT  STATUS   TASK ID
  Runbook A        Development  Started  ServerTasks-123
  Runbook B        Development  Started  ServerTasks-124

  Successfully started: 2, Failed: 0

[sc-132551]

@HuyPhanNguyen HuyPhanNguyen requested a review from a team January 21, 2026 23:22
Copy link
Contributor

@grace-rehn grace-rehn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM, tested locally with db and git runbooks.

Copy link
Contributor

@hnrkndrssn hnrkndrssn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions and a question around new code path vs existing.

@HuyPhanNguyen HuyPhanNguyen merged commit 7eb348a into main Feb 13, 2026
4 checks passed
@HuyPhanNguyen HuyPhanNguyen deleted the huy/2026/sc-132551-runbook-run-by-tag branch February 13, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants