-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
settings.json
: Release 0.22 spack
Does Not Contain Hash Due to access-nri/spack
Rebase
#140
Comments
We're at war with our smarter selves. I wonder who will win? |
Ironically, this is probably one of the arguments for using patch files instead of a branch that tracks upstream with local changes as commits. |
Hi @CodeGat , Could we do something like:
where: Then only do your checks on the |
But we test against the commit hash of the deployed |
The latest upstream commit hash will be an ancestor of the latest ACCESS-NRI commit. I think you should be able to create a better test when you take into account how the ACCESS-NRI fork of Spack operates. |
@harshula and myself came to two possibilities to fix this:
Both of those solutions will take time, so currently I'll opt for Option 3 for now, which is:
|
See warning in
Validate [config/settings.json] Deployment Settings
here: https://github.com/ACCESS-NRI/build-cd/actions/runs/11007422156/job/30563301689#step:5:245This is due to ACCESS-NRI/spack@21da7d7 no longer existing on the
releases/v0.22
branch ofaccess-nri/spack
. This is because after syncing our fork with the upstream for its0.22.2
updates, @harshula rebased our ACCESS-NRI-specific fixes on top of that.This currently prevents Model Deployment Repo PRs from being merged as any warnings in validation are converted to errors upon merging.
We need to come to a decision where either:
release/v$VERSION
branch. This would remove a guardrail that prevents people from modifying the0.XX
install to a commit hash not within that major version. Relevant code here:build-cd/.github/actions/validate-deployment-settings/action.yml
Lines 83 to 120 in ab2b346
spack
fixes commits stableThe text was updated successfully, but these errors were encountered: