This is an automated email from the ASF dual-hosted git repository.
shahar1 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 c8f1d7ea810 Fix Openlineage E2E compat tests docker compose error
(#69860)
c8f1d7ea810 is described below
commit c8f1d7ea8108a782a3b78dd94d095fc5e9aadd7e
Author: Kacper Muda <[email protected]>
AuthorDate: Tue Jul 14 12:32:05 2026 +0200
Fix Openlineage E2E compat tests docker compose error (#69860)
---
airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py
b/airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py
index af72b97e7cf..5b5883980c5 100644
--- a/airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py
+++ b/airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py
@@ -644,9 +644,10 @@ def spin_up_airflow_environment(tmp_path_factory:
pytest.TempPathFactory):
#
os.environ["FERNET_KEY"] = generate_fernet_key_string()
- # If we are using the image from ghcr.io/apache/airflow we do not pull
- # as it is already available and loaded using prepare_breeze_and_image
step in workflow
- pull = False if DOCKER_IMAGE.startswith("ghcr.io/apache/airflow/") else
True
+ # Skip pull for images that exist only locally and cannot be fetched from
a registry:
+ # - ghcr.io/apache/airflow/: pre-pulled by the prepare_breeze_and_image CI
step
+ # - openlineage-e2e/: locally built by _build_openlineage_e2e_compat_image
(never pushed)
+ pull = not DOCKER_IMAGE.startswith(("ghcr.io/apache/airflow/",
"openlineage-e2e/"))
try:
console.print(f"[blue]Spinning up airflow environment using
{DOCKER_IMAGE}")