ci(spack): pin buildcache geant4 to supported version#413
Merged
Conversation
The buildcache refresh failed while concretizing simphony with ^geant4@11.4.2 because the official spack/spack-packages Geant4 package metadata does not declare 11.4.2 yet. Keep the Dockerfile default at 11.4.2 for the normal image builds, but pass GEANT4_VERSION=11.4.1 when this workflow builds the spack-base image. The container exports that value, so the subsequent spack spec/install commands use a version currently available to Spack. References: https://github.com/BNLNPPS/simphony/actions/runs/29130246634/job/86484075917
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the buildcache refresh GitHub Actions workflow to avoid Spack concretization failures caused by requesting a Geant4 version not yet declared in Spack’s package metadata, while keeping the repository’s Dockerfile default Geant4 version ahead for normal image builds.
Changes:
- Passes
GEANT4_VERSION=11.4.1as a Docker build argument when building thespack-baseimage in the buildcache refresh workflow. - Documents (in-workflow) why the workflow pins Geant4 to a Spack-supported version even if the Dockerfile default moves ahead.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The buildcache refresh failed while concretizing simphony with ^geant4@11.4.2 because the official spack/spack-packages Geant4 package metadata does not declare 11.4.2 yet.
Keep the Dockerfile default at 11.4.2 for the normal image builds, but pass GEANT4_VERSION=11.4.1 when this workflow builds the spack-base image. The container exports that value, so the subsequent spack spec/install commands use a version currently available to Spack.
References: https://github.com/BNLNPPS/simphony/actions/runs/29130246634/job/86484075917