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
diff --git a/docs/how-to/deployment.rst b/docs/how-to/deployment.rst
index 66e3aa3..0221bf7 100644
--- a/docs/how-to/deployment.rst
+++ b/docs/how-to/deployment.rst
@@ -58,7 +58,7 @@ changes to the charm, which are not automatically deployed.
58 directly without needing a merge proposal.58 directly without needing a merge proposal.
5959
60#. As ``stg-launchpad-signing@launchpad-bastion-ps5.internal``, run60#. As ``stg-launchpad-signing@launchpad-bastion-ps5.internal``, run
61 ``run-one mojo run``.61 ``upgrade-staging``.
6262
63#. Check the behaviour of http://staging.signing.lp.internal:8000/ as63#. Check the behaviour of http://staging.signing.lp.internal:8000/ as
64 appropriate, perhaps via the dogfood publisher.64 appropriate, perhaps via the dogfood publisher.
@@ -80,13 +80,8 @@ Deploying to production
80#. Announce the rollout in `~is-outage80#. Announce the rollout in `~is-outage
81 <https://chat.canonical.com/canonical/channels/is-outage>`_.81 <https://chat.canonical.com/canonical/channels/is-outage>`_.
8282
83#. As ``stg-launchpad-signing@launchpad-bastion-ps5.internal``, run ``ssh83#. As ``stg-launchpad-signing@launchpad-bastion-ps5.internal``, run
84 prod-launchpad-signing@is-bastion-il3-not-ps5.internal autodeploy-trigger84 ``upgrade-production``. This should take on the order of five minutes.
85 prod-launchpad-signing
86 EXTRA_SKIP_CHECKS='check_disk|check_hardware_firmware|check_ntpmon'``.
87 (The ``EXTRA_SKIP_CHECKS`` part is temporary until those issues are
88 fixed; `cRT#154821 <https://portal.admin.canonical.com/C154821>`_ covers
89 the ``check_disk`` part.) This should take on the order of five minutes.
9085
91#. Check production publisher logs as appropriate for any issues with the86#. Check production publisher logs as appropriate for any issues with the
92 production signing service.87 production signing service.

Subscribers

People subscribed via source and target branches