gitlab ci: Rework how mirrors are configured (#39939)

Improve how mirrors are used in gitlab ci, where we have until now thought
of them as only a string.

By configuring ci mirrors ahead of time using the proposed mirror templates,
and by taking advantage of the expressiveness that spack now has for mirrors,
this PR will allow us to easily switch the protocol/url we use for fetching
binary dependencies.

This change also deprecates some gitlab functionality and marks it for
removal in Spack 0.23:

    - arguments to "spack ci generate":
        * --buildcache-destination
        * --copy-to
    - gitlab configuration options:
        * enable-artifacts-buildcache
        * temporary-storage-url-prefix
This commit is contained in:
Scott Wittenburg
2023-10-19 10:04:59 -06:00
committed by GitHub
parent b2d3e01fe6
commit 46c1a8e4c6
36 changed files with 273 additions and 150 deletions

View File

@@ -49,8 +49,6 @@ spack:
- $clang_packages
- $gcc_spack_built_packages
mirrors:
mirror: s3://spack-binaries/develop/tutorial
ci:
pipeline-gen:
- build-job: