docs-csm icon indicating copy to clipboard operation
docs-csm copied to clipboard

CASMINST-7104 : passing image and config for rebuild

Open Pankhuri-Rajesh opened this issue 11 months ago • 1 comments

Description

Adding a check for "cfs_config" and "ims_image" in rebuild task. If the parameters were passed , use them to rebuild the node rather than prepare-images output. If not passed workflow will use prepare-images output as it currently does.

Added a new task called "rebuild-config-image-update" in all the management rollouts templates which updates the activity configmap with the image and cfs configuration used. This is a conditional step, and is executed only if the parameters are not empty strings. (implemented using "when" key)

Also the documentation changes for the new feature updated in markdown files .

Relates to:

  • CASMINST-7104
  • https://github.com/Cray-HPE/iuf-cli/pull/190
  • https://github.com/Cray-HPE/cray-nls/pull/227

Testing:

Tested without rebuilding the nodes. Needs to be tested with rebuild once cluster is available

Checklist

  • [ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
  • [ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
  • [x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

Pankhuri-Rajesh avatar May 06 '25 05:05 Pankhuri-Rajesh

  • @Pankhuri-Rajesh please go through and mark as Resolved all the comments that you have addressed
  • Are you anticipating making more changes? If not, change it from Draft to Ready for review
  • Please update the branch and resolve the merge conflicts

dborman-hpe avatar May 27 '25 19:05 dborman-hpe