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.
Uses the azimuth_cloud.azimuth_ops.community_images role to simplify provision and use of StackHPC images.
Significant changes:
ansible/adhoc/image-pull.ymlwill idempotently download/convert/upload the relevant StackHPC image to the current cloud. Images are defined by Ansiblecommunity_images*variables. Note Ansible variableappliances_distro_versiondefaults toRL9and must be overridden for RockyLinux 8 clusters. TODO: should I change this name??community_imagesvariable to specify cluster and nodegroup images. OpenTofu variablecluster_image_idreplaced bycluster_image_keyand nodegroup parameterimage_idreplaced byimage_key.community_imagevariable to specifiy build's source image. Packer variablesource_image_idreplaced withsource_image_key. TODO: think about how this works for multi-stage builds.stackhpcimage key, meaning the appropriate StackHPC image is the default for both clusters and for site-specific image builds. Running theimage-pull.ymlplaybook will if necessary update the image. TODO: think about how to invalidate current site builds when this happens??TODO: Integrate community_images into CI and describe changes
TODO: docs
TODO: figure out how to get site builds to add to cluster_image_ids.