Commit 085279b5 authored by Mike Hoang's avatar Mike Hoang
Browse files

feat(secrets leaks): added lint step for checking secret data leaks

parent eaceb8ad
Pipeline #30780 passed with stages
in 8 minutes and 38 seconds
......@@ -22,6 +22,9 @@ code-style-check:
helm-lint:
extends: .helm-lint-template
secrets-leaks-check:
extends: .secrets-leaks-check-template
helm-kubeval:
extends: .helm-kubeval-template
......
......@@ -131,6 +131,12 @@ version:
git log --oneline --no-decorate --no-merges $(GIT_TAG)..HEAD >> Changelog-$(VERSION).txt
git tag -a -e -F Changelog-$(VERSION).txt $(VERSION)
## Secrets leaks check
secrets-leaks-check: LEAKS_IMG = zricethezav/gitleaks:latest
secrets-leaks-check:
docker pull $(LEAKS_IMG)
docker run -v ${PWD}:/protocol-repo $(LEAKS_IMG) --path="/protocol-repo"
## Shows help. | Help
help:
@echo ''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment