~cjwatson/launchpad-bastion-scripts:main

Last commit made on 2023-09-05
Get this branch:
git clone -b main https://git.launchpad.net/~cjwatson/launchpad-bastion-scripts
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Branch information

Recent commits

0b763b2... by Colin Watson

Add in-model script

The way that we have multiple Juju models accessible from a single
`stg-launchpad` user is inconvenient in some ways: it makes it hard to
write shell one-liners that do something on the bastion, because you
always have to source `~/.mojorc.qastaging` or `~/.mojorc.staging`
first.

Add an `in-model` script that makes it easier to compose this sort of
thing. For example, this allows running:

  ssh -t launchpad-bastion-ps5.internal sudo -iu stg-launchpad in-model qastaging juju status

7728bb9... by Colin Watson

Add rsync log-handling scripts from carob

We're moving the function of "system from which we can read Launchpad
production logs" from carob to the PS5 Launchpad bastion, so it would be
helpful to have some convenience scripts in `stg-launchpad`'s search
path. People have been copying these around from my home directory for
a while, so having them in revision control would be no bad thing.

0f287ed... by Colin Watson

staging-restore: Stop pushing to gandwana

All its functions have been superseded by the `launchpad-scripts` and
`launchpad-scripts-bzrsyncd` Juju charms.

cae4369... by Colin Watson

upgrade-*: Set pipefail

3a15035... by Colin Watson

auto-upgrade-*: Add launchpad-scripts-bzrsyncd

9a5048c... by Colin Watson

Log output of auto-upgrade-(qa)staging to files

b59e085... by Colin Watson

Separate out logs by environment

f8eb871... by Colin Watson

Pass spec and workspace URLs to "run-one mojo run"

This doesn't change the behaviour of `mojo run` itself, but it gives
`run-one` a way to disambiguate qastaging and staging, allowing us to
run upgrades for them both in parallel.

19e3517... by Colin Watson

staging-restore: Clear the Juju-deployed librarian's storage

aaddd21... by Colin Watson

run-action: Add convenience for restarting services

Our service charms typically define `stop-services` and `start-services`
actions where relevant. Add a `restart-services` form for convenience,
which calls them both in sequence.