mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 13:33:40 +00:00
Support .yaml as file-ending for workflow config too (#1388)
This implements #1073, adds .yaml to the accepted endings for woodpecker configs. This currently adds some more lines to the duplication (tried to compensate by fixing the other duplication in the configFetcher) as the CLI and Server are still separate.
This commit is contained in:
@@ -22,6 +22,15 @@ var PrivilegedPlugins = []string{
|
||||
"woodpeckerci/plugin-docker-buildx",
|
||||
}
|
||||
|
||||
// DefaultConfigOrder represent the priority in witch woodpecker serarch for a pipeline config by default
|
||||
// folders are indicated by supplying a trailing /
|
||||
var DefaultConfigOrder = [...]string{
|
||||
".woodpecker/",
|
||||
".woodpecker.yml",
|
||||
".woodpecker.yaml",
|
||||
".drone.yml",
|
||||
}
|
||||
|
||||
const (
|
||||
DefaultCloneImage = "docker.io/woodpeckerci/plugin-git:v1.6.0"
|
||||
)
|
||||
|
Reference in New Issue
Block a user