Deployment Infrastructure V4: Multi-HPC Deployments#40
Conversation
|
Does this need a change to the Can I deploy twice to Gadi with different compilers ? |
|
The current format works fine! |
|
Ok - so we should merge this ? |
|
That would be good. It'd require a rebase to open PRs to propagate the changes from |
anton-seaice
left a comment
There was a problem hiding this comment.
Update with new versions from build-cd
References issue ACCESS-NRI/build-cd#121 and detailed PR ACCESS-NRI/build-cd#218
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.
Background
This update to the deployment infrastructure allows deployment to multiple different HPC systems (or the same one but a different spack instance) in parallel.
Some of the major changes relevant to a model deployment repository include:
spack.yaml: A new way to formatspack.yamlso that even if there are differences in HPC architecture or variants, we can still deploy using a singlespack.yaml. See https://github.com/ACCESS-NRI/ACCESS-OM2/blob/ce5fdd27badabcbff464d50fcdc4df8e80a74123/spack.yaml for an example. You can still deploy using the traditionalspack.specs[0]method.Choose Where To Deploy Pre/Releases: Model Deployment Repositories can now set the repo-level
vars.PRERELEASE_DEPLOYMENT_TARGETS/vars.RELEASE_DEPLOYMENT_TARGETSto choose which HPCs they deploy to. This is of the form of a space-separated list of GitHub Environments (minus any potentialPrereleasebit), for example:vars.PRERELEASE_DEPLOYMENT_TARGET==Gadi Setonix,vars.RELEASE_DEPLOYMENT_TARGET==Gadi.Updated Deployment Comments/Release Notes: Since we can deploy to multiple targets, we've had to rework the style of the deployment comments/notes. Example of Release Notes here: Make
releaseJob Take Inputs From Multi-Target Deployments build-cd#200 (comment) and Comment here: Fix Up Multi-Target TODOs build-cd#199 (comment)Prerequisites for Merging
vars.[PRE]RELEASE_DEPLOYMENT_TARGETSvars.SPACK_YAML_SCHEMA_VERSIONto1-0-4@v4, updateci.yml pr-closedjobsmodelinput toroot-sbd, updatecd.yml cdjobpermissions.pull-requests:write(This PR!)SUPERCOMPUTER Releaserather thanSUPERCOMPUTER