Skip to content
Merged
Show file tree
Hide file tree
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
28 changes: 14 additions & 14 deletions klone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,70 +10,70 @@ targets:
- folder_name: boilerplate
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/boilerplate
- folder_name: cert-manager
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/cert-manager
- folder_name: controller-gen
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/controller-gen
- folder_name: generate-verify
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/generate-verify
- folder_name: go
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/go
- folder_name: helm
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/helm
- folder_name: help
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/help
- folder_name: kind
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/kind
- folder_name: klone
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/klone
- folder_name: licenses
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/licenses
- folder_name: oci-build
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/oci-build
- folder_name: oci-publish
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/oci-publish
- folder_name: repository-base
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/repository-base
- folder_name: tools
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
repo_path: modules/tools
11 changes: 5 additions & 6 deletions make/_shared/go/01_mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ generate-go-mod-tidy: | $(NEEDS_GO)

shared_generate_targets += generate-go-mod-tidy

default_govulncheck_generate_base_dir := $(dir $(lastword $(MAKEFILE_LIST)))/base/
ifndef govulncheck_skip

default_govulncheck_generate_base_dir := $(dir $(lastword $(MAKEFILE_LIST)))/base/
# The base directory used to copy the govulncheck GH action from. This can be
# overwritten with an action with extra authentication or with a totally different
# pipeline (eg. a GitLab pipeline).
Expand All @@ -68,10 +69,6 @@ govulncheck_generate_base_dir ?= $(default_govulncheck_generate_base_dir)
# being run on every fork of the repo.
govulncheck_generate_org ?= cert-manager

# Any closed-source or inaccessible Go modules that should be ignored by govulncheck; not needed
# for most open-source projects.
govulncheck_goprivate ?=

.PHONY: generate-govulncheck
## Generate base files in the repository
## @category [shared] Generate/ Verify
Expand Down Expand Up @@ -101,11 +98,13 @@ verify-govulncheck: | $(NEEDS_GOVULNCHECK)
target=$$(dirname $${d}); \
echo "Running 'GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(bin_dir)/tools/govulncheck ./...' in directory '$${target}'"; \
pushd "$${target}" >/dev/null; \
GOPRIVATE=$(govulncheck_goprivate) GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(GOVULNCHECK) ./... || exit; \
GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(GOVULNCHECK) ./... || exit; \
popd >/dev/null; \
echo ""; \
done

endif # govulncheck_skip

ifdef golangci_lint_config

.PHONY: generate-golangci-lint-config
Expand Down