Skip to content

Commit

Permalink
Add vulncheck targets to makefiles (#3749)
Browse files Browse the repository at this point in the history
This lets us easily get an idea of any potential library updates
needed to fix known security issues.
  • Loading branch information
justinsb committed Jan 24, 2023
1 parent 852b7cd commit 3c8e2ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,8 @@ release-ci:
$(GORELEASER_IMAGE) \
-f "$(GORELEASER_CONFIG)" release \
--skip-validate

.PHONY: vulncheck
vulncheck: build
# Scan the source
GOFLAGS= go run golang.org/x/vuln/cmd/govulncheck@latest ./...
5 changes: 5 additions & 0 deletions porch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -268,3 +268,8 @@ run-in-kind:
kubectl rollout status deployment function-runner --namespace porch-system
kubectl rollout status deployment porch-controllers --namespace porch-system
kubectl rollout status deployment porch-server --namespace porch-system

.PHONY: vulncheck
vulncheck: build
# Scan the source
GOFLAGS= go run golang.org/x/vuln/cmd/govulncheck@latest ./...

0 comments on commit 3c8e2ac

Please sign in to comment.