Skip to content

Commit 368f6cb

Browse files
Merge pull request #115 from cert-manager/self-upgrade-main
[CI] Merge self-upgrade-main into main
2 parents c3210b0 + 8730a53 commit 368f6cb

File tree

6 files changed

+25
-179
lines changed

6 files changed

+25
-179
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-lib'

klone.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,55 +9,55 @@ targets:
99
- folder_name: boilerplate
1010
repo_url: https://github.com/cert-manager/makefile-modules.git
1111
repo_ref: main
12-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
12+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
1313
repo_path: modules/boilerplate
1414
- folder_name: cert-manager
1515
repo_url: https://github.com/cert-manager/makefile-modules.git
1616
repo_ref: main
17-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
17+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
1818
repo_path: modules/cert-manager
1919
- folder_name: controller-gen
2020
repo_url: https://github.com/cert-manager/makefile-modules.git
2121
repo_ref: main
22-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
22+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
2323
repo_path: modules/controller-gen
2424
- folder_name: generate-verify
2525
repo_url: https://github.com/cert-manager/makefile-modules.git
2626
repo_ref: main
27-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
27+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
2828
repo_path: modules/generate-verify
2929
- folder_name: go
3030
repo_url: https://github.com/cert-manager/makefile-modules.git
3131
repo_ref: main
32-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
32+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
3333
repo_path: modules/go
3434
- folder_name: help
3535
repo_url: https://github.com/cert-manager/makefile-modules.git
3636
repo_ref: main
37-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
37+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
3838
repo_path: modules/help
3939
- folder_name: kind
4040
repo_url: https://github.com/cert-manager/makefile-modules.git
4141
repo_ref: main
42-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
42+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
4343
repo_path: modules/kind
4444
- folder_name: klone
4545
repo_url: https://github.com/cert-manager/makefile-modules.git
4646
repo_ref: main
47-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
47+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
4848
repo_path: modules/klone
4949
- folder_name: oci-build
5050
repo_url: https://github.com/cert-manager/makefile-modules.git
5151
repo_ref: main
52-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
52+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
5353
repo_path: modules/oci-build
5454
- folder_name: repository-base
5555
repo_url: https://github.com/cert-manager/makefile-modules.git
5656
repo_ref: main
57-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
57+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
5858
repo_path: modules/repository-base
5959
- folder_name: tools
6060
repo_url: https://github.com/cert-manager/makefile-modules.git
6161
repo_ref: main
62-
repo_hash: 19c94b4b2606b35e5eee494d2baad09b0725334e
62+
repo_hash: a6ac1de6fe76226124ca2e108bff907b91fbfc1e
6363
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)