Debian Codegraph @

doc/source/contributor/release-guide.rst

raw
1 ..
2 Licensed under the Apache License, Version 2.0 (the "License"); you may
3 not use this file except in compliance with the License. You may obtain
4 a copy of the License at
5
6 http://www.apache.org/licenses/LICENSE-2.0
7
8 Unless required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11 License for the specific language governing permissions and limitations
12 under the License.
13
14 Chronological Release Liaison Guide
15 ====================================
16
17 This is a reference guide that a release liaison may use as an aid, if
18 they choose.
19
20 Cyborg uses the standard `Project Team Lead (PTL)`__ governance model.
21 The release liaison is appointed by the PTL and is responsible for
22 requesting releases, reviewing Feature Freeze Exception (FFE) requests,
23 and coordinating release-related activities with the team.
24
25 .. __: https://governance.openstack.org/tc/reference/project-team-lead.html
26
27 How to Use This Guide
28 ---------------------
29
30 This guide is organized chronologically to follow the OpenStack release
31 cycle from PTG planning through post-release activities. You can use it
32 in two ways:
33
34 **For New Release Liaisons**
35 Read through the entire guide to understand the full release cycle,
36 then bookmark it for reference during your term.
37
38 **For Experienced Release Liaisons**
39 Jump directly to the relevant section for your current phase in the
40 release cycle. Each major section corresponds to a specific time period.
41
42 **Key Navigation Tips**
43 * The :ref:`glossary` defines all acronyms and terminology used
44 * Time-sensitive activities are clearly marked by milestone phases
45 * PTL coordination notes indicate when team collaboration is required
46
47 **Placeholder Convention**
48 Terms shown in ``<angle-brackets>`` (e.g., ``<release>``,
49 ``<stable branch>``) are placeholders that must be replaced with
50 the actual values for your cycle.
51
52 PTL Coordination
53 -----------------
54
55 The release liaison works under the PTL to manage release activities.
56 The release liaison has authority for release-specific decisions (FFE
57 approvals, release timing, etc.) while major process changes and strategic
58 decisions are made by the PTL with team input.
59
60 This coordination approach ensures that:
61
62 * Release activities are properly managed by a dedicated liaison
63 * The PTL is kept informed of release progress and issues
64 * Team input is gathered for significant decisions
65 * Release processes remain responsive while maintaining team alignment
66
67 Project Context
68 ---------------
69
70 * Coordinate with the cyborg meeting (chair rotates each meeting, with
71 volunteers requested at the end of each meeting)
72
73 * Meeting etherpad: https://etherpad.opendev.org/p/openstack-cyborg-irc-meeting
74 * IRC channel: #openstack-cyborg
75
76 * Get acquainted with the release schedule
77
78 * Example: https://releases.openstack.org/<current-release>/schedule.html
79
80 * Familiarize yourself with Cyborg project repositories and tracking:
81
82 Cyborg Main Repository
83 `Primary codebase for the Cyborg service <https://opendev.org/openstack/cyborg>`__
84
85 Cyborg Specifications
86 `Design specifications <https://opendev.org/openstack/cyborg-specs>`__ (not released)
87
88 Python Cyborg Client
89 `Command-line client and Python library <https://opendev.org/openstack/python-cyborgclient>`__
90
91 Cyborg Tempest Plugin
92 `Integration tests <https://opendev.org/openstack/cyborg-tempest-plugin>`__ (follows tempest cycle)
93
94 Cyborg Launchpad (Main)
95 `Primary bug and feature tracking <https://launchpad.net/cyborg>`__
96
97 Python Cyborg Client Launchpad
98 `Client library tracking <https://launchpad.net/python-cyborgclient>`__
99
100 Cyborg Tempest Plugin Launchpad
101 `Test plugin tracking <https://launchpad.net/cyborg-tempest-plugin>`__
102
103 Project Team Gathering
104 ----------------------
105
106 Event Liaison Coordination
107 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
108
109 * Work with the project team to select an event liaison for PTG coordination.
110 The event liaison is responsible for:
111
112 * Reserving sufficient space at PTG for the project team's meetings
113 * Putting out an agenda for team meetings
114 * Ensuring meetings are organized and facilitated
115 * Documenting meeting results
116
117 * If no event liaison is selected, these duties revert to the release liaison.
118
119 * Monitor for OpenStack Events team queries on the mailing list requesting
120 event liaison volunteers - teams not responding may lose event
121 representation.
122
123 PTG Planning and Execution
124 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
125
126 * Create PTG planning etherpad, retrospective etherpad and alert about it in
127 cyborg meeting and dev mailing list
128
129 * Example: https://etherpad.opendev.org/p/cyborg-2026.2-ptg
130
131 * Run sessions at the PTG (if no event liaison is selected)
132
133 * Do a retro of the previous cycle
134
135 * Coordinate with team to establish agreement on the agenda for this release:
136
137 * **Review Days Planning**: determine number of review days allocated
138 for specs and implementation work
139 * **Freeze Dates Coordination**: define Spec approval and Feature
140 freeze dates through team collaboration
141 * **Release Schedule Modifications**: modify the OpenStack release
142 schedule if needed by proposing new dates
143 (Example: https://review.opendev.org/c/openstack/releases/+/877094)
144
145 * Discuss the implications of the `SLURP or non-SLURP`__ current release
146
147 .. __: https://governance.openstack.org/tc/resolutions/20220210-release-cadence-adjustment.html
148
149 * Sign up for group photo at the PTG (if applicable)
150
151
152 After PTG
153 ---------
154
155 * Send PTG session summaries to the dev mailing list
156
157 * Add `RFE bugs`__ if you have action items that are simple to do but
158 without an owner yet.
159
160 * Update IRC #openstack-cyborg channel topic to point to new
161 development-planning etherpad.
162
163 .. __: https://bugs.launchpad.net/cyborg/+bugs?field.tag=rfe
164
165 A few weeks before milestone 1
166 ------------------------------
167
168 * Plan a spec review day
169
170 * Periodically check the series goals others have proposed in the “Set series
171 goals” link:
172
173 * Example: https://blueprints.launchpad.net/cyborg/<current-release>/+setgoals
174
175 Milestone 1
176 -----------
177
178 * Release cyborg and python-cyborgclient via the openstack/releases repo.
179 Cyborg follows the `cycle-with-intermediary`__ release model:
180
181 .. __: https://releases.openstack.org/reference/release_models.html#cycle-with-intermediary
182
183 * Create actual releases (not just launchpad bookkeeping) at milestone points
184 * No launchpad milestone releases are created for intermediary releases
185 * When releasing the first version of a library for the cycle, bump
186 the minor version to leave room for future stable branch releases
187
188 * Release stable branches of cyborg
189
190 Stable Branch Release Process
191 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192
193 Prepare the stable branch for evaluation:
194
195 .. code-block:: bash
196
197 git checkout <stable branch>
198 git log --no-merges <last tag>..
199
200 Analyze commits to determine version bump according to semantic versioning.
201
202 Semantic Versioning Guidelines
203 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204
205 Choose version bump based on changes since last release:
206
207 Major Version (X)
208 Backward-incompatible changes that break existing APIs
209
210 Minor Version (Y)
211 New features that maintain backward compatibility
212
213 Patch Version (Z)
214 Bug fixes that maintain backward compatibility
215
216 Release Command Usage
217 ~~~~~~~~~~~~~~~~~~~~~
218
219 Generate the release using OpenStack tooling:
220
221 * Use the `new-release command
222 <https://releases.openstack.org/reference/using.html#using-new-release-command>`__
223 * Propose the release with version according to chosen semver format
224 (x.y.z)
225
226 Summit
227 ------
228
229 **Responsibility Precedence for Summit Activities:**
230
231 1. **Project Update/Onboarding Liaisons** (if appointed):
232
233 * **Project Update Liaison**: responsible for giving the project update
234 showcasing team's achievements for the cycle to the community
235 * **Project Onboarding Liaison**: responsible for giving/facilitating
236 onboarding sessions during events for the project's community
237
238 2. **Event Liaison** (if no Project Update/Onboarding liaisons exist):
239
240 * Coordinates all Summit activities including project updates and onboarding
241
242 3. **Release Liaison** (if no Event Liaison is appointed):
243
244 * Work with the team to ensure Summit activities are properly handled:
245
246 * Prepare the project update presentation
247 * Prepare the on-boarding session materials
248 * Prepare the operator meet-and-greet session
249
250 .. note::
251
252 The team can choose to not have a Summit presence if desired.
253
254 A few weeks before milestone 2
255 ------------------------------
256
257 * Plan a spec review day (optional)
258
259 Milestone 2
260 -----------
261
262 * Spec freeze (unless changed by team agreement at PTG)
263
264 * Release cyborg and python-cyborgclient (if needed)
265
266 * Stable branch releases of cyborg
267
268
269 Shortly after spec freeze
270 -------------------------
271
272 * Create a blueprint status etherpad to help track, especially non-priority
273 blueprint work, to help things get done by Feature Freeze (FF). Example:
274
275 * https://etherpad.opendev.org/p/cyborg-<release>-blueprint-status
276
277 * Create or review a patch to add the next release’s specs directory so people
278 can propose specs for next release after spec freeze for current release
279
280 Milestone 3
281 -----------
282
283 * Feature freeze day
284
285 * Client library freeze, release python-cyborgclient
286
287 * Close out all blueprints, including “catch all” blueprints like mox,
288 versioned notifications
289
290 * Stable branch releases of cyborg
291
292 * Start writing the `cycle highlights
293 <https://docs.openstack.org/project-team-guide/release-management.html#cycle-highlights>`__
294
295 Week following milestone 3
296 --------------------------
297
298 * If warranted, announce the FFE (feature freeze exception process) to
299 have people propose FFE requests to a special etherpad where they will
300 be reviewed.
301 FFE requests should first be discussed in the IRC meeting with the
302 requester present.
303 The release liaison has final decision on granting exceptions.
304
305 .. note::
306
307 if there is only a short time between FF and RC1 (lately it’s been 2
308 weeks), then the only likely candidates will be low-risk things that are
309 almost done. In general Feature Freeze exceptions should not be granted,
310 instead features should be deferred and reproposed for the next
311 development cycle. FFE never extend beyond RC1.
312
313 * Mark the max microversion for the release in the
314 :doc:`/contributor/rest_api_version_history`
315
316 A few weeks before RC
317 ---------------------
318
319 * Update the release status etherpad with RC1 todos and keep track
320 of them in meetings
321
322 * Go through the bug list and identify any rc-potential bugs and tag them
323
324 RC
325 --
326
327 * Follow the standard OpenStack release checklist process
328
329 * If we want to drop backward-compat RPC code, we have to do a major RPC
330 version bump and coordinate it just before the major release:
331
332 * https://wiki.openstack.org/wiki/RpcMajorVersionUpdates
333
334 * Example: https://review.opendev.org/541035
335
336 * “Merge latest translations" means translation patches
337
338 * Check for translations with:
339
340 * https://review.opendev.org/#/q/status:open+project:openstack/cyborg+branch:master+topic:zanata/translations
341
342 * Should NOT plan to have more than one RC if possible. RC2 should only happen
343 if there was a mistake and something was missed for RC, or a new regression
344 was discovered
345
346 * Write the reno prelude for the release GA
347
348 * Example: https://review.opendev.org/644412
349
350 * Push the cycle-highlights in marketing-friendly sentences and propose to the
351 openstack/releases repo. Usually based on reno prelude but made more readable
352 and friendly
353
354 * Example: https://review.opendev.org/644697
355
356 Immediately after RC
357 --------------------
358
359 * Look for bot proposed changes to reno and stable/<cycle>
360
361 * Create the launchpad series for the next cycle
362
363 * Set the development focus of the project to the new cycle series
364
365 * Set the status of the new series to “active development”
366
367 * Set the last series status to “current stable branch release”
368
369 * Set the previous to last series status to “supported”
370
371 * Repeat launchpad steps ^ for all cyborg deliverables.
372
373 * Make sure the specs directory for the next cycle gets created so people can
374 start proposing new specs
375
376 * Make sure to move implemented specs from the previous release
377
378 * Move implemented specs manually (TODO: add tox command in future)
379
380 * Remove template files:
381
382 .. note::
383
384 The specs directory lives in the
385 `cyborg-specs <https://opendev.org/openstack/cyborg-specs>`__
386 repository. Run these commands there, not in the main cyborg
387 repo.
388
389 .. code-block:: bash
390
391 rm doc/source/specs/<release>/index.rst
392 rm doc/source/specs/<release>/template.rst
393
394 * Ensure liaison handoff: either transition to new release liaison or confirm
395 reappointment for next cycle
396
397 .. _glossary:
398
399 Glossary
400 --------
401
402 PTL
403 Project Team Lead - The elected leader of an OpenStack project team,
404 responsible for overall project governance and coordination.
405
406 FFE
407 Feature Freeze Exception - A request to add a feature after the feature
408 freeze deadline. Should be used sparingly for low-risk, nearly
409 complete features.
410
411 GA
412 General Availability - The final release of a software version for
413 production use.
414
415 PTG
416 Project Team Gathering - A collaborative event where OpenStack project
417 teams meet to plan and coordinate development activities.
418
419 RC
420 Release Candidate - A pre-release version that is potentially the final
421 version, pending testing and bug fixes.
422
423 RFE
424 Request for Enhancement - A type of bug report requesting a new feature
425 or enhancement to existing functionality.
426
427 SLURP
428 Skip Level Upgrade Release Process - An extended maintenance release
429 that allows skipping intermediate versions during upgrades.
430
431 Summit
432 OpenStack Summit - A conference where the OpenStack community gathers
433 for presentations, discussions, and project updates.
434
435 Miscellaneous Notes
436 -------------------
437
438 How to track launchpad blueprint approvals
439 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440
441 Core team approves blueprints through team consensus. The release liaison
442 ensures launchpad status is updated correctly after core team approval:
443
444 * Set the approver as the core team member who approved the spec
445
446 * Set the Direction => Approved and Definition => Approved and make sure the
447 Series goal is set to the current release. If code is already proposed, set
448 Implementation => Needs Code Review
449
450 * Optional: add a comment to the Whiteboard explaining the approval,
451 with a date
452 (launchpad does not record approval dates). For example: “We discussed this
453 in the team meeting and agreed to approve this for <release>. -- <nick>
454 <YYYYMMDD>”
455
456 How to complete a launchpad blueprint
457 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
458
459 * Set Implementation => Implemented. The completion date will be recorded by
460 launchpad