This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 6df0c5ab44 Fix parameters propagation in `build-k8s-image
--rebuild-base-image` (#38484)
6df0c5ab44 is described below
commit 6df0c5ab448747802629a7aee8772bcd4ebaef7b
Author: Andrey Anshin <[email protected]>
AuthorDate: Tue Mar 26 12:23:00 2024 +0400
Fix parameters propagation in `build-k8s-image --rebuild-base-image`
(#38484)
---
dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py
b/dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py
index 4aa0d3f1c6..5be9f4a7cd 100644
--- a/dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py
@@ -562,7 +562,11 @@ def _rebuild_k8s_image(
) -> tuple[int, str]:
params = BuildProdParams(python=python, image_tag=image_tag, use_uv=use_uv)
if rebuild_base_image:
- run_build_production_image(prod_image_params=params, output=output)
+ run_build_production_image(
+ prod_image_params=params,
+ param_description=f"Python: {params.python}, Platform:
{params.platform}",
+ output=output,
+ )
else:
if not check_if_base_image_exists(params):
get_console(output=output).print(