summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/ci.py10
-rw-r--r--share/spack/gitlab/cloud_pipelines/configs/darwin/ci.yaml2
2 files changed, 9 insertions, 3 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")
diff --git a/share/spack/gitlab/cloud_pipelines/configs/darwin/ci.yaml b/share/spack/gitlab/cloud_pipelines/configs/darwin/ci.yaml
index 8dfb169a3e..c826c0ea3d 100644
--- a/share/spack/gitlab/cloud_pipelines/configs/darwin/ci.yaml
+++ b/share/spack/gitlab/cloud_pipelines/configs/darwin/ci.yaml
@@ -1,4 +1,4 @@
ci:
pipeline-gen:
- build-job-remove:
- image: macos-run-on-metal
+ image:: macos-run-on-metal