You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR is a major update to the deployment infrastructure. See below for the prerequisites for this repository to be able to merge this PR.
Important
This major version change marks the end of major infrastructure updates for deployments to spack < 1.0.
If you want to deploy to instances of spack < 1.0, you must use build-cd < v8.
If you want to deploy to instances of spack >= 1.0, you must use build-cd >= v8.
Background
We are moving on up to spack v1! This update to spack contains many bug fixes, optimisations and new features that can be incorporated into build-cd.
This update also contains changes that make spack v0.X incompatible with this build-cd v8 update - the most prominent one being the splitting of spacks core codebase from it's builtin spack-packages repo. This means that for provenance, one to keep track of both builtin spack-packages and our own, renamed access-spack-packages. build-cd will centrally control the version of builtin spack-packages for a given instance, and config/versions.jsons spack-packages key is renamed to access-spack-packages.
As noted earlier, this major version of build-cd can only support spack v1, due to spack v1-specific commands in the infrastructure. If you still want to deploy to spack v0.X, you will need to change build-cd to v7, and update the config/versions.json file/spack.yaml.
Features
Support for spack v1: We're moving to a new, non-beta version of spack! It contains bug fixes, features and optimisations over the old version.
Prerequisites for Merging
Update build-cd entrypoints (this PR!)
Update config/versions.json with new inputs (also this PR!)
Validate compiler additions to the spack manifest (this PR, too!)
gh, defined in gh/spack.yaml, will be deployed to Gadi as:
2.43.1 as a Release (when merged).
pr22-7 as a Prerelease (during this PR).
This Prerelease is accessible on Gadi using:
module use /g/data/vk83/prerelease/modules
module load gh/pr22-7
When using the above modules, the binaries shall be on your $PATH.
For advanced users, this Prerelease is also accessible on Gadi via /g/data/vk83/prerelease/apps/spack/1.1/spack in the gh-pr22-7 environment.
Due to inode-saving measures, one will have to manually untar the environment metadata before environment activation with tar -xf .spack-env .spack-env.tar. It will require one to have write privileges.
ncdu, defined in ncdu/spack.yaml, will be deployed to Gadi as:
1.19 as a Release (when merged).
pr22-8 as a Prerelease (during this PR).
This Prerelease is accessible on Gadi using:
module use /g/data/vk83/prerelease/modules
module load ncdu/pr22-8
When using the above modules, the binaries shall be on your $PATH.
For advanced users, this Prerelease is also accessible on Gadi via /g/data/vk83/prerelease/apps/spack/1.1/spack in the ncdu-pr22-8 environment.
Due to inode-saving measures, one will have to manually untar the environment metadata before environment activation with tar -xf .spack-env .spack-env.tar. It will require one to have write privileges.
openssh, defined in openssh/spack.yaml, will be deployed to Gadi as:
9.8p1 as a Release (when merged).
pr22-9 as a Prerelease (during this PR).
This Prerelease is accessible on Gadi using:
module use /g/data/vk83/prerelease/modules
module load openssh/pr22-9
When using the above modules, the binaries shall be on your $PATH.
For advanced users, this Prerelease is also accessible on Gadi via /g/data/vk83/prerelease/apps/spack/1.1/spack in the openssh-pr22-9 environment.
Due to inode-saving measures, one will have to manually untar the environment metadata before environment activation with tar -xf .spack-env .spack-env.tar. It will require one to have write privileges.
pinentry, defined in pinentry/spack.yaml, will be deployed to Gadi as:
1.3.0 as a Release (when merged).
pr22-10 as a Prerelease (during this PR).
This Prerelease is accessible on Gadi using:
module use /g/data/vk83/prerelease/modules
module load pinentry/pr22-10
When using the above modules, the binaries shall be on your $PATH.
For advanced users, this Prerelease is also accessible on Gadi via /g/data/vk83/prerelease/apps/spack/1.1/spack in the pinentry-pr22-10 environment.
Due to inode-saving measures, one will have to manually untar the environment metadata before environment activation with tar -xf .spack-env .spack-env.tar. It will require one to have write privileges.
If the above was not what was expected, commit changes to config/versions.json in this PR, or propose changes to build-cds config/settings.json.
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
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.
Note
This PR is identical to #16, that one was merged erroneously automatically during testing of ACCESS-NRI/build-cd#326 (testing PR in #21)
References issue ACCESS-NRI/build-cd#313 and PR ACCESS-NRI/build-cd#326
References rollout issue ACCESS-NRI/build-cd#328
References project Spack `0.22` to `1.0` Migration
Important
This PR is a major update to the deployment infrastructure. See below for the prerequisites for this repository to be able to merge this PR.
Important
This major version change marks the end of major infrastructure updates for deployments to
spack < 1.0.If you want to deploy to instances of
spack < 1.0, you must usebuild-cd < v8.If you want to deploy to instances of
spack >= 1.0, you must usebuild-cd >= v8.Background
We are moving on up to
spack v1! This update to spack contains many bug fixes, optimisations and new features that can be incorporated intobuild-cd.This update also contains changes that make
spack v0.Xincompatible with thisbuild-cd v8update - the most prominent one being the splitting of spacks core codebase from it's builtin spack-packages repo. This means that for provenance, one to keep track of bothbuiltinspack-packages and our own, renamedaccess-spack-packages.build-cdwill centrally control the version of builtinspack-packagesfor a given instance, andconfig/versions.jsonsspack-packageskey is renamed toaccess-spack-packages.As noted earlier, this major version of
build-cdcan only supportspack v1, due tospack v1-specific commands in the infrastructure. If you still want to deploy tospack v0.X, you will need to changebuild-cdtov7, and update theconfig/versions.jsonfile/spack.yaml.Features
Prerequisites for Merging
build-cdentrypoints (this PR!)config/versions.jsonwith new inputs (also this PR!)spack v1🚀 The latest prerelease
pinentry/pr22-10at e07f138 is here: #22 (comment) 🚀