Skip to content

Commit

Permalink
(PDB-5667, PDB-5671) add el-9 to supported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
steveax committed Aug 16, 2023
1 parent eba7916 commit 911f88f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions acceptance/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ def is_el8()
test_config[:os_families].has_key?('centos8-64-1')
end

def is_el9()
return test_config[:os_families].has_key?('redhat9-64-1')
end

def is_rhel7fips
return test_config[:os_families].has_key? 'redhatfips7-64-1'
end
Expand Down Expand Up @@ -348,6 +352,8 @@ def oldest_supported
'7.9.0'
elsif is_el8
'6.0.3'
elsif is_el9
'7.13.2'
elsif is_rhel7fips
'6.4.0'
elsif is_buster
Expand Down Expand Up @@ -417,6 +423,8 @@ def get_package_version(host, version = nil)
"#{version}.el7"
elsif host['platform'].include?('el-8')
"#{version}.el8"
elsif host['platform'].include?('el-9')
"#{version}.el9"
elsif host['platform'].include?('ubuntu-18.04')
"#{version}bionic"
elsif host['platform'].include?('ubuntu-20.04')
Expand Down

0 comments on commit 911f88f

Please sign in to comment.