Merge ~bryce/git-ubuntu:systemd-service into git-ubuntu:master
Status: | Merged |
---|---|
Merged at revision: | 5d104bce612db56f3274c667ee7b008da5e68c18 |
Proposed branch: | ~bryce/git-ubuntu:systemd-service |
Merge into: | git-ubuntu:master |
Diff against target: |
298 lines (+212/-0) 7 files modified
bin/failure-email.sh (+12/-0) bin/import-source-packages.py (+10/-0) doc/usd-importer-service.md (+164/-0) setup.py (+1/-0) snap/snapcraft.yaml (+2/-0) usd-importer-failure-email@.service (+8/-0) usd-importer.service (+15/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Robie Basak | Needs Information | ||
Review via email: mp+373984@code.staging.launchpad.net |
Description of the change
I've tested this locally using sendmail configured for local delivery, and synthetically verified both timeout restart emails and service crashes are detected and the appropriate emails sent and delivered. Everything's also nicely logged to the journal, and hopefully the documentation is sufficiently thorough.
Of note, I mentioned some followup work I've started to refactor out the mailer logic from the bin script, into code under gitubuntu/, but that work is orthogonal to this so kept out of scope for this MP so we can get this one landed soon. In addition to the refactoring, I am considering some improvements to how import failures are captured and reported in the emails, and so if you have ideas/wishlists
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
FAILED: Continuous integration, rev:a4164589b9e 8fe6cbad1290fdc 7944b8a7d53401 /jenkins. ubuntu. com/server/ job/git- ubuntu- ci/371/
https:/
Executed test runs:
SUCCESS: VM Setup
SUCCESS: Build
FAILED: Unit Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/git- ubuntu- ci/371/ /rebuild
https:/