From 8b8928708438a841790e6f8ff3a39d45e6bd7c90 Mon Sep 17 00:00:00 2001 From: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:32:54 -0500 Subject: CI Reproducer on Metal (#43411) * MacOS image remove requires override syntax * Metal reproducer auto start and cross-platform --- lib/spack/spack/ci.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py index 5fc5b0946f..d9ed1affca 100644 --- a/lib/spack/spack/ci.py +++ b/lib/spack/spack/ci.py @@ -1994,10 +1994,16 @@ def reproduce_ci_job(url, work_dir, autostart, gpg_url, runtime): ] ) else: - process_command("reproducer", entrypoint_script, work_dir, run=False) + autostart = autostart and setup_result + process_command("reproducer", entrypoint_script, work_dir, run=autostart) inst_list.append("\nOnce on the tagged runner:\n\n") - inst_list.extent([" - Run the reproducer script", f" $ {work_dir}/reproducer.py"]) + inst_list.extent( + [ + " - Run the reproducer script", + f" $ {work_dir}/reproducer.{platform_script_ext}", + ] + ) if not setup_result: inst_list.append("\n - Clone spack and acquire tested commit") -- cgit v1.2.3-70-g09d2