Allow the validation tool to read test config from a yaml file. To help
users, also allow outputting a config file with default values and
comments instructing how to use the config file.
This work is in anticipation of adding more advanced configuration
options that would be too cumbersome to set using cli flags.
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit f8d9076a38)
55 lines
838 B
JSON
55 lines
838 B
JSON
{
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
],
|
|
"rules": {
|
|
"type-enum": [
|
|
2,
|
|
"always",
|
|
[
|
|
"block",
|
|
"bot",
|
|
"build",
|
|
"cephfsmirror",
|
|
"ci",
|
|
"core",
|
|
"csi",
|
|
"docs",
|
|
"external",
|
|
"file",
|
|
"helm",
|
|
"manifest",
|
|
"mds",
|
|
"mgr",
|
|
"mon",
|
|
"monitoring",
|
|
"multus",
|
|
"nfs",
|
|
"object",
|
|
"operator",
|
|
"osd",
|
|
"pool",
|
|
"rbdmirror",
|
|
"rgw",
|
|
"security",
|
|
"subvolumegroup",
|
|
"namespace",
|
|
"test",
|
|
"webhook"
|
|
]
|
|
],
|
|
"body-leading-blank": [
|
|
2,
|
|
"always"
|
|
],
|
|
"footer-leading-blank": [
|
|
2,
|
|
"always"
|
|
],
|
|
"body-max-line-length": [
|
|
0,
|
|
"always"
|
|
]
|
|
}
|
|
}
|