Skip to content

Commit 5980d52

Browse files
Merge pull request #19 from cert-manager/self-upgrade-main
[CI] Merge self-upgrade-main into main
2 parents a55199c + 30fef88 commit 5980d52

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

klone.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,35 @@ targets:
99
- folder_name: boilerplate
1010
repo_url: https://github.com/cert-manager/makefile-modules.git
1111
repo_ref: main
12-
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
12+
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
1313
repo_path: modules/boilerplate
1414
- folder_name: generate-verify
1515
repo_url: https://github.com/cert-manager/makefile-modules.git
1616
repo_ref: main
17-
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
17+
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
1818
repo_path: modules/generate-verify
1919
- folder_name: go
2020
repo_url: https://github.com/cert-manager/makefile-modules.git
2121
repo_ref: main
22-
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
22+
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
2323
repo_path: modules/go
2424
- folder_name: help
2525
repo_url: https://github.com/cert-manager/makefile-modules.git
2626
repo_ref: main
27-
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
27+
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
2828
repo_path: modules/help
2929
- folder_name: klone
3030
repo_url: https://github.com/cert-manager/makefile-modules.git
3131
repo_ref: main
32-
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
32+
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
3333
repo_path: modules/klone
3434
- folder_name: repository-base
3535
repo_url: https://github.com/cert-manager/makefile-modules.git
3636
repo_ref: main
37-
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
37+
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
3838
repo_path: modules/repository-base
3939
- folder_name: tools
4040
repo_url: https://github.com/cert-manager/makefile-modules.git
4141
repo_ref: main
42-
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
42+
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
4343
repo_path: modules/tools

make/_shared/go/01_mod.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ generate-go-mod-tidy: | $(NEEDS_GO)
5858
shared_generate_targets += generate-go-mod-tidy
5959

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

71+
# Any closed-source or inaccessible Go modules that should be ignored by govulncheck; not needed
72+
# for most open-source projects.
73+
govulncheck_goprivate ?=
74+
7075
.PHONY: generate-govulncheck
7176
## Generate base files in the repository
7277
## @category [shared] Generate/ Verify
@@ -96,7 +101,7 @@ verify-govulncheck: | $(NEEDS_GOVULNCHECK)
96101
target=$$(dirname $${d}); \
97102
echo "Running 'GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(bin_dir)/tools/govulncheck ./...' in directory '$${target}'"; \
98103
pushd "$${target}" >/dev/null; \
99-
GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(GOVULNCHECK) ./... || exit; \
104+
GOPRIVATE=$(govulncheck_goprivate) GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(GOVULNCHECK) ./... || exit; \
100105
popd >/dev/null; \
101106
echo ""; \
102107
done

make/_shared/tools/00_mod.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ ADDITIONAL_TOOLS ?=
172172
tools += $(ADDITIONAL_TOOLS)
173173

174174
# https://go.dev/dl/
175-
VENDORED_GO_VERSION := 1.24.5
175+
VENDORED_GO_VERSION := 1.24.6
176176

177177
# Print the go version which can be used in GH actions
178178
.PHONY: print-go-version
@@ -394,10 +394,10 @@ $(call for_each_kv,go_dependency,$(go_dependencies))
394394
# File downloads #
395395
##################
396396

397-
go_linux_amd64_SHA256SUM=10ad9e86233e74c0f6590fe5426895de6bf388964210eac34a6d83f38918ecdc
398-
go_linux_arm64_SHA256SUM=0df02e6aeb3d3c06c95ff201d575907c736d6c62cfa4b6934c11203f1d600ffa
399-
go_darwin_amd64_SHA256SUM=2fe5f3866b8fbcd20625d531f81019e574376b8a840b0a096d8a2180308b1672
400-
go_darwin_arm64_SHA256SUM=92d30a678f306c327c544758f2d2fa5515aa60abe9dba4ca35fbf9b8bfc53212
397+
go_linux_amd64_SHA256SUM=bbca37cc395c974ffa4893ee35819ad23ebb27426df87af92e93a9ec66ef8712
398+
go_linux_arm64_SHA256SUM=124ea6033a8bf98aa9fbab53e58d134905262d45a022af3a90b73320f3c3afd5
399+
go_darwin_amd64_SHA256SUM=4a8d7a32052f223e71faab424a69430455b27b3fff5f4e651f9d97c3e51a8746
400+
go_darwin_arm64_SHA256SUM=4e29202c49573b953be7cc3500e1f8d9e66ddd12faa8cf0939a4951411e09a2a
401401

402402
.PRECIOUS: $(DOWNLOAD_DIR)/tools/go@$(VENDORED_GO_VERSION)_$(HOST_OS)_$(HOST_ARCH).tar.gz
403403
$(DOWNLOAD_DIR)/tools/go@$(VENDORED_GO_VERSION)_$(HOST_OS)_$(HOST_ARCH).tar.gz: | $(DOWNLOAD_DIR)/tools

0 commit comments

Comments
 (0)