distro: Add azure-sap-rhui image type to RHEL8
This commit is contained in:
parent
a47c239d11
commit
8c07d65fe0
5 changed files with 44 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ func TestDefaultConfig(t *testing.T) {
|
|||
"rhel-*": {
|
||||
[]string{
|
||||
"azure-rhui",
|
||||
"azure-sap-rhui",
|
||||
"ec2",
|
||||
"ec2-ha",
|
||||
"ec2-sap",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue