Skip to content

Commit 34d2aa1

Browse files
nickboldtrhdh-bot
andauthored
chore: disable pointless warnings about tags+digests in dockerfile/containerfile FROM lines (#5076)
* chore: disable pointless warnings about tags+digests in dockerfile/containerfile FROM lines Signed-off-by: rhdh-bot <rhdh-bot@redhat.com> * clarify that this rule is for 1.9; add second rule for 1.10 Signed-off-by: rhdh-bot <rhdh-bot@redhat.com> --------- Signed-off-by: rhdh-bot <rhdh-bot@redhat.com> Co-authored-by: rhdh-bot <rhdh-bot@redhat.com>
1 parent 5fc0911 commit 34d2aa1

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.sonarcloud.properties

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# add test files to analysis scope
1+
# add test files to analysis scope
22
sonar.sources = .
33
sonar.tests= .
44

@@ -10,3 +10,13 @@ sonar.exclusions = e2e-tests/**/*, **/*.test.*
1010

1111
# comma delimited path of files to exclude from copy/paste duplicate checking
1212
sonar.cpd.exclusions=packages/app/src/components/DynamicRoot/DynamicRoot.test.tsx,packages/app/src/components/admin/AdminTabs.test.tsx,packages/app/src/components/catalog/EntityPage/defaultTabs.tsx,e2e-tests/playwright/e2e/audit-log/LogUtils.ts
13+
14+
# TODO remove this when 1.9 is EOL
15+
sonar.issue.ignore.multicriteria=e1,e2
16+
sonar.issue.ignore.multicriteria.e1.ruleKey=docker:S8431
17+
# ignore .rhdh/docker/Dockerfile and docker/Dockerfile from the 1.9 branch
18+
sonar.issue.ignore.multicriteria.e1.resourceKey=**/docker/Dockerfile
19+
20+
# ignore containerfiles in 1.10+
21+
sonar.issue.ignore.multicriteria.e2.ruleKey=docker:S8431
22+
sonar.issue.ignore.multicriteria.e2.resourceKey=**/Containerfile

0 commit comments

Comments
 (0)