debian-forge-composer/cmd/osbuild-composer
Tomas Hozza 4e92b65721 composer: don't expose ec2 and ec2-ha RHEL images via WeldrAPI
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>
2021-08-05 09:34:07 +02:00
..
testdata composer: don't expose ec2 and ec2-ha RHEL images via WeldrAPI 2021-08-05 09:34:07 +02:00
composer.go Weldr API: make Image Type denylist distribution-specific 2021-08-02 18:51:03 +02:00
config.go composer: don't expose ec2 and ec2-ha RHEL images via WeldrAPI 2021-08-05 09:34:07 +02:00
config_test.go composer: don't expose ec2 and ec2-ha RHEL images via WeldrAPI 2021-08-05 09:34:07 +02:00
main.go Weldr API: make Image Type denylist distribution-specific 2021-08-02 18:51:03 +02:00