Merge ~cjwatson/launchpad-buildd:revise-deployment-process into launchpad-buildd:master

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: cb114ecd59238aee170930a39d7889192b03b42f
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad-buildd:revise-deployment-process
Merge into: launchpad-buildd:master
Diff against target: 63 lines (+18/-13)
2 files modified
debian/changelog (+1/-0)
docs/how-to/deployment.rst (+17/-13)
Reviewer Review Type Date Requested Status
Jürgen Gmach Approve
Review via email: mp+426824@code.launchpad.net

Commit message

Revise ordering of deployment documentation

Description of the change

We should be performing QA before proposing a release commit, not after.

To post a comment you must log in.
Revision history for this message
Jürgen Gmach (jugmac00) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 34fdff6..3c2b860 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -7,6 +7,7 @@ launchpad-buildd (216) UNRELEASED; urgency=medium
6 [ Colin Watson ]
7 * Add a timeout when revoking proxy tokens.
8 * Log SHA-512 hash of built snaps (LP: #1979844).
9+ * Revise ordering of deployment documentation.
10
11 [ Jürgen Gmach ]
12 * Pass secrets to the CI runner.
13diff --git a/docs/how-to/deployment.rst b/docs/how-to/deployment.rst
14index cfbe5a1..67473a3 100644
15--- a/docs/how-to/deployment.rst
16+++ b/docs/how-to/deployment.rst
17@@ -4,29 +4,33 @@ How to deploy launchpad-buildd
18 The following steps need to be performed before `Upgrading the builders
19 <https://wiki.canonical.com/InformationInfrastructure/ISO/BuildInfrastructure/BuilddFixing>`_.
20
21-1. Ensure everything has been merged to master.
22+#. Ensure everything has been merged to master, that the `recipe
23+ <https://code.launchpad.net/~launchpad/+recipe/launchpad-buildd-daily>`_
24+ has built successfully, and that the resulting package has been published
25+ in the `Launchpad PPA
26+ <https://launchpad.net/~launchpad/+archive/ubuntu/ppa/+packages>`_.
27
28-2. Create a new release branch, e.g. ``release-213``, based on master.
29+#. Upgrade the dogfood builders
30+ (you may need someone on the LP team with permissions to help with this;
31+ see `documentation <https://wiki.canonical.com/InformationInfrastructure/ISO/BuildInfrastructure/BuilddFixing#Upgrading_launchpad-buildd_in_scalingstack>`_).
32+
33+#. Perform QA on dogfood until satisfied.
34+
35+#. Create a new release branch, e.g. ``release-213``, based on master.
36
37-3. Run ``DEBEMAIL="<email address>" DEBFULLNAME="<name>" dch -rD focal``.
38+#. Run ``DEBEMAIL="<email address>" DEBFULLNAME="<name>" dch -rD focal``.
39 The later recipe build will prepend the correct preamble for each Ubuntu release.
40
41-4. Create a commit with a title like ``releasing package launchpad-buildd version 213``,
42- push this branch and open a MergeProposal with a title like
43+#. Create a commit with a title like ``releasing package launchpad-buildd version 213``,
44+ push this branch and open a merge proposal with a title like
45 ``Release version 213`` for review.
46
47-5. Once the release branch has merged to master,
48+#. Once the release branch has merged to master,
49 tag the release commit (e.g. ``git tag 213 && git push origin --tags``) and
50 check https://code.launchpad.net/~launchpad/+recipe/launchpad-buildd-daily
51 for the recipe build to happen.
52 You can start a build if required.
53
54-6. Upgrade the dogfood builders
55- (you may need someone on the LP team with permissions to help with this;
56- see `documentation <https://wiki.canonical.com/InformationInfrastructure/ISO/BuildInfrastructure/BuilddFixing#Upgrading_launchpad-buildd_in_scalingstack>`_).
57-
58-7. Perform QA
59-
60-8. File an upgrade RT (`sample <https://portal.admin.canonical.com/C150737>`_),
61+#. File an upgrade RT (`sample <https://portal.admin.canonical.com/C150737>`_),
62 noting the version number and possibly multiple suites/releases
63 (`IS procedure <https://wiki.canonical.com/InformationInfrastructure/ISO/BuildInfrastructure/BuilddFixing>`_).

Subscribers

People subscribed via source and target branches