~jugmac00/lpci:add-modular-config

Last commit made on 2022-05-27
Get this branch:
git clone -b add-modular-config https://git.launchpad.net/~jugmac00/lpci
Only Jürgen Gmach can upload to this branch. If you are Jürgen Gmach please log in for upload directions.

Branch merges

Branch information

Name:
add-modular-config
Repository:
lp:~jugmac00/lpci

Recent commits

eb9ee88... by Jürgen Gmach

Add documentation for modular plugin configuration

Succeeded
[SUCCEEDED] test:0 (build)
[SUCCEEDED] build:0 (build)
12 of 2 results
84ff44c... by Dan Ryan

add test for plugin config properties

Signed-off-by: Dan Ryan <email address hidden>

cd10b24... by Dan Ryan

move plugin config test to modular config branch

Signed-off-by: Dan Ryan <email address hidden>

39aab54... by Dan Ryan

fix missing return type on base plugin model

Signed-off-by: Dan Ryan <email address hidden>

e270a5c... by Dan Ryan

add support for pydantic configs on plugin classes

- add `BaseConfig` and `BasePlugin` classes and cause plugins to inherit
  from `BasePlugin`
- add load-time parsing and validation of plugin config

Signed-off-by: Dan Ryan <email address hidden>

bc59c5d... by Jürgen Gmach

Remove unclear comment

Comment removed as neither me nor the op knew what is about.

Succeeded
[SUCCEEDED] test:0 (build)
[SUCCEEDED] build:0 (build)
12 of 2 results
185c673... by Jürgen Gmach

Update documentation for the `run-before` and `run-after` commands

Also add changelog entries.

Succeeded
[SUCCEEDED] test:0 (build)
[SUCCEEDED] build:0 (build)
12 of 2 results
45ce4f8... by Dan Ryan

add types to untyped variables

Signed-off-by: Dan Ryan <email address hidden>

5043d9d... by Dan Ryan

add pre- and post- run command support

- allow `run-before` and `run-after` in `.launchpad.yaml` config
- parse `lpcraft_execute_before_run` and `lpcraft_execute_after_run`
  hooks
- slightly refactor `run_job` to avoid duplicating functionality

Signed-off-by: Dan Ryan <email address hidden>

1ec2ee6... by Jürgen Gmach

Back to development 0.0.15

Succeeded
[SUCCEEDED] test:0 (build)
[SUCCEEDED] build:0 (build)
12 of 2 results