Skip to content

Commit ea60c62

Browse files
Merge pull request #1889 from salasberryfin/updatecli-fix-clusterctl-paths
fix: updatecli paths to community/prime clusterctl config files
2 parents bc3add8 + a703d1f commit ea60c62

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

updatecli/updatecli.d/manifest.yaml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,20 @@ sources:
101101

102102
# update config.yaml accordingly
103103
targets:
104-
bumpcapi:
105-
name: bump core capi
104+
bumpcapiprime:
105+
name: bump core capi - prime
106106
kind: file
107107
spec:
108-
file: ./internal/controllers/clusterctl/config-default.yaml
108+
file: ./internal/controllers/clusterctl/config-prime.yaml
109+
matchpattern: 'https://github.com/rancher-sandbox/cluster-api/releases/(.*)/'
110+
replacepattern: 'https://github.com/rancher-sandbox/cluster-api/releases/{{ source "capirelease" }}/'
111+
scmid: turtles
112+
sourceid: capirelease # Will be ignored as `replacepattern` is specified
113+
bumpcapicommunity:
114+
name: bump core capi - community
115+
kind: file
116+
spec:
117+
file: ./internal/controllers/clusterctl/config-community.yaml
109118
matchpattern: 'https://github.com/rancher-sandbox/cluster-api/releases/(.*)/'
110119
replacepattern: 'https://github.com/rancher-sandbox/cluster-api/releases/{{ source "capirelease" }}/'
111120
scmid: turtles
@@ -114,7 +123,7 @@ targets:
114123
name: bump docker capi
115124
kind: file
116125
spec:
117-
file: ./internal/controllers/clusterctl/config-default.yaml
126+
file: ./internal/controllers/clusterctl/config-prime.yaml
118127
matchpattern: 'https://github.com/kubernetes-sigs/cluster-api/releases/(.*)/'
119128
replacepattern: 'https://github.com/kubernetes-sigs/cluster-api/releases/{{ source "capirelease" }}/'
120129
scmid: turtles
@@ -141,7 +150,7 @@ targets:
141150
name: bump caprke2 provider
142151
kind: file
143152
spec:
144-
file: ./internal/controllers/clusterctl/config-default.yaml
153+
file: ./internal/controllers/clusterctl/config-prime.yaml
145154
matchpattern: 'https://github.com/rancher/cluster-api-provider-rke2/releases/(.*)/'
146155
replacepattern: 'https://github.com/rancher/cluster-api-provider-rke2/releases/{{ source "caprke2release" }}/'
147156
scmid: turtles
@@ -150,7 +159,7 @@ targets:
150159
name: bump capz provider
151160
kind: file
152161
spec:
153-
file: ./internal/controllers/clusterctl/config-default.yaml
162+
file: ./internal/controllers/clusterctl/config-prime.yaml
154163
matchpattern: 'https://github.com/rancher-sandbox/cluster-api-provider-azure/releases/(.*)/'
155164
replacepattern: 'https://github.com/rancher-sandbox/cluster-api-provider-azure/releases/{{ source "capzrelease" }}/'
156165
scmid: turtles
@@ -159,7 +168,7 @@ targets:
159168
name: bump capa provider
160169
kind: file
161170
spec:
162-
file: ./internal/controllers/clusterctl/config-default.yaml
171+
file: ./internal/controllers/clusterctl/config-prime.yaml
163172
matchpattern: 'https://github.com/rancher-sandbox/cluster-api-provider-aws/releases/(.*)/'
164173
replacepattern: 'https://github.com/rancher-sandbox/cluster-api-provider-aws/releases/{{ source "caparelease" }}/'
165174
scmid: turtles
@@ -168,7 +177,7 @@ targets:
168177
name: bump capg provider
169178
kind: file
170179
spec:
171-
file: ./internal/controllers/clusterctl/config-default.yaml
180+
file: ./internal/controllers/clusterctl/config-prime.yaml
172181
matchpattern: 'https://github.com/rancher-sandbox/cluster-api-provider-gcp/releases/(.*)/'
173182
replacepattern: 'https://github.com/rancher-sandbox/cluster-api-provider-gcp/releases/{{ source "capgrelease" }}/'
174183
scmid: turtles
@@ -177,7 +186,7 @@ targets:
177186
name: bump capv provider
178187
kind: file
179188
spec:
180-
file: ./internal/controllers/clusterctl/config-default.yaml
189+
file: ./internal/controllers/clusterctl/config-prime.yaml
181190
matchpattern: 'https://github.com/rancher-sandbox/cluster-api-provider-vsphere/releases/(.*)/'
182191
replacepattern: 'https://github.com/rancher-sandbox/cluster-api-provider-vsphere/releases/{{ source "capvrelease" }}/'
183192
scmid: turtles
@@ -186,7 +195,7 @@ targets:
186195
name: bump capi fleet addon provider
187196
kind: file
188197
spec:
189-
file: ./internal/controllers/clusterctl/config-default.yaml
198+
file: ./internal/controllers/clusterctl/config-prime.yaml
190199
matchpattern: 'https://github.com/rancher/cluster-api-addon-provider-fleet/releases/(.*)/'
191200
replacepattern: 'https://github.com/rancher/cluster-api-addon-provider-fleet/releases/{{ source "capifleetrelease" }}/'
192201
scmid: turtles

0 commit comments

Comments
 (0)