Skip to content

Commit aee58e2

Browse files
Merge pull request #576 from cert-manager/self-upgrade-main
[CI] Merge self-upgrade-main into main
2 parents 0063d95 + 09393cc commit aee58e2

File tree

4 files changed

+22
-18
lines changed

4 files changed

+22
-18
lines changed

klone.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,65 +10,65 @@ targets:
1010
- folder_name: boilerplate
1111
repo_url: https://github.com/cert-manager/makefile-modules.git
1212
repo_ref: main
13-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
13+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
1414
repo_path: modules/boilerplate
1515
- folder_name: cert-manager
1616
repo_url: https://github.com/cert-manager/makefile-modules.git
1717
repo_ref: main
18-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
18+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
1919
repo_path: modules/cert-manager
2020
- folder_name: controller-gen
2121
repo_url: https://github.com/cert-manager/makefile-modules.git
2222
repo_ref: main
23-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
23+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
2424
repo_path: modules/controller-gen
2525
- folder_name: generate-verify
2626
repo_url: https://github.com/cert-manager/makefile-modules.git
2727
repo_ref: main
28-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
28+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
2929
repo_path: modules/generate-verify
3030
- folder_name: go
3131
repo_url: https://github.com/cert-manager/makefile-modules.git
3232
repo_ref: main
33-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
33+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
3434
repo_path: modules/go
3535
- folder_name: helm
3636
repo_url: https://github.com/cert-manager/makefile-modules.git
3737
repo_ref: main
38-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
38+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
3939
repo_path: modules/helm
4040
- folder_name: help
4141
repo_url: https://github.com/cert-manager/makefile-modules.git
4242
repo_ref: main
43-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
43+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
4444
repo_path: modules/help
4545
- folder_name: kind
4646
repo_url: https://github.com/cert-manager/makefile-modules.git
4747
repo_ref: main
48-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
48+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
4949
repo_path: modules/kind
5050
- folder_name: klone
5151
repo_url: https://github.com/cert-manager/makefile-modules.git
5252
repo_ref: main
53-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
53+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
5454
repo_path: modules/klone
5555
- folder_name: oci-build
5656
repo_url: https://github.com/cert-manager/makefile-modules.git
5757
repo_ref: main
58-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
58+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
5959
repo_path: modules/oci-build
6060
- folder_name: oci-publish
6161
repo_url: https://github.com/cert-manager/makefile-modules.git
6262
repo_ref: main
63-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
63+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
6464
repo_path: modules/oci-publish
6565
- folder_name: repository-base
6666
repo_url: https://github.com/cert-manager/makefile-modules.git
6767
repo_ref: main
68-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
68+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
6969
repo_path: modules/repository-base
7070
- folder_name: tools
7171
repo_url: https://github.com/cert-manager/makefile-modules.git
7272
repo_ref: main
73-
repo_hash: 398badf7250460bd04537b1132e747ea9d4c69ed
73+
repo_hash: 473da94c101abc32ae4dc4fb428e7ccc831e055c
7474
repo_path: modules/tools

make/_shared/oci-build/00_mod.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ go_$1_goexperiment ?= $(GOEXPERIMENT)
4343
go_$1_flags ?= -tags=
4444
oci_$1_additional_layers ?=
4545
oci_$1_linux_capabilities ?=
46+
oci_$1_image_annotation ?=
47+
oci_$1_image_label ?=
4648
endef
4749

4850
$(foreach build_name,$(build_names),$(eval $(call default_per_build_variables,$(build_name))))

make/_shared/oci-build/01_mod.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ $(oci_build_targets): oci-build-%: ko-config-% | $(NEEDS_KO) $(NEEDS_GO) $(NEEDS
6060
LDFLAGS="$(go_$*_ldflags)" \
6161
$(KO) build $(go_$*_mod_dir)/$(go_$*_main_dir) \
6262
--platform=$(oci_platforms) \
63+
--image-annotation=$(oci_$*_image_annotation) \
64+
--image-label=$(oci_$*_image_label) \
6365
--oci-layout-path=$(oci_layout_path_$*) \
6466
--sbom-dir=$(CURDIR)/$(oci_layout_path_$*).sbom \
6567
--sbom=spdx \

make/_shared/tools/00_mod.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tools += kyverno=v1.12.5
6666
# https://github.com/mikefarah/yq/releases
6767
tools += yq=v4.44.3
6868
# https://github.com/ko-build/ko/releases
69-
tools += ko=0.16.0
69+
tools += ko=0.17.1
7070
# https://github.com/protocolbuffers/protobuf/releases
7171
tools += protoc=27.3
7272
# https://github.com/aquasecurity/trivy/releases
@@ -503,10 +503,10 @@ $(DOWNLOAD_DIR)/tools/yq@$(YQ_VERSION)_$(HOST_OS)_$(HOST_ARCH): | $(DOWNLOAD_DIR
503503
$(checkhash_script) $(outfile) $(yq_$(HOST_OS)_$(HOST_ARCH)_SHA256SUM); \
504504
chmod +x $(outfile)
505505

506-
ko_linux_amd64_SHA256SUM=aee2caeced511e60c6889a4cfaf9ebe28ec35acb49531b7a90b09e0a963bcff7
507-
ko_linux_arm64_SHA256SUM=45b6ba20084b2199c63dcc738c54f7f6c37ea4e9c7f79eefc286d9947b11d0d1
508-
ko_darwin_amd64_SHA256SUM=5c98d0229fd2a82cc69510705b74a7196fc184641693930b0f9282b6d1f79d95
509-
ko_darwin_arm64_SHA256SUM=9c75b97f26ba98c62a86f3b39e2c74ced6c97092f301cd73fe4e5b3e16261698
506+
ko_linux_amd64_SHA256SUM=4f0b979b59880b3232f47d79c940f2279165aaad15a11d7614e8a2c9e5c78c29
507+
ko_linux_arm64_SHA256SUM=9421ebe2a611bac846844bd34fed5c75fba7b36c8cb1d113ad8680c48f6106df
508+
ko_darwin_amd64_SHA256SUM=888656c3f0028d4211654a9df57b003fe26f874b092776c83acace7aca8a73a4
509+
ko_darwin_arm64_SHA256SUM=d0b6bcc4f86c8d775688d1c21d416985ee557a85ad557c4a7d0e2d82b7cdbd92
510510

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

0 commit comments

Comments
 (0)