CLI reference: sparkwing pools

CLI reference: sparkwing pools

Every sparkwing pools command, flag, and argument, generated from the CLI's own command registry. All command groups are indexed in cli-reference.md.

sparkwing poolsSection anchor link

Manage team runner pools

SubcommandsSection anchor link

  • allow -- Allow a repository and branch to use a pool
  • disallow -- Remove a pool access rule
  • list -- List runner pools

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing pools allowSection anchor link

Allow a repository and branch to use a pool

Require independently verified repository authority; a typed repository or branch grants no trust.

Create a rule through the team-admin route with an idempotency key. JSON preserves the rule and replay result; plain emits its ID.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--pool POOLRunner pool name. (required)
--repo REPOGitHub repositories the rule admits, as owner/name; each must be reachable through the team's GitHub App, and naming one grants nothing on its own. Repeatable; comma-separated values are accepted. (required)
--branch BRANCHBranch name patterns the rule admits, with * and ? wildcards that do not cross a slash; omitted, every ref of the repositories qualifies, tags included. Repeatable; comma-separated values are accepted.
--source SOURCEAdmit only runs that a GitHub App webhook delivery started; omitted, schedules whose commit the GitHub App resolved also qualify, while runs proved by GitHub Actions or fetched by the controller never do. Values: github.
--routeAlso keep runs from the matching repositories and branches that select no runner on this pool's self-hosted runners instead of Sparkwing Cloud.
--profile PROFILEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing pools disallowSection anchor link

Remove a pool access rule

Delete the selected pool rule through the team-admin route. JSON retains whether it was deleted or already absent; plain emits the rule ID.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--pool POOLRunner pool name. (required)
--rule RULEID of the pool rule to delete, as pools list shows it. (required)
--profile PROFILEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing pools listSection anchor link

List runner pools

Read controller-granted reservations and access rules. JSON emits each pool with its runners and rules; plain emits pool names.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--profile PROFILEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.