From 6ef01c9c2655934d845cbd437cf40539f75043e8 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Mon, 14 Jul 2025 08:29:49 +0200 Subject: [PATCH] ci: fix master pipeline artifacts downloading --- conftest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conftest.py b/conftest.py index af4a11161c..7c3a490d75 100644 --- a/conftest.py +++ b/conftest.py @@ -146,6 +146,10 @@ PRESIGNED_JSON = 'presigned.json' def app_downloader( pipeline_id: t.Optional[str], ) -> t.Optional[AppDownloader]: + if commit_sha := os.getenv('PIPELINE_COMMIT_SHA'): + logging.debug('pipeline commit sha from CI env is %s', commit_sha) + return AppDownloader(commit_sha, None) + if not pipeline_id: return None