From a43156a86131a0b138f356a2721709a2070665ca Mon Sep 17 00:00:00 2001 From: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> Date: Tue, 19 Dec 2023 16:53:28 -0600 Subject: CI: Disable downloading artifacts from upstream jobs (#41432) * CI: Disable downloading artifacts from upstream jobs * CI: Default .base-jobs are `when:manual` --- lib/spack/spack/ci.py | 3 +++ share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py index ac30804574..170dd1ec45 100644 --- a/lib/spack/spack/ci.py +++ b/lib/spack/spack/ci.py @@ -1253,6 +1253,7 @@ def generate_gitlab_ci_yaml( op=lambda cmd: cmd.replace("mirror_prefix", temp_storage_url_prefix), ) + cleanup_job["dependencies"] = [] output_object["cleanup"] = cleanup_job if ( @@ -1276,6 +1277,7 @@ def generate_gitlab_ci_yaml( if buildcache_destination else remote_mirror_override or remote_mirror_url ) + signing_job["dependencies"] = [] output_object["sign-pkgs"] = signing_job @@ -1296,6 +1298,7 @@ def generate_gitlab_ci_yaml( final_job["when"] = "always" final_job["retry"] = service_job_retries final_job["interruptible"] = True + final_job["dependencies"] = [] output_object["rebuild-index"] = final_job diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml index 0c770ee872..34951a8335 100644 --- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml +++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml @@ -73,6 +73,7 @@ default: # Job templates ######################################## .base-job: + when: manual variables: PIPELINE_MIRROR_TEMPLATE: "single-src-protected-mirrors.yaml.in" # TODO: We can remove this when we drop the "deprecated" stack -- cgit v1.2.3-60-g2f50