cloudapi: new image type: azure-sapapps-rhui

osbuild/images v0.156.0, updated in
3fd7092db5, introduced a new Azure image
type: azure-sapapps-rhui.

Adding it to the cloud API.
This commit is contained in:
Achilleas Koutsou 2025-07-24 14:00:28 +02:00
parent b86d3afd8d
commit 6223c43cd7
5 changed files with 123 additions and 109 deletions

View file

@ -291,6 +291,8 @@ func getDefaultTarget(imageType ImageTypes) (UploadTypes, error) {
case ImageTypesAzureRhui:
fallthrough
case ImageTypesAzureSapRhui:
fallthrough
case ImageTypesAzureSapappsRhui:
return UploadTypesAzure, nil
case ImageTypesOci:
@ -334,11 +336,12 @@ func targetSupportMap() map[UploadTypes]map[ImageTypes]bool {
ImageTypesGcpRhui: true,
},
UploadTypesAzure: {
ImageTypesAzure: true,
ImageTypesAzureCvm: true,
ImageTypesAzureRhui: true,
ImageTypesAzureEap7Rhui: true,
ImageTypesAzureSapRhui: true,
ImageTypesAzure: true,
ImageTypesAzureCvm: true,
ImageTypesAzureRhui: true,
ImageTypesAzureEap7Rhui: true,
ImageTypesAzureSapRhui: true,
ImageTypesAzureSapappsRhui: true,
},
UploadTypesOciObjectstorage: {
ImageTypesOci: true,
@ -357,6 +360,7 @@ func targetSupportMap() map[UploadTypes]map[ImageTypes]bool {
ImageTypesAzureRhui: true,
ImageTypesAzureEap7Rhui: true,
ImageTypesAzureSapRhui: true,
ImageTypesAzureSapappsRhui: true,
ImageTypesEdgeCommit: true,
ImageTypesEdgeContainer: true,
ImageTypesEdgeInstaller: true,