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 834917f58e Update dev/refresh_images.sh script with recent changes
(#38331)
834917f58e is described below
commit 834917f58e3a9b10fcb003bbe6c59111cf012b20
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Mar 20 20:33:10 2024 +0100
Update dev/refresh_images.sh script with recent changes (#38331)
---
dev/refresh_images.sh | 35 +++++++++++++++++++++--------------
1 file changed, 21 insertions(+), 14 deletions(-)
diff --git a/dev/refresh_images.sh b/dev/refresh_images.sh
index 26bf00dd72..8402320b84 100755
--- a/dev/refresh_images.sh
+++ b/dev/refresh_images.sh
@@ -25,13 +25,16 @@ export GITHUB_TOKEN=""
breeze setup self-upgrade --use-current-airflow-sources
-breeze ci-image build \
- --builder airflow_cache \
- --run-in-parallel \
- --prepare-buildx-cache \
- --force-build \
- --platform linux/amd64,linux/arm64 \
- --verbose
+for PYTHON in 3.8 3.9 3.10 3.11 3.12
+do
+ breeze ci-image build \
+ --builder airflow_cache \
+ --run-in-parallel \
+ --prepare-buildx-cache \
+ --platform linux/amd64,linux/arm64 \
+ --python ${PYTHON} \
+ --verbose
+done
rm -fv ./dist/* ./docker-context-files/*
@@ -44,10 +47,14 @@ breeze release-management prepare-airflow-package
--package-format wheel --versi
mv -v ./dist/*.whl ./docker-context-files && chmod a+r ./docker-context-files/*
-breeze prod-image build \
- --builder airflow_cache \
- --run-in-parallel \
- --install-packages-from-context \
- --prepare-buildx-cache \
- --platform linux/amd64,linux/arm64 \
- --verbose
+for PYTHON in 3.8 3.9 3.10 3.11 3.12
+do
+ breeze prod-image build \
+ --builder airflow_cache \
+ --run-in-parallel \
+ --install-packages-from-context \
+ --prepare-buildx-cache \
+ --platform linux/amd64,linux/arm64 \
+ --python ${PYTHON} \
+ --verbose
+done