Update validate autorelease projects for nitrogen
[releng/builder.git] / .coafile
index 6802f48afea3349f6b8aee0b5ffdf1252ecf0f0d..70e0137607c70c1902c6dda2226b40cfb049778b 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -1,8 +1,36 @@
-[default]
-bears = SpaceConsistencyBear,GitCommitBear
-files = scripts/*
-allow_trailing_whitespace = False
-enforce_newline_at_EOF = True
+[GitCommit]
+bears = GitCommitBear
+ignore_length_regex = Signed-off-by,
+    Also-by,
+    Co-authored-by,
+    http://,
+    https://
+
+[JSON]
+bears = JSONFormatBear
+files = **/*.json
+ignore = .*/**
+indent_size = 2
+
+[ShellCheck]
+bears = ShellCheckBear,SpaceConsistencyBear
+files = **/*.sh
+ignore = .git/**,
+    .tox/**,
+    jenkins-scripts/*-local-env.sh,
+    jjb/integration/include-raw-integration-deploy-controller-offline.sh,
+    jjb/integration/include-raw-integration-deploy-controller-run-test.sh,
+    jjb/integration/include-raw-integration-deploy-controller-verify.sh,
+    jjb/integration/include-raw-integration-deploy-openstack-run-test.sh,
+    jjb/integration/include-raw-integration-distribution-check.sh,
+    jjb/integration/include-raw-integration-get-bundle-vars.sh,
+    jjb/integration/include-raw-integration-list-jobs.sh,
+    jjb/integration/include-raw-integration-multipatch-distribution-test.sh,
+    jjb/integration/include-raw-integration-replace-block-text.sh,
+    jjb/integration/include-raw-integration-start-cluster-run-test.sh,
+    jjb/integration/include-raw-integration-replace-block-text.sh,
+    jjb/integration/include-raw-integration-start-cluster-run-test.sh
+shell = bash
 indent_size = 4
 use_spaces = yeah
 
@@ -11,11 +39,3 @@ bears = YAMLLintBear
 files = jjb/**/*.yaml,openstack-hot/**/*.yaml
 document_start = True
 yamllint_config = yamllint.conf
-
-[ShellCheck]
-bears = ShellCheckBear
-files = jenkins-scripts/**/*.sh,
-    jjb/**/*.sh,
-    scripts/**/*.sh
-ignore = jjb/integration/*.sh
-shell = bash