Skip to content

Schema updates for spack v1#57

Merged
CodeGat merged 4 commits intomainfrom
spack-v1-schema-updates
Nov 3, 2025
Merged

Schema updates for spack v1#57
CodeGat merged 4 commits intomainfrom
spack-v1-schema-updates

Conversation

@CodeGat
Copy link
Copy Markdown
Member

@CodeGat CodeGat commented Oct 30, 2025

Closes #53

Background

Since we are migrating to spack v1, which splits out the builtin spack-packages repository, we need to keep track of both the builtin-spack-packages repository and the access-spack-packages repository - and need to demarcate these.

The PR

  • Updated release provenance telemetry post schema to 2-0-0. See 8e0838a for a nicer diff.

Essentially changing the data to:

{
-   "$schema": "https://github.com/ACCESS-NRI/schema/blob/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json",
+   "$schema": "https://github.com/ACCESS-NRI/schema/blob/main/au.org.access-nri/model/deployment/config/versions/4-0-0.json",
    "spack": "0.22",
-   "spack-packages": "2025.09.004"
+   "access-spack-packages": "2025.09.004"
}
  • Updated MDR config/versions.json to 4-0-0. See b0c0a0b for a nicer diff.

Essentially changing the data to:

{
  "service": "release_provenance",
- "version": "1-0-0",
+ "version": "2-0-0",
  "telemetry": {
    "model.name": "ACCESS-AM3",
    "model.deployment_repository_url": "https://github.com/ACCESS-NRI/ACCESS-AM3",
    "model_deployment.version": "2025.10.000",
    "model_deployment.status": "ACTIVE",
    "model_deployment.released_at": "2025-10-30T01:16:15Z",
    "model_deployment.release_url": "https://github.com/ACCESS-NRI/ACCESS-AM3/releases/tag/2025.10.000",
    "deployment_targets": [
      {
        "deployment_target.name": "Gadi",
        "deployment_target.spack_version": "0.22",
        "deployment_target.spack_git_hash": "ee9a10e5cafdcd3224b436d3f477a73ef8669b4b",
        "deployment_target.spack_config_version": "2025.08.000",
        "deployment_target.spack_config_git_hash": "a69211111414bd53fab72333f6340811fc52dbec",
-       "deployment_target.spack_packages_version": "2025.09.004",
-       "deployment_target.spack_packages_git_hash": "29ef88d2f325527f9de71624219503a57d7f586f",
+       "deployment_target.builtin_spack_packages_version": "2025.09.004",
+       "deployment_target.builtin_spack_packages_git_hash": "29ef88d2f325527f9de71624219503a57d7f586f",
+       "deployment_target.access_spack_packages_version": "2025.09.004",
+       "deployment_target.access_spack_packages_git_hash": "29ef88d2f325527f9de71624219503a57d7f586f",
        "deployment_target.module_use_location": "/g/data/vk83/modules",
        "spack_model.name": "access-am3",
        "spack_model.spack_package_hash": "edk4dme42jhjzlb2notf7w4uf7kyudka",
        "spack_model.module_load_command": "access-am3/2025.10.000",
        "spack_model_components": [
          {
            "name": "um",
            "spack_package_hash": "ailqa6rhwjgdmc57vgqvju6lr7rjgb5k",
            "version": "2025.08.0",
            "install_location": "/g/data/vk83/apps/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/intel-2021.10.0/um-13.1-ailqa6rhwjgdmc57vgqvju6lr7rjgb5k",
            "repository_url": "https://github.com/ACCESS-NRI/UM/releases/tag/2025.08.0"
          }
        ]
      }
    ]
  }
}

@CodeGat CodeGat added the enhancement New feature or request label Oct 30, 2025
@CodeGat CodeGat self-assigned this Oct 30, 2025
@CodeGat CodeGat force-pushed the spack-v1-schema-updates branch from c6c05cd to 5801737 Compare October 30, 2025 07:18
@CodeGat CodeGat moved this from New Issues 🌅 to Review 👏 in Spack `0.22` to `1.0` Migration Oct 30, 2025
@CodeGat CodeGat force-pushed the spack-v1-schema-updates branch from 5801737 to b0c0a0b Compare October 30, 2025 07:21
@CodeGat CodeGat marked this pull request as ready for review October 30, 2025 07:24
@aidanheerdegen aidanheerdegen self-requested a review November 3, 2025 01:27
Copy link
Copy Markdown
Member

@aidanheerdegen aidanheerdegen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CodeGat CodeGat merged commit 203addf into main Nov 3, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from Review 👏 to Done ✅ in Spack `0.22` to `1.0` Migration Nov 3, 2025
@CodeGat CodeGat deleted the spack-v1-schema-updates branch November 3, 2025 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done ✅

Development

Successfully merging this pull request may close these issues.

Update config/versions.json schema to support access-spack-packages/upstream-spack-packages

2 participants