File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright 2023 Nutanix. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- version : 2
4
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
5
5
6
- project_name : cluster-api-runtime-extensions-nutanix
6
+ version : 2
7
7
8
8
changelog :
9
9
use : github
@@ -30,6 +30,7 @@ release:
30
30
name_template : metadata.yaml
31
31
- glob : runtime-extension-components.yaml
32
32
- glob : ./charts/{{ .ProjectName }}/defaultclusterclasses/*.yaml
33
+ - glob : caren-images.txt
33
34
34
35
before :
35
36
hooks :
@@ -52,6 +53,10 @@ before:
52
53
".releaseSeries |= (. + [{contract: \"v1beta1\", major: {{ .Major }}, minor: {{ .Minor }}}] | unique)" \
53
54
metadata.yaml >release-metadata.yaml'
54
55
- make template-helm-repository
56
+ - |
57
+ sh -ec 'if [ {{ .IsSnapshot }} == false ] ; then
58
+ env CAREN_VERSION=v{{ trimprefix .Version "v" }} make list-images >caren-images.txt
59
+ fi'
55
60
56
61
builds :
57
62
- id : cluster-api-runtime-extensions-nutanix
Original file line number Diff line number Diff line change @@ -88,3 +88,10 @@ sync-helm-values: ; $(info $(M) syncing helm values from hack to charts)
88
88
-kustomize-directory=./hack/addons/kustomize/ \
89
89
-helm-chart-directory=./charts/cluster-api-runtime-extensions-nutanix/ \
90
90
-license-file=./hack/license-header.yaml.txt
91
+
92
+ .PHONY : list-images
93
+ list-images :
94
+ go run hack/tools/fetch-images/main.go \
95
+ -chart-directory=./charts/cluster-api-runtime-extensions-nutanix/
96
+ -helm-chart-configmap=./charts/cluster-api-runtime-extensions-nutanix/templates/helm-config.yaml \
97
+ -caren-version=$(CAREN_VERSION ) >> caren-images.txt
You can’t perform that action at this time.
0 commit comments