Skip to content

Commit

Permalink
chore: Remove obsolete Make target adjust-install-gosec.sh (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1404 authored Nov 8, 2024
1 parent 7f43084 commit 366f39b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,10 @@ integrationtests: $(GINKGO)
docker-images:
@docker build -t $(IMAGE_REPOSITORY):$(IMAGE_TAG) -f Dockerfile --target dns-controller-manager .

# TODO(martinweindel): Remove once https://github.com/gardener/gardener/pull/10642 is available as release.
TOOLS_PKG_PATH := $(shell go list -tags tools -f '{{ .Dir }}' github.com/gardener/gardener/hack/tools 2>/dev/null)
.PHONY: adjust-install-gosec.sh
adjust-install-gosec.sh:
@chmod +xw $(TOOLS_PKG_PATH)/install-gosec.sh

.PHONY: sast
sast: adjust-install-gosec.sh $(GOSEC)
sast: $(GOSEC)
@./hack/sast.sh

.PHONY: sast-report
sast-report: adjust-install-gosec.sh $(GOSEC)
sast-report: $(GOSEC)
@./hack/sast.sh --gosec-report true

0 comments on commit 366f39b

Please sign in to comment.