Skip to content

Commit d5b2253

Browse files
Merge pull request #365 from cert-manager/self-upgrade-main
[CI] Merge self-upgrade-main into main
2 parents 6f6e6ef + f9ed541 commit d5b2253

File tree

6 files changed

+28
-182
lines changed

6 files changed

+28
-182
lines changed

.github/workflows/renovate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
exit 1
2828
2929
- name: Octo STS Token Exchange
30-
uses: octo-sts/action@e480437973a6f6ac2e9caa40ecabedc870d76395 # main
30+
uses: octo-sts/action@e480437973a6f6ac2e9caa40ecabedc870d76395 # v1.0.1
3131
id: octo-sts
3232
with:
3333
scope: 'cert-manager/csi-driver-spiffe'

klone.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,70 +10,70 @@ targets:
1010
- folder_name: boilerplate
1111
repo_url: https://github.com/cert-manager/makefile-modules.git
1212
repo_ref: main
13-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
13+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
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: 19c94b4b2606b35e5eee494d2baad09b0725334e
18+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
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: 19c94b4b2606b35e5eee494d2baad09b0725334e
23+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
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: 19c94b4b2606b35e5eee494d2baad09b0725334e
28+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
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: 19c94b4b2606b35e5eee494d2baad09b0725334e
33+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
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: 19c94b4b2606b35e5eee494d2baad09b0725334e
38+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
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: 19c94b4b2606b35e5eee494d2baad09b0725334e
43+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
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: 19c94b4b2606b35e5eee494d2baad09b0725334e
48+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
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: 19c94b4b2606b35e5eee494d2baad09b0725334e
53+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
5454
repo_path: modules/klone
5555
- folder_name: licenses
5656
repo_url: https://github.com/cert-manager/makefile-modules.git
5757
repo_ref: main
58-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
58+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
5959
repo_path: modules/licenses
6060
- folder_name: oci-build
6161
repo_url: https://github.com/cert-manager/makefile-modules.git
6262
repo_ref: main
63-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
63+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
6464
repo_path: modules/oci-build
6565
- folder_name: oci-publish
6666
repo_url: https://github.com/cert-manager/makefile-modules.git
6767
repo_ref: main
68-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
68+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
6969
repo_path: modules/oci-publish
7070
- folder_name: repository-base
7171
repo_url: https://github.com/cert-manager/makefile-modules.git
7272
repo_ref: main
73-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
73+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
7474
repo_path: modules/repository-base
7575
- folder_name: tools
7676
repo_url: https://github.com/cert-manager/makefile-modules.git
7777
repo_ref: main
78-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
78+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
7979
repo_path: modules/tools

make/_shared/repository-base/01_mod.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ ifndef repo_name
1616
$(error repo_name is not set)
1717
endif
1818

19-
repository_base_dir := $(dir $(lastword $(MAKEFILE_LIST)))/base/
19+
_repository_base_module_dir := $(dir $(lastword $(MAKEFILE_LIST)))
20+
repository_base_dir := $(_repository_base_module_dir)base/
2021

2122
.PHONY: generate-base
2223
## Generate base files in the repository
@@ -27,5 +28,9 @@ generate-base:
2728
find . -type f | while read file; do \
2829
sed "s|{{REPLACE:GH-REPOSITORY}}|$(repo_name:github.com/%=%)|g" "$$file" > "$(CURDIR)/$$file"; \
2930
done
31+
if [ ! -e ./.github/renovate.json5 ]; then \
32+
mkdir -p ./.github; \
33+
cp $(_repository_base_module_dir)/renovate-bootstrap-config.json5 ./.github/renovate.json5; \
34+
fi
3035

3136
shared_generate_targets += generate-base

make/_shared/repository-base/base/.github/renovate.json5

Lines changed: 0 additions & 165 deletions
This file was deleted.

make/_shared/repository-base/base/.github/workflows/renovate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
exit 1
2828
2929
- name: Octo STS Token Exchange
30-
uses: octo-sts/action@e480437973a6f6ac2e9caa40ecabedc870d76395 # main
30+
uses: octo-sts/action@e480437973a6f6ac2e9caa40ecabedc870d76395 # v1.0.1
3131
id: octo-sts
3232
with:
3333
scope: '{{REPLACE:GH-REPOSITORY}}'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'github>cert-manager/renovate-config:default.json5',
5+
],
6+
}

0 commit comments

Comments
 (0)