distro: Add azure-sap-rhui image type to RHEL8

This commit is contained in:
Brian C. Lane 2022-10-12 17:26:26 -07:00 committed by Tomáš Hozza
parent a47c239d11
commit 8c07d65fe0
5 changed files with 44 additions and 1 deletions

View file

@ -78,7 +78,8 @@ func (c *ComposerConfigFile) weldrDistrosImageTypeDenyList() map[string][]string
// GetDefaultConfig returns the default configuration of osbuild-composer
// Defaults:
// - 'azure-rhui', 'ec2', 'ec2-ha', 'ec2-sap' image types on 'rhel-85' are not exposed via Weldr API
// - 'azure-rhui', 'azure-sap-rhui', 'ec2', 'ec2-ha', 'ec2-sap' image types on 'rhel-*'
// are not exposed via Weldr API
func GetDefaultConfig() *ComposerConfigFile {
return &ComposerConfigFile{
Koji: KojiAPIConfig{
@ -99,6 +100,7 @@ func GetDefaultConfig() *ComposerConfigFile {
"rhel-*": {
ImageTypeDenyList: []string{
"azure-rhui",
"azure-sap-rhui",
"ec2",
"ec2-ha",
"ec2-sap",

View file

@ -49,6 +49,7 @@ func TestDefaultConfig(t *testing.T) {
"rhel-*": {
[]string{
"azure-rhui",
"azure-sap-rhui",
"ec2",
"ec2-ha",
"ec2-sap",