mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-14 12:36:30 +00:00
c28f7cb29f
Initial part of #435
37 lines
1.1 KiB
Go
37 lines
1.1 KiB
Go
package config
|
|
|
|
import "time"
|
|
|
|
type Run struct {
|
|
IsVerbose bool `mapstructure:"verbose"`
|
|
Silent bool
|
|
CPUProfilePath string
|
|
MemProfilePath string
|
|
TracePath string
|
|
Concurrency int
|
|
PrintResourcesUsage bool `mapstructure:"print-resources-usage"`
|
|
|
|
Config string
|
|
NoConfig bool
|
|
|
|
Args []string
|
|
|
|
BuildTags []string `mapstructure:"build-tags"`
|
|
ModulesDownloadMode string `mapstructure:"modules-download-mode"`
|
|
|
|
ExitCodeIfIssuesFound int `mapstructure:"issues-exit-code"`
|
|
AnalyzeTests bool `mapstructure:"tests"`
|
|
|
|
// Deprecated: Deadline exists for historical compatibility
|
|
// and should not be used. To set run timeout use Timeout instead.
|
|
Deadline time.Duration
|
|
Timeout time.Duration
|
|
|
|
PrintVersion bool
|
|
SkipFiles []string `mapstructure:"skip-files"`
|
|
SkipDirs []string `mapstructure:"skip-dirs"`
|
|
UseDefaultSkipDirs bool `mapstructure:"skip-dirs-use-default"`
|
|
|
|
AllowParallelRunners bool `mapstructure:"allow-parallel-runners"`
|
|
AllowSerialRunners bool `mapstructure:"allow-serial-runners"`
|
|
}
|