Skip to content
Closed
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
6 changes: 3 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,9 @@ 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
# ghcr.io/apache/airflow is already available and loaded using prepare_breeze_and_image step in workflow.
# openlineage-e2e is built locally and the workflow doesn't push it.
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