debian-koji-osbuild/test/unit
Christian Kellner 78ed04dbd6 plugins: support for ostree specific options
OStree compose requests need special options, like the `ref` the
`parent` and the `url`. Add support for those options to all three
plugins:
  The command line plugin now takes `--ostree-{parent,ref,url}`
  and passes it to koji via the existing options dictionary.

  The JSON schemata in the hub plugin was adjusted to allow these
  new options.

  Finally the builder plugin will look for the new `ostree` dict
  inside the options, create an `OSTreeOptions` object from it,
  and attach it to each image request.

NB: since the ostree options are per image request and are thus
architecture dependent we support a "$arch" substition in the
`parent` and `ref` options that will be resolved by the plugin;
this allows to builds arch specific commits for with a single
compose request.

Add the respective unit tests.
2022-02-14 13:14:19 +01:00
..
plugintest.py test: use importlib instead of imp 2021-10-05 12:18:46 +02:00
test_builder.py plugins: support for ostree specific options 2022-02-14 13:14:19 +01:00
test_cli.py plugins: support for ostree specific options 2022-02-14 13:14:19 +01:00
test_hub.py plugins: ability to skip the tagging 2020-11-16 17:00:40 +01:00