Woodpecker
kind: woodpecker
Description
The woodpecker Autodiscovery plugin allows to automatically search and update content in Woodpecker CI/CD configuration file.
Manifests
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| auths | object | auths provides a map of registry credentials where the key is the registry URL without scheme if empty, updatecli relies on OCI credentials such as the one used by Docker. example:
|
|
| password | string | password specifies the container registry password to use for authentication. Not compatible with token
|
|
| token | string | token specifies the container registry token to use for authentication.
|
|
| username | string | username specifies the container registry username to use for authentication.
|
|
| digest | boolean | digest provides parameters to specify if the generated manifest should use a digest on top of the tag. | |
| filematch | array | FileMatch allows to override default Woodpecker workflow file matching.
Default [".woodpecker.yml", ".woodpecker.yaml", ".woodpecker/*.yml", ".woodpecker/*.yaml", ".woodpecker/**/*.yml", ".woodpecker/**/*.yaml"] |
|
| ignore | array | ignore allows to specify rule to ignore autodiscovery a specific Woodpecker workflow based on a rule | |
| images | array | Images specifies a list of docker images | |
| path | string | Path specifies a Woodpecker workflow path pattern, the pattern requires to match all of name, not just a substring. | |
| only | array | only allows to specify rule to only autodiscover manifest for a specific Woodpecker workflow based on a rule | |
| images | array | Images specifies a list of docker images | |
| path | string | Path specifies a Woodpecker workflow path pattern, the pattern requires to match all of name, not just a substring. | |
| rootdir | string | rootDir defines the root directory used to recursively search for Woodpecker workflow files If rootDir is not provided, the current working directory will be used. If rootDir is provided as an absolute path, scmID will be ignored. If rootDir is not provided but a scmid is, then rootDir will be set to the git repository root directory. | |
| versionfilter | object |
kind - semver
versionfilter of kind kind - regex
versionfilter of kind example:
and its type like regex, semver, or just latest. More examples can be found at https://www.updatecli.io/docs/core/versionfilter/ |
|
| kind | string | specifies the version kind such as semver, regex, or latest | |
| pattern | string | specifies the version pattern according the version kind for semver, it is a semver constraint for regex, it is a regex pattern for time, it is a date format | |
| regex | string | specifies the regex pattern, used for regex/semver and regex/time. Output of the first capture group will be used. | |
| replaceall | object | replaceAll applies a regex replacement to version strings before filtering. This is useful for transforming versions (e.g., curl-8_15_0 to curl-8.15.0) before regex extraction. | |
| pattern | string | Pattern specifies the regex pattern to match for replacement | |
| replacement | string | Replacement specifies the replacement string (supports $1, $2, etc. for captured groups) | |
| strict | boolean | strict enforce strict versioning rule. Only used for semantic versioning at this time |
Example
autodiscovery:
crawlers:
woodpecker: