first-commit

This commit is contained in:
2025-08-25 15:46:12 +08:00
commit f4d95dfff4
5665 changed files with 705359 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package setting
var Runner = struct {
AutoStart bool
Count int
Image string
}{}
func loadRunnerSettingsFrom(rootCfg ConfigProvider) {
sec := rootCfg.Section("runners")
Runner.AutoStart = sec.Key("AUTO_START").MustBool(true)
Runner.Count = sec.Key("RUNNER_COUNT").MustInt(1)
Runner.Image = sec.Key("RUNNER_IMAGE").MustString("devstar.cn/devstar/act_runner:latest")
}