plugin/hub: use jsonschema to validate input
Use jsonschema to validate the input to the XMLRPC call to catch mistakes early, i.e. before creating the task.
This commit is contained in:
parent
3dc463c8dd
commit
af4e66d2b2
2 changed files with 62 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ RUN dnf -y upgrade \
|
|||
--setopt=install_weak_deps=False \
|
||||
install \
|
||||
koji-web \
|
||||
python3-jsonschema \
|
||||
&& dnf clean all
|
||||
|
||||
COPY container/hub/hub.conf /etc/koji-hub/hub.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue