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
* updates per my release process
* expand and clarify a few steps in the release process
Signed-off-by: Anthony Floeder <anthony.floeder@hpe.com>
* - move discussion of nnf-mfu to the top of the table to emphasize that its version
is used in other dependent submodules.
- clarify the nnf-deploy `master` branch steps and merge
* Add section for cloning a release
Signed-off-by: Anthony Floeder <anthony.floeder@hpe.com>
* Removed reference to update.sh script
Signed-off-by: Anthony Floeder <anthony.floeder@hpe.com>
---------
Signed-off-by: Anthony Floeder <anthony.floeder@hpe.com>
[nnf-ec](https://github.com/NearNodeFlash/nnf-ec) is vendored in as part of `nnf-sos` and does not
@@ -89,93 +91,117 @@ just an example.
89
91
1. For `lustre-csi-driver`, `lustre-fs-operator`, `dws`, `nnf-sos`, and `nnf-dm` there are additional files that need to
90
92
track the version number as well, which allow them to be installed with `kubectl apply -k`.
91
93
92
-
1. For `lustre-fs-operator`, `dws`, `nnf-sos`, and `nnf-dm` update `config/manager/kustomization.yaml` with the correct version.
93
-
94
-
2. For `lustre-csi-driver`, update `deploy/kubernetes/base/kustomization.yaml` and
95
-
`charts/lustre-csi-driver/values.yaml` with the correct version.
96
-
97
-
2. If `nnf-mfu` was updated, multiple references in `nnf-dm` will need to be updated with the
98
-
new version number for the `nnf-mfu` image:
99
-
100
-
1. In `Dockerfile` and `Makefile`, replace `NNFMU_VERSION` with the new version
101
-
102
-
2. In `config/manager/kustomization.yaml`, replace `nnf-mfu`'s `newTag: <X.Y.Z>`
94
+
|Repo |Update|
95
+
|---------------------|------|
96
+
|`nnf-mfu` |The new version of `nnf-mfu` is referenced by the `NNFMFU` variable in several places:<br><br>`nnf-sos`<br>1. `Makefile` replace `NNFMFU` with `nnf-mfu's` tag.<br><br>`nnf-dm`<br>1. In `Dockerfile` and `Makefile`, replace `NNFMU_VERSION` with the new version.<br>2. In `config/manager/kustomization.yaml`, replace `nnf-mfu`'s `newTag: <X.Y.Z>.`|
97
+
|`lustre-fs-operator` |update `config/manager/kustomization.yaml` with the correct version.|
98
+
|`dws` |update `config/manager/kustomization.yaml` with the correct version.|
99
+
|`nnf-sos` |update `config/manager/kustomization.yaml` with the correct version.|
100
+
|`nnf-dm` |update `config/manager/kustomization.yaml` with the correct version.|
101
+
|`lustre-csi-driver` |update `deploy/kubernetes/base/kustomization.yaml` and `charts/lustre-csi-driver/values.yaml` with the correct version.|
103
102
104
-
6. Create a Pull Request from your branch and **target the release branch**. When merging the Pull
103
+
6. **Target the `releases/v0` branch** with a Pull Request from your branch. When merging the Pull
105
104
Request, **you must use a Merge Commit.**
106
105
107
106
!!! note
108
-
109
-
**Do not** Rebase or Squash! Those actions will remove the records that Git uses to
107
+
**Do not** Rebase or Squash! Those actions remove the records that Git uses to
110
108
determine which commits have been merged, and then when the next release is created Git will
111
109
treat everything like a conflict. Additionally, this will cause auto-generated release notes
112
110
to include the previous release.
113
111
114
-
7. Once merged, update the release branch locally and thencreate an annotated tag:
112
+
7. Once merged, update the release branch locally and create an annotated tag:
115
113
116
114
```shell
117
115
git checkout releases/v0
116
+
git pull
118
117
git tag -a v0.0.3 -m "Release v0.0.3"
119
118
git push origin --tags
120
119
```
121
120
122
-
8. Now that there is a tag, a release can be created via the [GitHub CLI](https://cli.github.com/).
121
+
8. Now that a tag exists, a release can be created via the [GitHub CLI](https://cli.github.com/).
123
122
Alternatively, use the [Web UI](https://github.com/NearNodeFlash/nnf-dm/releases/new).
0 commit comments