You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/10/31 01:07:30 UTC

(airflow) branch test-failing-composite-action updated (346bdb040e -> 12d50c31f4)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a change to branch test-failing-composite-action
in repository https://gitbox.apache.org/repos/asf/airflow.git


    omit 346bdb040e Testing
     new 12d50c31f4 Testing

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (346bdb040e)
            \
             N -- N -- N   refs/heads/test-failing-composite-action (12d50c31f4)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 dev/breeze/src/airflow_breeze/commands/ci_image_commands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


(airflow) 01/01: Testing

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch test-failing-composite-action
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 12d50c31f437af21994bdf60242e828a02830796
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Oct 30 21:31:12 2023 +0100

    Testing
---
 Dockerfile.ci                                          |  2 +-
 .../src/airflow_breeze/commands/ci_image_commands.py   |  2 +-
 dev/breeze/src/airflow_breeze/utils/parallel.py        | 18 ++++++++----------
 3 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/Dockerfile.ci b/Dockerfile.ci
index 48301ba232..a22d3fdee5 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -16,7 +16,7 @@
 #
 # WARNING: THIS DOCKERFILE IS NOT INTENDED FOR PRODUCTION USE OR DEPLOYMENT.
 #
-ARG PYTHON_BASE_IMAGE="python:3.8-slim-bullseye"
+ARGxxx PYTHON_BASE_IMAGE="python:3.8-slim-bullseye"
 
 ##############################################################################################
 # This is the script image where we keep all inlined bash scripts needed in other segments
diff --git a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
index f5ab0b2d0f..47d3fa6294 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
@@ -134,6 +134,7 @@ def run_build_in_parallel(
     debug_resources: bool,
 ) -> None:
     warm_up_docker_builder(image_params_list[0])
+    sys.exit(1)
     with ci_group(f"Building for {python_version_list}"):
         all_params = [f"CI {image_params.python}" for image_params in image_params_list]
         with run_with_pool(
@@ -258,7 +259,6 @@ def build(
     **kwargs: dict[str, Any],
 ):
     """Build CI image. Include building multiple images for all python versions."""
-
     def run_build(ci_image_params: BuildCiParams) -> None:
         return_code, info = run_build_ci_image(
             ci_image_params=ci_image_params,
diff --git a/dev/breeze/src/airflow_breeze/utils/parallel.py b/dev/breeze/src/airflow_breeze/utils/parallel.py
index ea4ef06030..80415cc0e4 100644
--- a/dev/breeze/src/airflow_breeze/utils/parallel.py
+++ b/dev/breeze/src/airflow_breeze/utils/parallel.py
@@ -440,16 +440,14 @@ def check_async_run_results(
                         get_console().print(f"\n[info]Summary: {outputs[i].escaped_title:<30}:\n")
                     if print_lines:
                         print(line)
-    try:
-        if errors:
-            get_console().print("\n[error]There were errors when running some tasks. Quitting.[/]\n")
-            sys.exit(1)
-        else:
-            get_console().print(f"\n[success]{success}[/]\n")
-    finally:
-        if not skip_cleanup:
-            for output in outputs:
-                Path(output.file_name).unlink(missing_ok=True)
+    if not skip_cleanup:
+        for output in outputs:
+            Path(output.file_name).unlink(missing_ok=True)
+    if errors:
+        get_console().print("\n[error]There were errors when running some tasks. Quitting.[/]\n")
+        sys.exit(1)
+    else:
+        get_console().print(f"\n[success]{success}[/]\n")
 
 
 @contextmanager