Skip to content

Commit 422a0df

Browse files
committed
ci(ci): add gitleaks to matrix make build
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
1 parent 7747711 commit 422a0df

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

‎scanners/gitleaks/Makefile‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,13 @@ scanner = gitleaks
1010
custom_scanner = set
1111

1212
include ../../scanners.mk
13+
14+
deploy-with-scanner:
15+
helm -n integration-tests install gitleaks ./ \
16+
--set="scanner.image.repository=docker.io/${IMG_NS}/${scanner-prefix}-gitleaks" \
17+
--set="scanner.image.tag=${IMG_TAG}" \
18+
--set="parser.image.repository=docker.io/${IMG_NS}/${parser-prefix}-gitleaks" \
19+
--set="parser.image.tag=sha-${IMG_TAG}" \
20+
--set="parser.env[0].name=CRASH_ON_FAILED_VALIDATION" \
21+
--set-string="parser.env[0].value=true"
22+

tests/integration/scanner/gitleaks.test.js renamed to scanners/gitleaks/integration-tests/gitleaks.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// SPDX-License-Identifier: Apache-2.0
44

5-
const { scan } = require("../helpers");
5+
const { scan } = require("../../../tests/integration/helpers");
66

77
jest.retryTimes(3);
88

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)