mirror of
https://github.com/goharbor/harbor
synced 2025-04-13 20:34:58 +00:00
deprecate gosec in makefile (#19828)
remove the unused the part from makefile Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
80930daaac
commit
8c0f177299
10
Makefile
10
Makefile
|
@ -452,16 +452,6 @@ package_offline: update_prepare_version compile build
|
|||
@rm -rf $(HARBORPKG)
|
||||
@echo "Done."
|
||||
|
||||
gosec:
|
||||
#go get github.com/securego/gosec/cmd/gosec
|
||||
#go get github.com/dghubble/sling
|
||||
@echo "run secure go scan ..."
|
||||
@if [ "$(GOSECRESULTS)" != "" ] ; then \
|
||||
$(GOPATH)/bin/gosec -fmt=json -out=$(GOSECRESULTS) -quiet ./... | true ; \
|
||||
else \
|
||||
$(GOPATH)/bin/gosec -fmt=json -out=harbor_gas_output.json -quiet ./... | true ; \
|
||||
fi
|
||||
|
||||
go_check: gen_apis mocks_check misspell commentfmt lint
|
||||
|
||||
commentfmt:
|
||||
|
|
Loading…
Reference in New Issue
Block a user