summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2020-10-02 11:00:42 -0600
committerGitHub <noreply@github.com>2020-10-02 11:00:42 -0600
commita44135dccf8d7386597513c5dea6f71f7c12a9b4 (patch)
tree8fa0848e706a3f011efb05c926d6b5130733f6c2 /share
parent0e8be35c25cdd51543faba53578e34286b728fc3 (diff)
downloadspack-a44135dccf8d7386597513c5dea6f71f7c12a9b4.tar.gz
spack-a44135dccf8d7386597513c5dea6f71f7c12a9b4.tar.bz2
spack-a44135dccf8d7386597513c5dea6f71f7c12a9b4.tar.xz
spack-a44135dccf8d7386597513c5dea6f71f7c12a9b4.zip
Update buildcache key index when we update the package index (#19117)
This changes makes sure that when we run the pipeline job that updates the buildcache package index on the remote mirror, we also update the key index. The public keys corresponding to the signing keys used to sign the package was pushed to the mirror as a part of creating the buildcache index, so this is just ensuring those keys are reflected in the key index. Also, this change makes sure the "spack buildcache update-index" job runs even when there may have been pipeline failures, since we would like the index always to reflect the true state of the mirror.
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 4ecec82bd9..c73bdffcb7 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -434,7 +434,7 @@ _spack_buildcache_copy() {
}
_spack_buildcache_update_index() {
- SPACK_COMPREPLY="-h --help -d --mirror-url"
+ SPACK_COMPREPLY="-h --help -d --mirror-url -k --keys"
}
_spack_cd() {