The `ec2` and `ec2-ha` images include RHUI client packages, which are not publicly available. For this reason, building of such images in the on-premise use case via WeldrAPI would always fail, unless the system would be inside the Red Hat internal network or VPN. Mark the `ec2` and `ec2-ha` image types for `rhel-*` distribution as denied in WeldrAPI by default. Extend and modify affected unit tests. Signed-off-by: Tomas Hozza <thozza@redhat.com>
17 lines
406 B
TOML
17 lines
406 B
TOML
[koji]
|
|
allowed_domains = [ "osbuild.org" ]
|
|
ca = "/etc/osbuild-composer/ca-crt.pem"
|
|
|
|
[worker]
|
|
allowed_domains = [ "osbuild.org" ]
|
|
ca = "/etc/osbuild-composer/ca-crt.pem"
|
|
pg_database = "overwrite-me-db"
|
|
|
|
[weldr_api.distros."*"]
|
|
image_type_denylist = [ "qcow2", "vmdk" ]
|
|
|
|
[weldr_api.distros.rhel-84]
|
|
image_type_denylist = [ "qcow2" ]
|
|
|
|
# overrides the default rhel-* configuration
|
|
[weldr_api.distros."rhel-*"]
|