diff options
author | Scott Wittenburg <scott.wittenburg@kitware.com> | 2021-02-16 09:12:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 09:12:37 -0700 |
commit | 428f8318998f0979918f28ffbb02055895064b74 (patch) | |
tree | 5cad7c0f1457fba0026ae16c278eaa6d44555487 /.dockerignore | |
parent | 60ee4199f50290b5faebe2b5f4d90e5affe7dffd (diff) | |
download | spack-428f8318998f0979918f28ffbb02055895064b74.tar.gz spack-428f8318998f0979918f28ffbb02055895064b74.tar.bz2 spack-428f8318998f0979918f28ffbb02055895064b74.tar.xz spack-428f8318998f0979918f28ffbb02055895064b74.zip |
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.
Diffstat (limited to '.dockerignore')
0 files changed, 0 insertions, 0 deletions