正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab runner-controller scope create

Create a scope for a runner controller. (EXPERIMENTAL)

Synopsis

Creates a scope for a runner controller. This is an administrator-only feature.

Only instance-level scopes are supported. Use the --instance flag to add an instance-level scope. With an instance-level scope, the runner controller can evaluate jobs for all runners in the GitLab instance.

This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

glab runner-controller scope create <controller-id> [flags]

Examples

# Add an instance-level scope to runner controller 42
$ glab runner-controller scope create 42 --instance

# Add an instance-level scope and output as JSON
$ glab runner-controller scope create 42 --instance --output json

Options

      --instance        Add an instance-level scope.
  -F, --output string   Format output as: text, json. (default "text")

Options inherited from parent commands

  -h, --help   Show help for this command.