Skip to content

Commit

Permalink
[#140] Fix test hook for AlmaLinux 8 and Rocky Linux 9
Browse files Browse the repository at this point in the history
...and by "fix", in the case of Rocky Linux 9, I mean "add support for".
  • Loading branch information
alanking committed Apr 30, 2024
1 parent 704afb0 commit f13ceaf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion irods_consortium_continuous_integration_test_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,20 @@ def get_build_prerequisites_apt():
def get_build_prerequisites_yum():
return get_build_prerequisites_all()+['java-1.7.0-openjdk-devel', 'libuuid-devel', 'openssl-devel', 'cyrus-sasl-devel', 'python3-devel']

def get_build_prerequisites_dnf():
return get_build_prerequisites_all()+['java-1.8.0-openjdk-devel', 'libuuid-devel', 'openssl-devel', 'cyrus-sasl-devel', 'python3-devel']

def get_build_prerequisites_zypper():
return get_build_prerequisites_all()+['java-1.7.0-openjdk-devel']

def get_test_packages():
dispatch_map = {
'Almalinux': get_build_prerequisites_yum,
'Almalinux': get_build_prerequisites_dnf,
'Centos linux': get_build_prerequisites_yum,
'Centos': get_build_prerequisites_yum,
'Debian gnu_linux': get_build_prerequisites_apt,
'Opensuse': get_build_prerequisites_zypper,
'Rocky linux': get_build_prerequisites_dnf,
'Ubuntu': get_build_prerequisites_apt
}
try:
Expand Down

0 comments on commit f13ceaf

Please sign in to comment.