All checks were successful
ci/woodpecker/tag/release Pipeline was successful
19 lines
653 B
Go
19 lines
653 B
Go
package config
|
|
|
|
// Default filesystem locations for pipeline configuration lookup when --config
|
|
// is omitted. Order is highest to lowest precedence.
|
|
const (
|
|
DefaultPipelineConfigPathUsrLocal = "/usr/local/etc/narratio/pipeline.yml"
|
|
DefaultPipelineConfigPathEtc = "/etc/narratio/pipeline.yml"
|
|
)
|
|
|
|
// DefaultPipelineConfigSearchPaths defines the default search order for
|
|
// pipeline.yml when callers do not provide an explicit path.
|
|
//
|
|
// Keep this in a variable so future defaults can be extended without changing
|
|
// call sites.
|
|
var DefaultPipelineConfigSearchPaths = []string{
|
|
DefaultPipelineConfigPathUsrLocal,
|
|
DefaultPipelineConfigPathEtc,
|
|
}
|