Skip to content

Commit 9b7b18b

Browse files
adamfarleykariannasxa
authored
Releasing guide update (#4267)
* Branching message update in RELEASING.md Signed-off-by: Adam Farley <[email protected]> * Updating expected gcc version string in JDK25+ from 11.3 to 14.2 Signed-off-by: Adam Farley <[email protected]> * Updating releasing guide to reflect changes to checklist Signed-off-by: Adam Farley <[email protected]> * Fixing html element display issue Signed-off-by: Adam Farley <[email protected]> * Linter error fixes Signed-off-by: Adam Farley <[email protected]> * Update RELEASING.md Co-authored-by: Stewart X Addison <[email protected]> --------- Signed-off-by: Adam Farley <[email protected]> Co-authored-by: Martijn Verburg <[email protected]> Co-authored-by: Stewart X Addison <[email protected]>
1 parent 9febf24 commit 9b7b18b

File tree

1 file changed

+44
-22
lines changed

1 file changed

+44
-22
lines changed

RELEASING.md

Lines changed: 44 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@ During the week before release, the Release Champion makes changes in preparatio
4444

4545
Post the below message to the #build & #release channels in Slack:
4646

47-
`In Preparation for next weeks release, I'm proposing to branch the following repositories, in order that this branch becomes the baseline for the release. Shout now if you need to get any PRs merged for the release, as today is the last day, the following repositories will be branched: ( temurin-build, ci-jenkins-pipelines, jenkins-helper).`
47+
```text
48+
I'm proposing to branch the following repositories tomorrow:
49+
- temurin-build
50+
- ci-jenkins-pipelines
51+
- jenkins-helper
52+
53+
These branches will be the baseline for the approaching release.
54+
55+
Shout now if you need to get any PRs merged for the release.
56+
```
4857

4958
#### Create release branch on below repositories:
5059

@@ -329,9 +338,9 @@ Here are the old manual steps:
329338

330339
</details>
331340

332-
### After build pipeline finished
341+
### After the build pipeline is finished
333342

334-
Once the openjdk pipeline has completed:
343+
Once the OpenJDK pipeline has completed:
335344

336345
1. Triage TRSS result:
337346

@@ -350,12 +359,12 @@ Once the openjdk pipeline has completed:
350359

351360
A further check should be performed to see if the cacerts have been updated
352361
in the repository since the build repositories were branched. Check for the
353-
<a href="https://github.com/adoptium/temurin-build/pulls?q=is%3Apr+%22update+ca+certs%22">automated
354-
PRs in temurin-build</a> and if required cherry pick across to the temurin-build release
355-
branch so that
356-
<a href="https://github.com/adoptium/temurin-build/issues/4141">the latest
357-
ones at GA time are used for the release. Make sure this gets merged before
358-
the GA builds trigger.
362+
[automated PRs in temurin-build]. If required; cherry pick across to the
363+
temurin-build release branch so that [the latest ones at GA time] are used
364+
for the release. Make sure this gets merged before the GA builds trigger.
365+
366+
[automated PRs in temurin-build]: https://github.com/adoptium/temurin-build/pulls?q=is%3Apr+%22update+ca+certs%22
367+
[the latest ones at GA time]: https://github.com/adoptium/temurin-build/issues/4141
359368

360369
### At GA time
361370

@@ -365,13 +374,17 @@ and triaged as per step 1 in the previous section. Then:
365374

366375
2. Publish build results:
367376

368-
- If "good to publish", get permission to publish the release from the Adoptium PMC members, discussion is via the Adoptium [#release](https://adoptium.slack.com/messages/CLCFNV2JG) Slack channel.
369-
- Once permission has been obtained, you will be able to find a link to the
370-
[release tool job](https://ci.adoptium.net/job/build-scripts/job/release/job/refactor_openjdk_release_tool/) to publish the releases to GitHub (restricted access - if you can't see this link,
371-
you don't have access) in the release-openjdkXX-pipeline job for your release.
372-
You will see links to release jobs with `DRY_RUN` checked for each platorm.
373-
They can be rebuilt with the `DRY_RUN` checkbox disabled when you are ready
374-
to ship
377+
- If "good to publish", complete these steps in order:
378+
- Step 1) **Get publish approval from the PMC** once no blocking failures exist.
379+
- Example: Post this in [#release] and wait for 2 \"+1\" emotes from the PMC:
380+
- \@pmc - Permission to publish \<architecture\> \<OS\>
381+
- Step 2) **Publish the release** by following the RELEASE links in the pipeline url.
382+
- Note: If you cannot see/follow said links (which launch [refactor_openjdk_release_tool]), you don't have access.
383+
- Step 3) **Notify the community** by copying the link into the thread from Step 1.
384+
- Step 4) **Confirm that the job passed.**
385+
386+
[#release]: https://adoptium.slack.com/messages/CLCFNV2JG
387+
[refactor_openjdk_release_tool]: https://ci.adoptium.net/job/build-scripts/job/release/job/refactor_openjdk_release_tool/
375388

376389
<details>
377390
<summary>Manual instructions for running the release tool</summary>
@@ -400,9 +413,12 @@ required, but this information on the parameters is here if you need it:
400413
- Once the job completes successfully, check the binaries have uploaded to GitHub at somewhere like <https://github.com/adoptium/temurin8-binaries/releases/tag/jdk8u302-b08>
401414
- Within 15 minutes the binaries should be available on the website too. e.g. <https://adoptium.net/?variant=openjdk11&jvmVariant=hotspot> (NOTE: If it doesn't show up, check whether the API is returning the right thing (e.g. with a link such as [this](https://api.adoptium.net/v3/assets/feature_releases/17/ga?architecture=x64&heap_size=normal&image_type=jre&jvm_impl=hotspot&os=linux&page=0&page_size=10&project=jdk&sort_method=DEFAULT&sort_order=DESC&vendor=eclipse), and that the `.json` metadata files are uploaded correctly)
402415
- During the waiting time, good to update:
403-
404-
-- <https://github.com/adoptium/website-v2/blob/main/src/asciidoc-pages/support.adoc> which is the source of <https://adoptium.net/support> ([Sample change](https://github.com/adoptium/website-v2/pull/1105))
405-
-- (if required) the supported platforms table at <https://github.com/adoptium/website-v2/edit/main/src/asciidoc-pages/supported-platforms.adoc> which is the source of <https://adoptium.net/supported-platforms>
416+
- [support.adoc](https://github.com/adoptium/website-v2/blob/main/src/asciidoc-pages/support.adoc), which is the source of [https://adoptium.net/support] ([example](https://github.com/adoptium/website-v2/pull/1105)).
417+
- The supported platforms table ([source](https://github.com/adoptium/adoptium.net/blob/main/src/data/supported-platforms.json)), which is the source of [https://adoptium.net/supported-platforms].
418+
- Note: If this involves adding a new JDK version, alter the relevant JDK major versions (e.g. 23 to 24) in the following files:
419+
- [page.test.tsx](https://github.com/adoptium/adoptium.net/blob/main/src/app/%5Blocale%5D/temurin/nightly/__tests__/page.test.tsx)
420+
- [page.test.tsx.snap](https://github.com/adoptium/adoptium.net/blob/main/src/app/%5Blocale%5D/supported-platforms/__tests__/__snapshots__/page.test.tsx.snap)
421+
- [page.test.tsx.snap (different file, same name)](https://github.com/adoptium/adoptium.net/blob/main/src/app/%5Blocale%5D/temurin/nightly/__tests__/__snapshots__/page.test.tsx.snap)
406422

407423
3. Publish AQA test results:
408424

@@ -413,15 +429,21 @@ Once all supported platform binaries have been released it's time to publish AQA
413429

414430
4. Publish packages for different OS
415431

416-
4.1. **[Mac only]** Once the binaries are available on the website there is now [automation upstream](https://github.com/Homebrew/homebrew-cask/commits/main/.github/workflows/autobump.yml) as of [June 2025](https://github.com/Homebrew/brew/pull/20117) which updates the Homebrew casks under the `BrewTestBot` ID - this automation should be checked to ensure it has run. Noting that for point releases (not tested with the automated PRs), the format of the version string should be 11.0.20.1,1 so the version is always the same as "our" one but with the `+` replaced with a `,`
432+
4.1. **[Mac only]**
433+
434+
4.1.1. **Homebrew - Summary**
435+
Homebrew casks should be automatically generated and uploaded here (where XX is the jdk major version):
436+
https://github.com/Homebrew/homebrew-cask/blob/master/Casks/t/[email protected]
437+
438+
4.1.2. **Homebrew - Details**
439+
Once the binaries are available on the website there is now [automation upstream](https://github.com/Homebrew/homebrew-cask/commits/main/.github/workflows/autobump.yml) as of [June 2025](https://github.com/Homebrew/brew/pull/20117) which updates the Homebrew casks under the `BrewTestBot` ID - this automation should be checked to ensure it has run. Noting that for point releases (not tested with the automated PRs), the format of the version string should be 11.0.20.1,1 so the version is always the same as "our" one but with the `+` replaced with a `,`
417440

418441
- [`temurin`](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/t/temurin.rb) which always serves the latest release version
419442
- [`temurin8`](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/t/[email protected])
420443
- [`temurin11`](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/t/[email protected])
421444
- [`temurin17`](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/t/[email protected])
422445
- [`temurin21`](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/t/[email protected])
423-
424-
- [`temurin25`](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/t/[email protected])
446+
- [`temurin25`](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/t/[email protected]) - Note: This link will only work after April 2026 release.
425447

426448
4.2. **[Linux only]** Once the binaries are available on the website the
427449
building and publishing of the Linux rpm/deb/apk files will occur to the

0 commit comments

Comments
 (0)