Skip to content

Commit e6b8e58

Browse files
Merge pull request #450 from cert-manager/self-upgrade-main
[CI] Merge self-upgrade-main into main
2 parents b0618bd + 878cdd6 commit e6b8e58

2 files changed

Lines changed: 34 additions & 11 deletions

File tree

klone.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,55 +10,55 @@ targets:
1010
- folder_name: boilerplate
1111
repo_url: https://github.com/cert-manager/makefile-modules.git
1212
repo_ref: main
13-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
13+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
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: c1b398521ed72189c64f7bf41f715c80547ec425
18+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
1919
repo_path: modules/cert-manager
2020
- folder_name: executable
2121
repo_url: https://github.com/cert-manager/makefile-modules.git
2222
repo_ref: main
23-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
23+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
2424
repo_path: modules/executable
2525
- folder_name: generate-verify
2626
repo_url: https://github.com/cert-manager/makefile-modules.git
2727
repo_ref: main
28-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
28+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
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: c1b398521ed72189c64f7bf41f715c80547ec425
33+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
3434
repo_path: modules/go
3535
- folder_name: help
3636
repo_url: https://github.com/cert-manager/makefile-modules.git
3737
repo_ref: main
38-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
38+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
3939
repo_path: modules/help
4040
- folder_name: klone
4141
repo_url: https://github.com/cert-manager/makefile-modules.git
4242
repo_ref: main
43-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
43+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
4444
repo_path: modules/klone
4545
- folder_name: oci-build
4646
repo_url: https://github.com/cert-manager/makefile-modules.git
4747
repo_ref: main
48-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
48+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
4949
repo_path: modules/oci-build
5050
- folder_name: oci-publish
5151
repo_url: https://github.com/cert-manager/makefile-modules.git
5252
repo_ref: main
53-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
53+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
5454
repo_path: modules/oci-publish
5555
- folder_name: repository-base
5656
repo_url: https://github.com/cert-manager/makefile-modules.git
5757
repo_ref: main
58-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
58+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
5959
repo_path: modules/repository-base
6060
- folder_name: tools
6161
repo_url: https://github.com/cert-manager/makefile-modules.git
6262
repo_ref: main
63-
repo_hash: c1b398521ed72189c64f7bf41f715c80547ec425
63+
repo_hash: d6c03d58679180f85d1dec2c69dea26a4039c646
6464
repo_path: modules/tools

make/_shared/tools/00_mod.mk

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ tools :=
6767
# https://github.com/helm/helm/releases
6868
# renovate: datasource=github-releases packageName=helm/helm
6969
tools += helm=v4.1.3
70+
# https://github.com/helm-unittest/helm-unittest/releases
71+
# renovate: datasource=github-releases packageName=helm-unittest/helm-unittest
72+
tools += helm-unittest=v1.0.3
7073
# https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl
7174
# renovate: datasource=github-releases packageName=kubernetes/kubernetes
7275
tools += kubectl=v1.35.3
@@ -493,6 +496,26 @@ $(DOWNLOAD_DIR)/tools/helm@$(HELM_VERSION)_$(HOST_OS)_$(HOST_ARCH): | $(DOWNLOAD
493496
chmod +x $(outfile); \
494497
rm -f $(outfile).tar.gz
495498

499+
helm-unittest_linux_amd64_SHA256SUM=9761f23d9509c98770c026e019e743b524b57010f4bc29175f78d2582ace0633
500+
helm-unittest_linux_arm64_SHA256SUM=1e645d96b36582cd8b9fbd53240110267f14d80aa01137341251c60438bbe6b0
501+
helm-unittest_darwin_amd64_SHA256SUM=46413a86ded6bfc70cd704ebac16f8d4a0f36712ae399a5d24e32bc44f96985f
502+
helm-unittest_darwin_arm64_SHA256SUM=6a6b67b3f638f015e09c093b67c7609a07101b971a1a6d6a83d1a7f75861a4b2
503+
504+
# helm-unittest uses "macos" instead of "darwin" in release filenames
505+
helm_unittest_os := $(HOST_OS)
506+
ifeq ($(HOST_OS),darwin)
507+
helm_unittest_os := macos
508+
endif
509+
510+
.PRECIOUS: $(DOWNLOAD_DIR)/tools/helm-unittest@$(HELM-UNITTEST_VERSION)_$(HOST_OS)_$(HOST_ARCH)
511+
$(DOWNLOAD_DIR)/tools/helm-unittest@$(HELM-UNITTEST_VERSION)_$(HOST_OS)_$(HOST_ARCH): | $(DOWNLOAD_DIR)/tools
512+
@source $(lock_script) $@; \
513+
$(CURL) https://github.com/helm-unittest/helm-unittest/releases/download/$(HELM-UNITTEST_VERSION)/helm-unittest-$(helm_unittest_os)-$(HOST_ARCH)-$(HELM-UNITTEST_VERSION:v%=%).tgz -o $(outfile).tgz; \
514+
$(checkhash_script) $(outfile).tgz $(helm-unittest_$(HOST_OS)_$(HOST_ARCH)_SHA256SUM); \
515+
tar xfO $(outfile).tgz untt > $(outfile); \
516+
chmod +x $(outfile); \
517+
rm -f $(outfile).tgz
518+
496519
kubectl_linux_amd64_SHA256SUM=fd31c7d7129260e608f6faf92d5984c3267ad0b5ead3bced2fe125686e286ad6
497520
kubectl_linux_arm64_SHA256SUM=6f0cd088a82dde5d5807122056069e2fac4ed447cc518efc055547ae46525f14
498521
kubectl_darwin_amd64_SHA256SUM=2f339b1eae2e1792ec08da281b37afbeee94f70bed6b7398e7efd81ba08f8d37

0 commit comments

Comments
 (0)