documentation

This commit is contained in:
2026-01-12 22:30:51 +08:00
parent ce5c764402
commit 6f0493dfba
4 changed files with 211 additions and 68 deletions

View File

@@ -107,12 +107,17 @@ spec:
description: Repo is required if scope is 'repo'
type: string
scope:
description: Scope defines the scope of the runner (global, org, repo)
description: Scope defines the scope of the runner (global, org, user,
repo)
enum:
- global
- org
- user
- repo
type: string
user:
description: User is required if scope is 'user'
type: string
required:
- authToken
- giteaURL

View File

@@ -24,8 +24,8 @@ spec:
# Scope of the runners (global, org, or repo)
scope: "org"
org: "bapung" # Required if scope is 'org' or 'repo'
user: "" # Required if scope is 'user' or 'repo'
#org: "bapungorg" # Required if scope is 'org' or 'repo'; cannot be used with user
user: "bapung" # Required if scope is 'user' or 'repo'; cannot be used with org
#repo: "dummy-service-workflow" # Required if scope is 'repo'
# Labels to identify this runner group