Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,14 @@ format: ## Run goimports & gofmt

.PHONY: staticcheck
staticcheck: ## Run staticcheck linter
@staticcheck -version >/dev/null 2>&1 || go install honnef.co/go/tools/cmd/staticcheck@2022.1.3;
@staticcheck -version >/dev/null 2>&1 || go install honnef.co/go/tools/cmd/staticcheck@2025.1.1;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets use renovate if we can to avoid manually needing to manage this

staticcheck ./...

.PHONY: govulncheck
govulncheck:
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new govulncheck target is missing a description comment for the help system. Add '## Run govulncheck vulnerability scanner' after the target name to maintain consistency with other targets like staticcheck.

Suggested change
govulncheck:
govulncheck: ## Run govulncheck vulnerability scanner

Copilot uses AI. Check for mistakes.
@govulncheck -version >/dev/null 2>&1 || go install golang.org/x/vuln/cmd/[email protected];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets use renovate if we can to avoid manually needing to manage this

govulncheck ./...

.PHONY: test
test: ## Run GoLang tests
go test -tags=aws,helmunit -shuffle=on ./...
Expand Down Expand Up @@ -235,7 +240,11 @@ ubi-image-nap-dos-plus: build ## Create Docker image for Ingress Controller (UBI
--build-arg NAP_MODULES=waf,dos --build-arg NAP_WAF_VERSION=$(NAP_WAF_VERSION) --build-arg NAP_AGENT_VERSION=$(NAP_AGENT_VERSION)

.PHONY: all-images ## Create all the Docker images for Ingress Controller
all-images: alpine-image alpine-image-plus alpine-image-plus-fips alpine-image-nap-plus-fips debian-image debian-image-plus debian-image-nap-plus debian-image-dos-plus debian-image-nap-dos-plus ubi-image ubi-image-plus ubi-image-nap-plus ubi-image-dos-plus ubi-image-nap-dos-plus
all-images:
images="alpine-image alpine-image-plus alpine-image-plus-fips alpine-image-nap-plus-fips debian-image debian-image-plus debian-image-nap-plus debian-image-dos-plus debian-image-nap-dos-plus ubi-image ubi-image-plus ubi-image-nap-plus ubi-image-dos-plus ubi-image-nap-dos-plus"; \
for img in $$images; do \
TAG="$(strip $(TAG))-$$img" make $$img; \
done

.PHONY: patch-os
patch-os: ## Patch supplied image
Expand Down
Loading