Skip to content

Commit

Permalink
Merge pull request #14 from cert-manager/self-upgrade
Browse files Browse the repository at this point in the history
[CI] Merge self-upgrade into main
  • Loading branch information
jetstack-bot authored Jan 15, 2024
2 parents b8d5212 + 441858f commit 56b856f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
12 changes: 6 additions & 6 deletions klone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@ targets:
- folder_name: boilerplate
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 170011a316b4243134effad30cbc415a331baa97
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
repo_path: modules/boilerplate
- folder_name: generate-verify
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 170011a316b4243134effad30cbc415a331baa97
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
repo_path: modules/generate-verify
- folder_name: help
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 170011a316b4243134effad30cbc415a331baa97
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
repo_path: modules/help
- folder_name: klone
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 170011a316b4243134effad30cbc415a331baa97
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
repo_path: modules/klone
- folder_name: oci-image
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 170011a316b4243134effad30cbc415a331baa97
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
repo_path: modules/oci-image
- folder_name: repository-base
repo_url: https://github.com/cert-manager/makefile-modules.git
Expand All @@ -40,5 +40,5 @@ targets:
- folder_name: tools
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 170011a316b4243134effad30cbc415a331baa97
repo_hash: dc8ce162c76ca7b95f80157aefa4afb9d2783b82
repo_path: modules/tools
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Shared targets are set by other Makefile modules.
shared_generate_targets ?=
shared_verify_targets_dirty ?=

# Extra targets are set by the Makefiles in the project.
extra_generate_targets ?=
extra_verify_targets ?=
extra_verify_targets_dirty ?=
8 changes: 4 additions & 4 deletions make/_shared/help/help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ CATEGORY_COLOR="$(tput setaf 3)"
CLEAR_STYLE="$(tput sgr0)"
PURPLE=$(tput setaf 125)

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

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

Expand Down
8 changes: 7 additions & 1 deletion make/_shared/tools/00_mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ TOOLS += oras=v1.1.0
TOOLS += ginkgo=$(shell [[ -f go.mod ]] && awk '/ginkgo\/v2/ {print $$2}' go.mod || echo "v2.13.2")
# https://pkg.go.dev/github.com/cert-manager/klone?tab=versions
TOOLS += klone=v0.0.3
# https://pkg.go.dev/github.com/goreleaser/goreleaser?tab=versions
TOOLS += goreleaser=v1.23.0
# https://pkg.go.dev/github.com/anchore/syft/cmd/syft?tab=versions
TOOLS += syft=v0.100.0

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

# https://go.dev/dl/
VENDORED_GO_VERSION := 1.21.5
VENDORED_GO_VERSION := 1.21.6

# Print the go version which can be used in GH actions
.PHONY: print-go-version
Expand Down Expand Up @@ -262,6 +266,8 @@ GO_DEPENDENCIES += boilersuite=github.com/cert-manager/boilersuite
GO_DEPENDENCIES += gomarkdoc=github.com/princjef/gomarkdoc/cmd/gomarkdoc
GO_DEPENDENCIES += oras=oras.land/oras/cmd/oras
GO_DEPENDENCIES += klone=github.com/cert-manager/klone
GO_DEPENDENCIES += goreleaser=github.com/goreleaser/goreleaser
GO_DEPENDENCIES += syft=github.com/anchore/syft/cmd/syft

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

0 comments on commit 56b856f

Please sign in to comment.