pungi/tests/data
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
..
specs Regenerate test fixture repo 2019-10-03 10:46:21 +02:00
client.conf Update test data 2019-04-01 09:49:53 +02:00
dummy-comps.xml init: Keep parent groups in addon comps environments 2018-11-02 12:43:56 +01:00
dummy-override.json Add --schema-override to pungi-config-validate script 2020-02-05 10:03:30 +01:00
dummy-pungi.conf config: Deprecate bootable option 2019-07-22 16:51:38 +08:00
dummy-variants.xml init: Keep parent groups in addon comps environments 2018-11-02 12:43:56 +01:00
multi-compose-variants.xml Add script to orchestrate multiple composes 2019-01-08 09:40:36 +01:00
multi-compose.conf orchestrator: Support generic pre- and post- scripts 2019-03-21 09:29:54 +01:00
resilient-storage.conf Update test data 2019-04-01 09:49:53 +02:00
server.conf Update test data 2019-04-01 09:49:53 +02:00