Add back jq
to spack buildcache push
#169
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See failed run: https://github.com/ACCESS-NRI/build-ci/actions/runs/9608705872/job/26501970133#step:4:8470
Using
spack buildcache push
without a list ofspecs
assumes that you want to push all of them. However, if not all of them are installed (as is the case in our dependency image, whichspack install --only dependencies ...
) it fails. So leaving thejq
in was needed.To solve the original issue in #168, we now get both the name of the package, and the hash, so we can push up different versions of the same package.
We also remove the
--allow-root
flag as it is assumed in0.21
, and removed in0.22
.In this PR: