Skip to content

Commit

Permalink
Merge pull request #492 from cert-manager/self-upgrade-main
Browse files Browse the repository at this point in the history
[CI] Merge self-upgrade-main into main
  • Loading branch information
cert-manager-prow[bot] authored Feb 1, 2025
2 parents f7f8a38 + daf51a4 commit 6c55d80
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
26 changes: 13 additions & 13 deletions klone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,65 +10,65 @@ targets:
- folder_name: boilerplate
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/boilerplate
- folder_name: cert-manager
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/cert-manager
- folder_name: controller-gen
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/controller-gen
- folder_name: generate-verify
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/generate-verify
- folder_name: go
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/go
- folder_name: helm
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/helm
- folder_name: help
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/help
- folder_name: kind
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/kind
- folder_name: klone
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/klone
- folder_name: oci-build
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/oci-build
- folder_name: oci-publish
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/oci-publish
- folder_name: repository-base
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/repository-base
- folder_name: tools
repo_url: https://github.com/cert-manager/makefile-modules.git
repo_ref: main
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
repo_path: modules/tools
2 changes: 2 additions & 0 deletions make/_shared/oci-build/00_mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ go_$1_goexperiment ?= $(GOEXPERIMENT)
go_$1_flags ?= -tags=
oci_$1_additional_layers ?=
oci_$1_linux_capabilities ?=
oci_$1_image_annotation ?=
oci_$1_image_label ?=
endef

$(foreach build_name,$(build_names),$(eval $(call default_per_build_variables,$(build_name))))
Expand Down
2 changes: 2 additions & 0 deletions make/_shared/oci-build/01_mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ $(oci_build_targets): oci-build-%: ko-config-% | $(NEEDS_KO) $(NEEDS_GO) $(NEEDS
LDFLAGS="$(go_$*_ldflags)" \
$(KO) build $(go_$*_mod_dir)/$(go_$*_main_dir) \
--platform=$(oci_platforms) \
--image-annotation=$(oci_$*_image_annotation) \
--image-label=$(oci_$*_image_label) \
--oci-layout-path=$(oci_layout_path_$*) \
--sbom-dir=$(CURDIR)/$(oci_layout_path_$*).sbom \
--sbom=spdx \
Expand Down
10 changes: 5 additions & 5 deletions make/_shared/tools/00_mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ tools += kyverno=v1.12.5
# https://github.com/mikefarah/yq/releases
tools += yq=v4.44.3
# https://github.com/ko-build/ko/releases
tools += ko=0.16.0
tools += ko=0.17.1
# https://github.com/protocolbuffers/protobuf/releases
tools += protoc=27.3
# https://github.com/aquasecurity/trivy/releases
Expand Down Expand Up @@ -503,10 +503,10 @@ $(DOWNLOAD_DIR)/tools/yq@$(YQ_VERSION)_$(HOST_OS)_$(HOST_ARCH): | $(DOWNLOAD_DIR
$(checkhash_script) $(outfile) $(yq_$(HOST_OS)_$(HOST_ARCH)_SHA256SUM); \
chmod +x $(outfile)

ko_linux_amd64_SHA256SUM=aee2caeced511e60c6889a4cfaf9ebe28ec35acb49531b7a90b09e0a963bcff7
ko_linux_arm64_SHA256SUM=45b6ba20084b2199c63dcc738c54f7f6c37ea4e9c7f79eefc286d9947b11d0d1
ko_darwin_amd64_SHA256SUM=5c98d0229fd2a82cc69510705b74a7196fc184641693930b0f9282b6d1f79d95
ko_darwin_arm64_SHA256SUM=9c75b97f26ba98c62a86f3b39e2c74ced6c97092f301cd73fe4e5b3e16261698
ko_linux_amd64_SHA256SUM=4f0b979b59880b3232f47d79c940f2279165aaad15a11d7614e8a2c9e5c78c29
ko_linux_arm64_SHA256SUM=9421ebe2a611bac846844bd34fed5c75fba7b36c8cb1d113ad8680c48f6106df
ko_darwin_amd64_SHA256SUM=888656c3f0028d4211654a9df57b003fe26f874b092776c83acace7aca8a73a4
ko_darwin_arm64_SHA256SUM=d0b6bcc4f86c8d775688d1c21d416985ee557a85ad557c4a7d0e2d82b7cdbd92

.PRECIOUS: $(DOWNLOAD_DIR)/tools/ko@$(KO_VERSION)_$(HOST_OS)_$(HOST_ARCH)
$(DOWNLOAD_DIR)/tools/ko@$(KO_VERSION)_$(HOST_OS)_$(HOST_ARCH): | $(DOWNLOAD_DIR)/tools
Expand Down

0 comments on commit 6c55d80

Please sign in to comment.