pungi/pungi/scripts
Jan Kaluza ef33d00f5b Add --schema-override to pungi-config-validate script
Some composes might need extra validation to ensure they are following
certain strict rules - for example containing only signed packages or
packages only from particular Koji tag.

There is currently no way how to check that Pungi configuration fulfills
these extra requirements.

This commit adds new `--schema-override` option to
`pungi-config-validate` script which allows caller to specify path to
JSON schema overriding the default JSON schema and therefore limitting
it further.

For exmaple, to limit the `pkgset_source` to `koji`, one can use
following JSON schema override:

```
{
    "properties": {
        "pkgset_source": {
            "enum": ["koji"]
        }
    }
}
```

It is possible to use `--schema-override` multiple times to apply
multiple schema overrides.

Merges: https://pagure.io/pungi/pull-request/1341
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-02-05 10:03:30 +01:00
..
__init__.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
comps_filter.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
config_dump.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
config_validate.py Add --schema-override to pungi-config-validate script 2020-02-05 10:03:30 +01:00
create_unified_isos.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
fedmsg_notification.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
patch_iso.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
pungi.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
pungi_gather.py pungi-gather: add options for excluding debug and source packages 2020-01-11 22:13:51 +01:00
pungi_koji.py Check dependency of --just-phase 2020-01-06 08:52:47 +00:00
report_progress.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
wait_for_signed_ostree_handler.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00