Update for AL10
This commit is contained in:
parent
1617901c0a
commit
3fae75e2e4
@ -54,10 +54,10 @@ index 5f2b0dd..dee3717 100644
|
|||||||
+++ b/cmd/osbuild-composer/config.go
|
+++ b/cmd/osbuild-composer/config.go
|
||||||
@@ -129,6 +129,9 @@ func GetDefaultConfig() *ComposerConfigFile {
|
@@ -129,6 +129,9 @@ func GetDefaultConfig() *ComposerConfigFile {
|
||||||
"rhel-8": "rhel-8.10",
|
"rhel-8": "rhel-8.10",
|
||||||
"rhel-9": "rhel-9.7",
|
"rhel-9": "rhel-9.6",
|
||||||
"rhel-10": "rhel-10.1",
|
"rhel-10": "rhel-10.0",
|
||||||
+ "almalinux-8": "almalinux-8.10",
|
+ "almalinux-8": "almalinux-8.10",
|
||||||
+ "almalinux-9": "almalinux-9.5",
|
+ "almalinux-9": "almalinux-9.6",
|
||||||
+ "almalinux-10": "almalinux-10.0",
|
+ "almalinux-10": "almalinux-10.0",
|
||||||
},
|
},
|
||||||
LogLevel: "info",
|
LogLevel: "info",
|
||||||
@ -69,9 +69,9 @@ index 8f22e9c..5e04d87 100644
|
|||||||
@@ -74,6 +74,9 @@ func TestDefaultConfig(t *testing.T) {
|
@@ -74,6 +74,9 @@ func TestDefaultConfig(t *testing.T) {
|
||||||
"rhel-7": "rhel-7.9",
|
"rhel-7": "rhel-7.9",
|
||||||
"rhel-8": "rhel-8.10",
|
"rhel-8": "rhel-8.10",
|
||||||
"rhel-9": "rhel-9.7",
|
"rhel-9": "rhel-9.6",
|
||||||
+ "almalinux-8": "almalinux-8.10",
|
+ "almalinux-8": "almalinux-8.10",
|
||||||
+ "almalinux-9": "almalinux-9.5",
|
+ "almalinux-9": "almalinux-9.6",
|
||||||
+ "almalinux-10": "almalinux-10.0",
|
+ "almalinux-10": "almalinux-10.0",
|
||||||
}
|
}
|
||||||
require.Equal(t, expectedDistroAliases, defaultConfig.DistroAliases)
|
require.Equal(t, expectedDistroAliases, defaultConfig.DistroAliases)
|
||||||
@ -89,9 +89,9 @@ index 8f22e9c..5e04d87 100644
|
|||||||
@@ -176,6 +182,9 @@ func TestConfigFromEnv(t *testing.T) {
|
@@ -176,6 +182,9 @@ func TestConfigFromEnv(t *testing.T) {
|
||||||
"rhel-8": "rhel-8.9",
|
"rhel-8": "rhel-8.9",
|
||||||
"rhel-9": "rhel-9.3",
|
"rhel-9": "rhel-9.3",
|
||||||
"rhel-10": "rhel-10.1", // this value is from the default config
|
"rhel-10": "rhel-10.0", // this value is from the default config
|
||||||
+ "almalinux-8": "almalinux-8.10",
|
+ "almalinux-8": "almalinux-8.10",
|
||||||
+ "almalinux-9": "almalinux-9.5",
|
+ "almalinux-9": "almalinux-9.6",
|
||||||
+ "almalinux-10": "almalinux-10.0", // this value is from the default config
|
+ "almalinux-10": "almalinux-10.0", // this value is from the default config
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1464,4 +1464,3 @@ index 0648813..f745fcd 100644
|
|||||||
return id, nil
|
return id, nil
|
||||||
--
|
--
|
||||||
2.39.5 (Apple Git-154)
|
2.39.5 (Apple Git-154)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user