Skip to content

Commit b24fdfd

Browse files
authored
Merge pull request #34326 from def-/pr-console-version
release cut: Also bump console version in helm-chart deployment.yaml
2 parents 9a4ee61 + 879913d commit b24fdfd

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

misc/helm-charts/operator/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ spec:
8787
{{- if .Values.console.enabled }}
8888
- "--create-console"
8989
{{- end }}
90-
- "--console-image-tag-default=26.0.0-dev.2"
90+
- "--console-image-tag-default=26.1.0"
9191
{{- range $key, $value := .Values.console.imageTagMapOverride }}
9292
- "--console-image-tag-map={{ $key }}={{ $value }}"
9393
{{- end }}

misc/python/materialize/release/cut_release.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def main():
8383
spawn.runv(["git", "push", "origin", version], cwd=console_dir)
8484

8585
print("Waiting for console version to be released on DockerHub (~15 min)")
86-
console_image = f"materialize/console:{version[1:]}"
86+
console_version = version[1:]
87+
console_image = f"materialize/console:{console_version}"
8788
time.sleep(15 * 60)
8889
while True:
8990
try:
@@ -115,6 +116,14 @@ def main():
115116
"misc/images/materialized-base/Dockerfile",
116117
]
117118
)
119+
spawn.runv(
120+
[
121+
"sed",
122+
"-i",
123+
f's#"--console-image-tag-default=.*"#"--console-image-tag-default={console_version}"#',
124+
"misc/helm-charts/operator/templates/deployment.yaml",
125+
]
126+
)
118127
# Commit here instead of in bump-version so we have access to the correct git author
119128
spawn.runv(["git", "commit", "-am", f"release: bump to version {version}"])
120129
print("Tagging version")

0 commit comments

Comments
 (0)