@@ -79,20 +79,35 @@ internal:
7979 --docker-password $DOCKER_PASSWORD \
8080 charts/sourcegraph-migrator/
8181
82+ - name : sg ops:appliance
83+ cmd : |
84+ set -eu
85+ registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal
86+
87+ sg ops update-images \
88+ -t {{inputs.server.tag}} \
89+ -k helm \
90+ --registry "${registry}" \
91+ --docker-username $DOCKER_USERNAME \
92+ --docker-password $DOCKER_PASSWORD \
93+ charts/sourcegraph-appliance/
94+
8295 - name : " chart:version"
8396 cmd : |
8497 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph/Chart.yaml
8598 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph/examples/subchart/Chart.yaml
8699 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/dind/Chart.yaml
87100 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/k8s/Chart.yaml
88101 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-migrator/Chart.yaml
102+ comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-appliance/Chart.yaml
89103
90104 - name : " chart:appVersion"
91105 cmd : |
92106 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph/Chart.yaml
93107 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/dind/Chart.yaml
94108 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/k8s/Chart.yaml
95109 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-migrator/Chart.yaml
110+ comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-appliance/Chart.yaml
96111
97112 - name : " helm:docs"
98113 cmd : ./scripts/helm-docs.sh
@@ -177,20 +192,35 @@ internal:
177192 --docker-password $DOCKER_PASSWORD \
178193 charts/sourcegraph-migrator/
179194
195+ - name : sg ops:appliance
196+ cmd : |
197+ set -eu
198+ registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal
199+
200+ sg ops update-images \
201+ -t {{inputs.server.tag}} \
202+ -k helm \
203+ --registry "${registry}" \
204+ --docker-username $DOCKER_USERNAME \
205+ --docker-password $DOCKER_PASSWORD \
206+ charts/sourcegraph-appliance/
207+
180208 - name : " chart:version"
181209 cmd : |
182210 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph/Chart.yaml
183211 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph/examples/subchart/Chart.yaml
184212 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/dind/Chart.yaml
185213 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/k8s/Chart.yaml
186214 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-migrator/Chart.yaml
215+ comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-appliance/Chart.yaml
187216
188217 - name : " chart:appVersion"
189218 cmd : |
190219 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph/Chart.yaml
191220 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/dind/Chart.yaml
192221 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/k8s/Chart.yaml
193222 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-migrator/Chart.yaml
223+ comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-appliance/Chart.yaml
194224
195225 - name : " helm:docs"
196226 cmd : ./scripts/helm-docs.sh
@@ -282,13 +312,15 @@ internal:
282312 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/dind/Chart.yaml
283313 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/k8s/Chart.yaml
284314 comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-migrator/Chart.yaml
315+ comby -matcher ".generic" -in-place "version: \":[~\d+\.\d+\.\d+]\"" 'version: "{{inputs.server.tag}}"' -f charts/sourcegraph-appliance/Chart.yaml
285316
286317 - name : " chart:appVersion"
287318 cmd : |
288319 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph/Chart.yaml
289320 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/dind/Chart.yaml
290321 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-executor/k8s/Chart.yaml
291322 comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-migrator/Chart.yaml
323+ comby -matcher ".generic" -in-place "appVersion: \":[~\d+\.\d+\.\d+]\"" 'appVersion: "{{inputs.server.tag}}"' -f charts/sourcegraph-appliance/Chart.yaml
292324
293325 - name : " helm:docs"
294326 cmd : ./scripts/helm-docs.sh
@@ -437,6 +469,17 @@ promoteToPublic:
437469 --docker-username $DOCKER_USERNAME \
438470 --docker-password $DOCKER_PASSWORD \
439471 charts/sourcegraph-migrator/
472+ - name : sg ops:appliance
473+ cmd : |
474+ set -eu
475+ registry=index.docker.io/sourcegraph
476+ sg ops update-images \
477+ -t {{inputs.server.tag}} \
478+ -k helm \
479+ --registry "${registry}" \
480+ --docker-username $DOCKER_USERNAME \
481+ --docker-password $DOCKER_PASSWORD \
482+ charts/sourcegraph-appliance/
440483 - name : " update helm docs"
441484 cmd : ./scripts/helm-docs.sh
442485 - name : " git:branch"
0 commit comments