Merge ~cjwatson/lp-signing:doc-simplify-deployment into lp-signing:master

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: 31ed9163dcdaa63c18e6e79fb0e39d985836d299
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/lp-signing:doc-simplify-deployment
Merge into: lp-signing:master
Diff against target: 29 lines (+3/-8)
1 file modified
docs/how-to/deployment.rst (+3/-8)
Reviewer Review Type Date Requested Status
Simone Pelosi Approve
Review via email: mp+453180@code.launchpad.net

Commit message

doc: Simplify deployment commands

Description of the change

`upgrade-staging` and `upgrade-production` are wrapper scripts in `launchpad-bastion-ps5.internal:~stg-launchpad-signing/bin/` that do the same thing as the previous commands listed here, but that additionally save the output to a log file.

To post a comment you must log in.
Revision history for this message
Simone Pelosi (pelpsi) wrote :

LGTM!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/docs/how-to/deployment.rst b/docs/how-to/deployment.rst
2index 66e3aa3..0221bf7 100644
3--- a/docs/how-to/deployment.rst
4+++ b/docs/how-to/deployment.rst
5@@ -58,7 +58,7 @@ changes to the charm, which are not automatically deployed.
6 directly without needing a merge proposal.
7
8 #. As ``stg-launchpad-signing@launchpad-bastion-ps5.internal``, run
9- ``run-one mojo run``.
10+ ``upgrade-staging``.
11
12 #. Check the behaviour of http://staging.signing.lp.internal:8000/ as
13 appropriate, perhaps via the dogfood publisher.
14@@ -80,13 +80,8 @@ Deploying to production
15 #. Announce the rollout in `~is-outage
16 <https://chat.canonical.com/canonical/channels/is-outage>`_.
17
18-#. As ``stg-launchpad-signing@launchpad-bastion-ps5.internal``, run ``ssh
19- prod-launchpad-signing@is-bastion-il3-not-ps5.internal autodeploy-trigger
20- prod-launchpad-signing
21- EXTRA_SKIP_CHECKS='check_disk|check_hardware_firmware|check_ntpmon'``.
22- (The ``EXTRA_SKIP_CHECKS`` part is temporary until those issues are
23- fixed; `cRT#154821 <https://portal.admin.canonical.com/C154821>`_ covers
24- the ``check_disk`` part.) This should take on the order of five minutes.
25+#. As ``stg-launchpad-signing@launchpad-bastion-ps5.internal``, run
26+ ``upgrade-production``. This should take on the order of five minutes.
27
28 #. Check production publisher logs as appropriate for any issues with the
29 production signing service.

Subscribers

People subscribed via source and target branches