Skip to content

Commit 471cc8f

Browse files
committed
[RelEng] Create release tracking issue when sending RC2 sign-off request
1 parent f269b7f commit 471cc8f

3 files changed

Lines changed: 37 additions & 54 deletions

File tree

JenkinsJobs/Releng/sendAnnouncement.jenkinsfile

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pipeline {
6060
case 'REMINDER_RC':
6161
def rcDate = eclipseReleaseDates["RC${rcNumber}"]
6262
if (rcDate == null) {
63-
error "RC Reminder can only be sent for default candidates, but not for ${rcNumber}"
63+
error "RC Reminder can only be sent for default candidates, but not for RC${rcNumber}"
6464
}
6565
def dateFormat = dateFormat('EEEE, dd MMMM yyyy')
6666
utilities.sendEmail("Eclipse and Equinox ${releaseVersion} (${simRel}) RC${rcNumber} Reminder", """\
@@ -82,9 +82,14 @@ pipeline {
8282
break
8383
case 'SIGNOFF_RC':
8484
def signOffDeadline = params.deadline ? utilities.parseDate(params.deadline) : eclipseReleaseDates["RC${rcNumber}"]
85+
if (signOffDeadline == null) {
86+
error "No default deadline for RC${rcNumber}"
87+
}
8588
def date = dateFormat('EEEE, dd MMMM yyyy').format(signOffDeadline)
8689
def signOffIssueTitle = "Declare ${releaseVersion} RC${rcNumber}"
8790
def signOffCandidateDetails = """
91+
Current candidate
92+
8893
Eclipse downloads:
8994
https://download.eclipse.org/eclipse/downloads/drops4/${buildId}
9095

@@ -100,10 +105,8 @@ pipeline {
100105
Equinox downloads:
101106
https://download.eclipse.org/equinox/drops/${buildId}
102107
"""
103-
def issueURL = githubAPI.createIssue('eclipse-platform/eclipse.platform.releng.aggregator', signOffIssueTitle, """\
108+
def signOffIssue = githubAPI.createIssue('eclipse-platform/eclipse.platform.releng.aggregator', signOffIssueTitle, """\
104109
A "Go" is needed from all the components below to declare this milestone.
105-
106-
Current candidate
107110
${signOffCandidateDetails}
108111
---
109112
Deadlines:
@@ -129,12 +132,38 @@ pipeline {
129132
- [ ] PDE
130133
- [ ] Equinox
131134
""".stripIndent())
135+
def releaseIssue = null
136+
if (rcNumber == '2') {
137+
releaseIssue = githubAPI.createIssue('eclipse-platform/eclipse.platform.releng.aggregator', "Release ${releaseVersion}", """\
138+
Umbrella issue to track release activities for ${releaseVersion}
139+
140+
- [ ] Readme file for ${releaseVersion}
141+
- [ ] Migration Guide
142+
- [ ] Ensure the build is cleared of comparator errors in doc bundles before RC2 build
143+
- [ ] Preparation of the subsequent development cycle
144+
- After RC2 was promoted, run the [`Prepare Next Development Cycle`](https://ci.eclipse.org/releng/job/Releng/job/prepareNextDevCycle/) Jenkins job and complete the tasks listed in the PR created by it in this repository.
145+
- [ ] Run it with final parameters as `dry-run` (ideally shortly) before and verify correctnes.
146+
147+
- [ ] Publish ${releaseVersion} to Maven central
148+
- The final publication should be done one or two days before the release to ensure everything is mirrored at the time of release.
149+
- [ ] Contribute ${releaseVersion} to SimRel
150+
- Should be done one day before the release to ensure the SimRel aggregation does not contain the RC I-build repo, which is deleted on release day.
151+
- [ ] Submit the pending PRs to update build scripts to ${releaseVersion} GA on master and the ${releaseVersion}-maintenance
152+
- Should be done one day before the release
153+
154+
- [ ] Delete the old [`I-build-${releaseVersion}`](https://ci.eclipse.org/releng/job/Builds/) job and its associated [Test jobs](https://ci.eclipse.org/releng/job/AutomatedTests/).
155+
""".stripIndent())
156+
}
132157
utilities.sendEmail(signOffIssueTitle, """\
133158
Please sign off and declare ${releaseVersion} RC${rcNumber} on
134-
${issueURL}
159+
${signOffIssue}
135160

136161
${signOffCandidateDetails}
137-
""")
162+
""" + (releaseIssue != null ? """
163+
164+
The final steps towards the ${releaseVersion} release are tracked in
165+
${releaseIssue}
166+
""":''))
138167
break
139168
default:
140169
error "Unsupported mail type: ${params.type}"

RELEASE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ Tasks to be completed after RC2
5656
### Release Preparation
5757
Tasks that need to be completed before Friday
5858

59-
* Create an issue to track the current release tasks (see [Release 4.24](https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/273)).
60-
- Tag @SarikaSinha (Readme), @ktatavarthi (JDT and Platform Migration Guides).
61-
- A script to create this issue exists [here](scripts/GAReleasePrep.sh) for those who have the hub cli tool installed.
59+
The job sending the request to sign-off of RC2, also creates the issue to track the final release steps in this repository.
60+
6261
* **Readme**
6362
Currently handled by @SarikaSinha
6463
- Create a tracking issue in [www.eclipse.org-eclipse](https://github.com/eclipse-platform/www.eclipse.org-eclipse) (see [Readme file for 4.26](https://github.com/eclipse-platform/www.eclipse.org-eclipse/issues/24) as an example).

scripts/GAReleasePrep.sh

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)