diff options
author | kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> | 2023-12-19 16:53:28 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 15:53:28 -0700 |
commit | a43156a86131a0b138f356a2721709a2070665ca (patch) | |
tree | f8c83b684625b783eefcf9481cf0b0dd1591c6b3 | |
parent | ec2729706b235f96fe481bf6333fbcc7732e28c1 (diff) | |
download | spack-a43156a86131a0b138f356a2721709a2070665ca.tar.gz spack-a43156a86131a0b138f356a2721709a2070665ca.tar.bz2 spack-a43156a86131a0b138f356a2721709a2070665ca.tar.xz spack-a43156a86131a0b138f356a2721709a2070665ca.zip |
CI: Disable downloading artifacts from upstream jobs (#41432)
* CI: Disable downloading artifacts from upstream jobs
* CI: Default .base-jobs are `when:manual`
-rw-r--r-- | lib/spack/spack/ci.py | 3 | ||||
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml | 1 |
2 files changed, 4 insertions, 0 deletions
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 |