X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=5d48e1d318a45b0e5529c077b81b0f406d6727ad;hb=f1ca9d0ff0e189bc0c98831417e5b371ec033e16;hp=37ed70d66ba7ded2c34a35d9a0224c45c43eeb93;hpb=5e174f5369c8d24a081f37f8ea227c1fff8ebb0e;p=releng%2Fbuilder.git diff --git a/.coafile b/.coafile index 37ed70d66..5d48e1d31 100644 --- a/.coafile +++ b/.coafile @@ -1,13 +1,45 @@ -[default] -bears = SpaceConsistencyBear,GitCommitBear -files = scripts/* -allow_trailing_whitespace = False -enforce_newline_at_EOF = True -indent_size = 4 -use_spaces = yeah +[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 [YAML] bears = YAMLLintBear files = jjb/**/*.yaml,openstack-hot/**/*.yaml document_start = True yamllint_config = yamllint.conf + +[ShellCheck] +bears = ShellCheckBear,SpaceConsistencyBear +files = jenkins-scripts/**/*.sh, + jjb/**/*.sh, + scripts/**/*.sh +ignore = jenkins-scripts/*-local-env.sh, + jjb/global-jjb/shell/*.sh, + jjb/integration/include-raw-integration-compare-distributions.sh, + jjb/integration/include-raw-integration-configure-clustering.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-get-slave-addresses.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