Install and Upgrade Framework (IUF) CLI
-
Determine the latest CSM release your change applies to. This determines the branch you start from. For CSM 1.4, use
release/1.4
. For CSM 1.5, userelease/1.5
. For CSM 1.6, usemain
. -
Check out the branch determined in the previous state and ensure it's up to date. For example, for the main branch:
git checkout main git pull
-
Create a development branch from this branch:
git checkout -b JIRA-XYZ-short-description
-
Make changes, commit, and push:
git commit -av git push -u origin JIRA-XYZ-short-description
-
Open a pull request from your branch to the appropriate base branch determined in the first step.
-
Once approved, merge the pull request.
-
Backport the change to any release branches that need it. For example, you may need to backport a change from main to
release/1.5
andrelease/1.4
.To do this, add a comment of the form
/backport BRANCH
to the pull request. This will kick off a GitHub Actions workflow that will create a new PR.
Follow this procedure to tag a new release, so that it can be included in a CSM version.
-
Pull the latest version of the branch to which you merged and ensure your commit is the
HEAD
of this branch. For example, forrelease/1.5
:git checkout release/1.5 git pull
-
Tag the latest commit on this branch with a tag of the form
vX.Y.Z
whereX.Y
is the CSM version andZ
is incremented.git tag vX.Y.Z
-
Push the tag.
git push origin vX.Y.Z
-
Monitor the tags in the iuf-cli Jenkins multibranch pipeline and verify the build of the newly pushed tag is successful.
-
Verify that the new
iuf-cli
RPM has been published to the stable csm-rpms repository in Artifactory under the iuf-cli directory. -
Create a PR to change the IUF-CLI version in CSM. Specifically, change the version in csm/rpm/cray/csm/sle-15sp4/index.yaml.