[VOL-5020] Update helm charts for repo:voltha-tracing
vars/getPodsInfo.groovy
-----------------------
o Add debugging
o Display ENTER/LEAVE banners when the script is called.
o Wrap logic in a try/catch/finally block to help expose
another silent failure source.
.groovylintrc.json
------------------
o Added an exclusion file to filter some basic opinion
based options that are filing the lint report.
jjb/verify/bbsim-sadis-server.yaml
jjb/verify/bbsim.yaml
----------------------------------
o *.yaml edit made for side effects.
o Regenerate JJB pipelines.
vars/iam.groovy
---------------
o Need to revisit this script, debugging flag added.
o Script creates a closure for invoking pipeline tasks.
o Automates wrapping task with try/catch/finally/ran-to-completion.
o Automates wrapping task with display of ENTER/LEAVE banner.
Change-Id: I1437c336a1fb75a7723c397716f07ce00c1d00ce
diff --git a/.groovylintrc.json b/.groovylintrc.json
new file mode 100644
index 0000000..3392108
--- /dev/null
+++ b/.groovylintrc.json
@@ -0,0 +1,46 @@
+{
+ "extends": "all",
+ "rules": {
+ "basic.DeadCode": "error",
+ "convention.CompileStatic": {
+ "severity": "info"
+ },
+ "convention.FieldTypeRequired": "info",
+ "convention.IfStatementCouldBeTernary": "info",
+ "convention.NoDef": "info",
+ "convention.TrailingComma": "off",
+ "convention.VariableTypeRequired": "info",
+ "dry.DuplicateListLiteral": "info",
+ "dry.DuplicateMapLiteral": "warning",
+ "dry.DuplicateNumberLiteral": {
+ "ignoreNumbers": [0, 1, 2, 3, -1],
+ "severity": "info"
+ },
+ "dry.DuplicateStringLiteral": "info",
+ "exceptions.ThrowException": "info",
+ "exceptions.ThrowNullPointerException": "info",
+ "exceptions.ThrowRuntimeException": "info",
+ "exceptions.ThrowThrowable": "info",
+ "formatting.BracesForClass": "info",
+ "formatting.BracesForForLoop": "info",
+ "formatting.BracesForIfElse": "off",
+ "formatting.BracesForMethod": "off",
+ "formatting.BracesForTryCatchFinally": "off",
+ "formatting.Indentation": {
+ "spacesPerIndentLevel": 4,
+ "severity": "info"
+ },
+ "formatting.SpaceAroundMapEntryColon": "off",
+ "groovyism.ExplicitCallToEqualsMethod": "info",
+ "logging.Println": "off",
+ "unused.UnusedArray": "error",
+ "unused.UnusedObject": "error",
+ "unused.UnusedPrivateField": "error",
+ "unused.UnusedPrivateMethod": "error",
+ "unused.UnusedPrivateMethodParameter": "error",
+ "unused.UnusedVariable": "error",
+ "unnecessary.UnnecessaryReturnKeyword": "off"
+ },
+ "see-also" : {
+ ".groovylintrc-recommended.json" : "https://github.com/nvuillam/npm-groovy-lint/blob/main/lib/.groovylintrc-recommended.json" }
+}