Skip to content

build-cd v8: Infrastructure Update for spack v1.X (Recreated)#352

Merged
CodeGat merged 34 commits intov8from
spack-v1-migration
Feb 6, 2026
Merged

build-cd v8: Infrastructure Update for spack v1.X (Recreated)#352
CodeGat merged 34 commits intov8from
spack-v1-migration

Conversation

@CodeGat
Copy link
Member

@CodeGat CodeGat commented Feb 6, 2026

Equivalent to #326, redoing due to default branch being set to v7 when it needed to be v8 to apply settings in config/settings.json.

check-config: Validate all repositories referenced in build-cd and the caller, including new access-spack-package and builtin spack-packages
Includes references to spack/spack-packages and access-nri/access-spack-packages
Superseded by access-nri/actions get-git-ref-info action
Release instances of spack manage spack-packages, and Prerelease instances have spack-packages under the environment folder
…spack versions >=1.0, tightened up additionalProperties
* Rename action from get-spack-root-spec to get-spack-manifest, return only deployment-[name|version]

* cd.yml: Use get-spack-manifest, rework job names

* ci-comment.yml: Use get-spack-manifest, simplify update and commit of the bump

* deploy-1-setup.yml: Use get-spack-manifest, remove check on root spec usage

* deploy-2-start.yml: Remove unused manifest information

* fix: Add manifest path to action

* Update modules.py, prerelease.py to use reserved defs _name and _version

* Update tests

* Make reserved definitions flow-style for module injection too

* Remove references to RootSpecs, use ReservedDefinitions.get("name"), remove --keep-root-spec-intact flag

* Update pkg_repo_url logic to use spack.repo.PATH.get_pkg_class()

* getter.py fixes from code review
Update reserved defs getter return value, remove case statement, revert autoformatter

* Update test input manifest formatting

* Add back manifest info step

* Update pre/release injections to handle multiple specs, simplify custom release projection logic

* Change release injection --packages from space-sep to comma-sep, as convention

* Update tests

* Explicitly disallow multi-spec Releases

* get-spack-manifest: call the getter.py script

* Import yaml representers from own class

* Small fixes
…eld (#335)

* deploy-2-start: Add --custom-scope loop to spack install and module refresh

* Use envs rather than outputs

* Separate --custom-scope flag and value with =

* flag is --config-scope, not --custom-scope

* Remove erroneous get-spack-root-spec step
… Where Missing (#347)

* ci: Removed entrypoint inputs.root-sbd, inputs.pr

Replaced root-sbd with manifest _name reserved def
Replaced pr with coalescing pr number / "issue" number

* cd: Removed entrypoint inputs.root-sbd

* ci-closed: Removed entrypoint inputs.root-sbd, added inputs.spack-manifest-path

* ci-command-configs: Removed entrypoint inputs.root-sbd, added inputs.spack-manifest-path, removed caller path for checkout

* ci-comment (!bump): Removed entrypoint inputs.root-sbd, added inputs.spack-manifest-path

* Update all `./spack.yaml`s to `spack.yaml`
@CodeGat CodeGat self-assigned this Feb 6, 2026
@CodeGat CodeGat added type:feature New feature type:enhancement Improvements to existing features type:documentation priority:high version:MAJOR Requires an update to Model Deployment Repositories CI type:config-update Updates to deployed spack instances for:v8 Applies to v8 labels Feb 6, 2026
@CodeGat CodeGat changed the title Spack v1 migration build-cd v8: Infrastructure Update for spack v1.X (Recreated) Feb 6, 2026
@CodeGat CodeGat merged commit 39704c7 into v8 Feb 6, 2026
19 checks passed
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

ℹ️ The deployment of the merged settings update can be found here: https://github.com/ACCESS-NRI/build-cd/actions/runs/21737599303 ℹ️

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

ℹ️ The deployment of the merged settings update can be found here: https://github.com/ACCESS-NRI/build-cd/actions/runs/21738089118 ℹ️

1 similar comment
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

ℹ️ The deployment of the merged settings update can be found here: https://github.com/ACCESS-NRI/build-cd/actions/runs/21738089118 ℹ️

@CodeGat CodeGat deleted the spack-v1-migration branch February 6, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

for:v8 Applies to v8 priority:high type:config-update Updates to deployed spack instances type:documentation type:enhancement Improvements to existing features type:feature New feature version:MAJOR Requires an update to Model Deployment Repositories CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant