Skip to content

Commit 56b856f

Browse files
authored
Merge pull request #14 from cert-manager/self-upgrade
[CI] Merge self-upgrade into main
2 parents b8d5212 + 441858f commit 56b856f

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
lines changed

klone.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ targets:
1010
- folder_name: boilerplate
1111
repo_url: https://github.com/cert-manager/makefile-modules.git
1212
repo_ref: main
13-
repo_hash: 170011a316b4243134effad30cbc415a331baa97
13+
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
1414
repo_path: modules/boilerplate
1515
- folder_name: generate-verify
1616
repo_url: https://github.com/cert-manager/makefile-modules.git
1717
repo_ref: main
18-
repo_hash: 170011a316b4243134effad30cbc415a331baa97
18+
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
1919
repo_path: modules/generate-verify
2020
- folder_name: help
2121
repo_url: https://github.com/cert-manager/makefile-modules.git
2222
repo_ref: main
23-
repo_hash: 170011a316b4243134effad30cbc415a331baa97
23+
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
2424
repo_path: modules/help
2525
- folder_name: klone
2626
repo_url: https://github.com/cert-manager/makefile-modules.git
2727
repo_ref: main
28-
repo_hash: 170011a316b4243134effad30cbc415a331baa97
28+
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
2929
repo_path: modules/klone
3030
- folder_name: oci-image
3131
repo_url: https://github.com/cert-manager/makefile-modules.git
3232
repo_ref: main
33-
repo_hash: 170011a316b4243134effad30cbc415a331baa97
33+
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
3434
repo_path: modules/oci-image
3535
- folder_name: repository-base
3636
repo_url: https://github.com/cert-manager/makefile-modules.git
@@ -40,5 +40,5 @@ targets:
4040
- folder_name: tools
4141
repo_url: https://github.com/cert-manager/makefile-modules.git
4242
repo_ref: main
43-
repo_hash: 170011a316b4243134effad30cbc415a331baa97
43+
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
4444
repo_path: modules/tools

make/_shared/generate-verify/01_mod.mk renamed to make/_shared/generate-verify/00_mod.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# Shared targets are set by other Makefile modules.
16+
shared_generate_targets ?=
17+
shared_verify_targets_dirty ?=
18+
19+
# Extra targets are set by the Makefiles in the project.
1520
extra_generate_targets ?=
1621
extra_verify_targets ?=
1722
extra_verify_targets_dirty ?=

make/_shared/help/help.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ CATEGORY_COLOR="$(tput setaf 3)"
2121
CLEAR_STYLE="$(tput sgr0)"
2222
PURPLE=$(tput setaf 125)
2323

24-
EMPTYLINE_REGEX="^\s*$"
25-
DOCBLOCK_REGEX="^##\s*(.*)$"
26-
CATEGORY_REGEX="^##\s*@category\s*(.*)$"
27-
TARGET_REGEX="^([a-zA-Z0-9\_\/\%\$\-\(\)]+):.*$"
24+
EMPTYLINE_REGEX="^[[:space:]]*$"
25+
DOCBLOCK_REGEX="^##[[:space:]]*(.*)$"
26+
CATEGORY_REGEX="^##[[:space:]]*@category[[:space:]]*(.*)$"
27+
TARGET_REGEX="^(([a-zA-Z0-9\_\/\%\$\(\)]|-)+):.*$"
2828

2929
EMPTY_ITEM="<start-category><end-category><start-target><end-target><start-comment><end-comment>"
3030

make/_shared/tools/00_mod.mk

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ TOOLS += oras=v1.1.0
9090
TOOLS += ginkgo=$(shell [[ -f go.mod ]] && awk '/ginkgo\/v2/ {print $$2}' go.mod || echo "v2.13.2")
9191
# https://pkg.go.dev/github.com/cert-manager/klone?tab=versions
9292
TOOLS += klone=v0.0.3
93+
# https://pkg.go.dev/github.com/goreleaser/goreleaser?tab=versions
94+
TOOLS += goreleaser=v1.23.0
95+
# https://pkg.go.dev/github.com/anchore/syft/cmd/syft?tab=versions
96+
TOOLS += syft=v0.100.0
9397

9498
# https://pkg.go.dev/k8s.io/code-generator/cmd?tab=versions
9599
K8S_CODEGEN_VERSION=v0.29.0
@@ -100,7 +104,7 @@ TOOLS += etcd=$(KUBEBUILDER_ASSETS_VERSION)
100104
TOOLS += kube-apiserver=$(KUBEBUILDER_ASSETS_VERSION)
101105

102106
# https://go.dev/dl/
103-
VENDORED_GO_VERSION := 1.21.5
107+
VENDORED_GO_VERSION := 1.21.6
104108

105109
# Print the go version which can be used in GH actions
106110
.PHONY: print-go-version
@@ -262,6 +266,8 @@ GO_DEPENDENCIES += boilersuite=github.com/cert-manager/boilersuite
262266
GO_DEPENDENCIES += gomarkdoc=github.com/princjef/gomarkdoc/cmd/gomarkdoc
263267
GO_DEPENDENCIES += oras=oras.land/oras/cmd/oras
264268
GO_DEPENDENCIES += klone=github.com/cert-manager/klone
269+
GO_DEPENDENCIES += goreleaser=github.com/goreleaser/goreleaser
270+
GO_DEPENDENCIES += syft=github.com/anchore/syft/cmd/syft
265271

266272
define go_dependency
267273
$$(bin_dir)/downloaded/tools/$1@$($(call UC,$1)_VERSION)_%: | $$(NEEDS_GO) $$(bin_dir)/downloaded/tools

0 commit comments

Comments
 (0)