summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>2024-03-29 12:32:54 -0500
committerGitHub <noreply@github.com>2024-03-29 12:32:54 -0500
commit8b8928708438a841790e6f8ff3a39d45e6bd7c90 (patch)
tree0d409f56eb7d8d42ca963fe9692ae24cb60dc5bc /lib
parent8bd6283b52f1ddb88710be220bdfaf8b83947507 (diff)
downloadspack-8b8928708438a841790e6f8ff3a39d45e6bd7c90.tar.gz
spack-8b8928708438a841790e6f8ff3a39d45e6bd7c90.tar.bz2
spack-8b8928708438a841790e6f8ff3a39d45e6bd7c90.tar.xz
spack-8b8928708438a841790e6f8ff3a39d45e6bd7c90.zip
CI Reproducer on Metal (#43411)
* MacOS image remove requires override syntax * Metal reproducer auto start and cross-platform
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/ci.py10
1 files changed, 8 insertions, 2 deletions
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")