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 6173d3c1d5 Make airflow package preparation in docker work with all 
builders (#37678)
6173d3c1d5 is described below

commit 6173d3c1d5112d779d4efb053b7ae0c99b3163b9
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sat Feb 24 20:09:08 2024 +0100

    Make airflow package preparation in docker work with all builders (#37678)
    
    The Airflow package preparation using docker, worked nicely in CI
    and in most cases it worked locally, however in some cases, if you
    had custom docker builder configured it could stop working because
    you could have builder configured that would not load the images
    built locally (this is when you earlier run buildx for caching.
    
    This is now fixed - instead of using `buildx` plugin we use
    regular `docker build` plugin to build airflow packages, also we
    ignore `out` directory which was not ignored before and could
    unnecesarily increase time and size of the image build for
    airflow package preparation.
---
 dev/breeze/src/airflow_breeze/commands/release_management_commands.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py 
b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
index 6cd342bce5..68a21549f9 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -239,6 +239,9 @@ airflow/www/node_modules
 # Exclude link to docs
 airflow/www/static/docs
 
+# Exclude out directory
+out/
+
 # Exclude python generated files
 **/__pycache__/
 **/*.py[cod]
@@ -351,7 +354,6 @@ def _build_local_build_image():
     run_command(
         [
             "docker",
-            "buildx",
             "build",
             ".",
             "-f",

Reply via email to