spack/share/spack
Scott Wittenburg 428f831899
Pipelines: DAG Pruning (#20435)
Pipelines: DAG pruning

During the pipeline generation staging process we check each spec against all configured mirrors to determine whether it is up to date on any of the mirrors.  By default, and with the --prune-dag argument to "spack ci generate", any spec already up to date on at least one remote mirror is omitted from the generated pipeline.  To generate jobs for up to date specs instead of omitting them, use the --no-prune-dag argument.  To speed up the pipeline generation process, pass the --check-index-only argument.  This will cause spack to check only remote buildcache indices and avoid directly fetching any spec.yaml files from mirrors.  The drawback is that if the remote buildcache index is out of date, spec rebuild jobs may be scheduled unnecessarily.

This change removes the final-stage-rebuild-index block from gitlab-ci section of spack.yaml.  Now rebuilding the buildcache index of the mirror specified in the spack.yaml is the default, unless "rebuild-index: False" is set.  Spack assigns the generated rebuild-index job runner attributes from an optional new "service-job-attributes" block, which is also used as the source of runner attributes for another generated non-build job, a no-op job, which spack generates to avoid gitlab errors when DAG pruning results in empty pipelines.
2021-02-16 09:12:37 -07:00
..
bash copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
csh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
docker copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
docs/docker/module-file-tutorial copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
gitlab Remove ascent gitlab trigger (#20755) 2021-01-08 12:57:50 -07:00
keys add tutorial public key to share/spack/keys dir (#17684) 2020-07-23 14:35:25 -07:00
logo add artisanal handcrafted SVG Spack logo. (#6165) 2017-11-06 22:42:16 -08:00
qa copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
templates copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
setup-env.csh Introduce a SPACK_PYTHON environment variable (#21222) 2021-02-12 10:52:44 -08:00
setup-env.fish Introduce a SPACK_PYTHON environment variable (#21222) 2021-02-12 10:52:44 -08:00
setup-env.sh Introduce a SPACK_PYTHON environment variable (#21222) 2021-02-12 10:52:44 -08:00
setup-tutorial-env.sh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
spack-completion.bash Pipelines: DAG Pruning (#20435) 2021-02-16 09:12:37 -07:00