Skip to content

Commit 5e688b9

Browse files
committed
fix: addresse more issues with pre-commit
1 parent 0e466a6 commit 5e688b9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repos:
3636
pass_filenames: false
3737
- id: addons-repo-yaml
3838
name: addons-repo-yaml
39-
entry: make generate-mindthegap-repofile
39+
entry: make replace-with-mindthegap
4040
language: system
4141
files: "hack/addons/mindthegap-helm-registry/repos.yaml"
4242
pass_filenames: false

hack/addons/generate-mindthegap-repofile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
set -euo pipefail
23
IFS=$'\n\t'
34

make/addons.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ generate-mindthegap-repofile: generate-helm-configmap ; $(info $(M) generating h
6464
./hack/addons/generate-mindthegap-repofile.sh
6565

6666
.PHONY: replace-with-mindthegap ## this is used by gorealeaser to set the helm value to this.
67-
replace-with-mindthegap:
67+
replace-with-mindthegap: generate-mindthegap-repofile
6868
sed -i 's/RepositoryURL:.*/RepositoryURL: registry.{{ .Release.Namespace }}.svc/g' "./charts/cluster-api-runtime-extensions-nutanix/templates/helm-config.yaml"

0 commit comments

Comments
 (0)