From c377eb892d9691ccd5956f9917814bfee17c6858 Mon Sep 17 00:00:00 2001 From: Allison Karlitskaya Date: Fri, 8 Mar 2024 13:58:55 +0100 Subject: [PATCH] tests-scan: don't 'job'-ify other-repo jobs job-runner doesn't support running jobs from other repositories, so don't emit `'job': { ... }` objects for those. --- tests-scan | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests-scan b/tests-scan index 2a1544bc43..f303ebff38 100755 --- a/tests-scan +++ b/tests-scan @@ -225,8 +225,9 @@ def queue_test(job: Job, channel, options: argparse.Namespace) -> None: "sha": job.revision, "ref": job.ref, "name": job.name, - # future job-runner format; once everything moved over, remove the stuff above - "job": { + + # job-runner doesn't support this yet... + "job": None if job.repo != options.repo else { "repo": job.repo, "sha": job.revision, "context": job.context,