Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down
Loading