Skip to content

Commit 1507805

Browse files
authored
Merge pull request #11642 from IQSS/docs-making-releases-post-6.7
Update "Making Release" docs post 6.7
2 parents f677806 + d9e0bf3 commit 1507805

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

doc/sphinx-guides/source/developers/making-releases.rst

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Some of the steps in this document are well-served by having their own dedicated
3737
There are a variety of reasons why a step might deserve its own dedicated issue:
3838

3939
- The step can be done by a team member other than the person doing the release.
40-
- Stakeholders might be interested in the status of a step (e.g. has the released been deployed to the demo site).
40+
- Stakeholders might be interested in the status of a step (e.g. has the release been deployed to the demo site).
4141

4242
Steps don't get their own dedicated issue if it would be confusing to have multiple people involved. Too many cooks in the kitchen, as they say. Also, some steps are so small the overhead of an issue isn't worth it.
4343

@@ -81,10 +81,11 @@ Developers express the need for an addition to release notes by creating a "rele
8181
The task at or near release time is to collect these snippets into a single file.
8282

8383
- Find the issue in GitHub that tracks the work of creating release notes for the upcoming release.
84-
- Create a branch, add a .md file for the release (ex. 5.10.1 Release Notes) in ``/doc/release-notes`` and write the release notes, making sure to pull content from the release note snippets mentioned above. Snippets may not include any issue number or pull request number in the text so be sure copy the number from the filename of the snippet into the final release note.
84+
- Create a branch, add a .md file for the release (ex. 5.10.1 Release Notes) in ``/doc/release-notes`` and write the release notes, making sure to pull content from the release note snippets mentioned above. Snippets may not include any issue number or pull request number in the text so be sure to copy the number from the filename of the snippet into the final release note.
8585
- Delete (``git rm``) the release note snippets as the content is added to the main release notes file.
8686
- Include instructions describing the steps required to upgrade the application from the previous version. These must be customized for release numbers and special circumstances such as changes to metadata blocks and infrastructure.
87-
- Take the release notes .md through the regular Code Review and QA process. That is, make a pull request. Here's an example: https://github.com/IQSS/dataverse/pull/10866
87+
- Make a pull request. Here's an example: https://github.com/IQSS/dataverse/pull/11613
88+
- Note that we won't merge the release notes until after we have confirmed that the upgrade instructions are valid by performing a couple upgrades.
8889

8990
Deploy Release Candidate to Internal
9091
------------------------------------
@@ -93,6 +94,8 @@ Deploy Release Candidate to Internal
9394

9495
To upgrade internal, go to /doc/release-notes, open the release-notes.md file for the current release and perform all the steps under "Upgrade Instructions".
9596

97+
Note that we haven't bumped the version yet so you won't be able to follow the steps exactly.
98+
9699
Deploy Release Candidate to Demo
97100
--------------------------------
98101

@@ -115,7 +118,14 @@ This will build the war file, and then automatically deploy it on dataverse-inte
115118

116119
You can scp the war file to the demo server or download it from https://jenkins.dataverse.org/job/IQSS_Dataverse_Internal/ws/target/
117120

118-
ssh into the demo server and follow the upgrade instructions in the release notes.
121+
ssh into the demo server and follow the upgrade instructions in the release notes. Again, note that we haven't bumped the version yet.
122+
123+
Merge Release Notes (Once Ready)
124+
--------------------------------
125+
126+
If the upgrade instructions are perfect, simply merge the release notes.
127+
128+
If the upgrade instructions aren't quite right, work with the authors of the release notes until they are good enough, and then merge.
119129

120130
Prepare Release Branch
121131
----------------------
@@ -147,9 +157,9 @@ Return to the parent pom and make the following change, which is necessary for p
147157

148158
(Before you make this change the value should be ``${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}``. Later on, after cutting a release, we'll change it back to that value.)
149159

150-
For a regular release, make the changes above in the release branch you created, but hold off for a moment on making a pull requests because Jenkins will fail because it will be testing the previous release.
160+
For a regular release, make the changes above in the release branch you created, but hold off for a moment on making a pull request because Jenkins will fail because it will be testing the previous release.
151161

152-
In the dataverse-ansible repo make bump the version in `jenkins.yml <https://github.com/gdcc/dataverse-ansible/blob/develop/tests/group_vars/jenkins.yml>`_ and make a pull request such as https://github.com/gdcc/dataverse-ansible/pull/386. Wait for it to be merged. Note that bumping on the Jenkins side like this will mean that all pull requests will show failures in Jenkins until they are updated to the version we are releasing.
162+
In the dataverse-ansible repo bump the version in `jenkins.yml <https://github.com/gdcc/dataverse-ansible/blob/develop/tests/group_vars/jenkins.yml>`_ and make a pull request such as https://github.com/gdcc/dataverse-ansible/pull/386. Wait for it to be merged. Note that bumping on the Jenkins side like this will mean that all pull requests will show failures in Jenkins until they are updated to the version we are releasing.
153163

154164
Once dataverse-ansible has been merged, return to the branch you created above ("10852-bump-to-6.4" or whatever) and make a pull request. Ensure that all tests are passing and then put the PR through the normal review and QA process.
155165

@@ -311,7 +321,7 @@ Create a new branch (any name is fine but ``prepare-next-iteration`` is suggeste
311321

312322
- modules/dataverse-parent/pom.xml -> ``<profiles>`` -> profile "ct" -> ``<properties>`` -> Set ``<base.image.version>`` to ``${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}``
313323

314-
Create a pull request and put it through code review, like usual. Give it a milestone of the next release, the one **after** the one we're working on. Once the pull request has been approved, merge it. It should the the first PR merged of the next release.
324+
Create a pull request and put it through code review, like usual. Give it a milestone of the next release, the one **after** the one we're working on. Once the pull request has been approved, merge it. It should be the first PR merged of the next release.
315325

316326
For more background, see :ref:`base-image-supported-tags`. For an example, see https://github.com/IQSS/dataverse/pull/10896
317327

0 commit comments

Comments
 (0)