Merge ~jugmac00/lpci:add-pre-post-run-hooks into lpci:main
Proposed by
Jürgen Gmach
Status: | Merged |
---|---|
Merged at revision: | 185c673ec63960aa05e9b0b7e8e6f44660c6f799 |
Proposed branch: | ~jugmac00/lpci:add-pre-post-run-hooks |
Merge into: | lpci:main |
Diff against target: |
374 lines (+174/-82) 6 files modified
NEWS.rst (+4/-1) docs/configuration.rst (+8/-0) lpcraft/commands/run.py (+144/-81) lpcraft/config.py (+2/-0) lpcraft/plugin/hookspecs.py (+12/-0) lpcraft/tests/test_config.py (+4/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+423399@code.staging.launchpad.net |
Commit message
This branch adds pre- and post- run hooks to jobs in lpcraft via the `run-before` and `run-after` configuration keys and the `lpcraft_
It also includes a slight refactor of the `run_job` logic to avoid code duplication.
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
self-approving as the main parts were already improved and just a bit of documentation and changelog entries were added