File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,17 +27,23 @@ jobs:
2727 max-parallel : 4
2828 matrix :
2929 image :
30- - ' centos/centos:stream8'
3130 - ' rockylinux:8'
3231 - ' rockylinux:9'
32+ - ' rockylinux/rockylinux:10'
3333 - ' almalinux:8'
3434 - ' almalinux:9'
35- - ' ubuntu:20.04 '
35+ - ' almalinux:10 '
3636 - ' ubuntu:22.04'
3737 - ' ubuntu:24.04'
3838 scenario :
3939 - ' default'
4040 - ' upgrade'
41+ exclude :
42+ # 4.0 did not support el:10
43+ - scenario : upgrade
44+ image : ' rockylinux/rockylinux:10'
45+ - scenario : upgrade
46+ image : ' almalinux:10'
4147
4248 steps :
4349 - name : checkout
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ ondemand_selinux_package: ondemand-selinux # behaviour as for ondemand_package
4949
5050# needed for testing. no reason to change these in production.
5151disable_htcacheclean : false
52- nodejs_version : 20
52+ nodejs_version : 22
5353ruby_version : 3.3
5454
5555ood_base_apache_dir : " /var/www/ood"
Original file line number Diff line number Diff line change 1515 - ca-certificates
1616 - systemd
1717 - git
18+
19+ - name : Install extra packages (EL10)
20+ ansible.builtin.package :
21+ name : " {{ item }}"
22+ state : latest
23+ loop :
24+ - gnupg2
25+ when : ansible_os_family == "RedHat" and ansible_distribution_major_version == '10'
1826
1927 - name : Create secondary group
2028 ansible.builtin.group :
Original file line number Diff line number Diff line change 11disable_htcacheclean : true
22
3- apt_repo_url : " https://apt.osc.edu/ondemand/staging/4.0 /ondemand-release-web_4.0 .0-{{ deb_distro }}_all.deb"
4- rpm_repo_url : " https://yum.osc.edu/ondemand/staging/4.0 /ondemand-release-web-4.0 -1.{{ el_distro }}.noarch.rpm"
3+ apt_repo_url : " https://apt.osc.edu/ondemand/4.1 /ondemand-release-web_4.1 .0-{{ deb_distro }}_all.deb"
4+ rpm_repo_url : " https://yum.osc.edu/ondemand/4.1 /ondemand-release-web-4.1 -1.{{ el_distro }}.noarch.rpm"
Original file line number Diff line number Diff line change 1616 - systemd
1717 - git
1818
19+ - name : Install extra packages (EL10)
20+ ansible.builtin.package :
21+ name : " {{ item }}"
22+ state : latest
23+ loop :
24+ - gnupg2
25+ when : ansible_os_family == "RedHat" and ansible_distribution_major_version == '10'
26+
1927- name : Install previous version
2028 hosts : all
2129
2230 pre_tasks :
2331 - name : Set dependency versions on el8
2432 set_fact :
25- ruby_version : 3.1
26- nodejs_version : 18
33+ ruby_version : 3.3
34+ nodejs_version : 20
2735 when : ansible_os_family == "RedHat" and ansible_distribution_major_version >= '8'
2836
2937 - name : Use default versions on el9
Original file line number Diff line number Diff line change 11ondemand_package : ' latest'
22
3- # test against staging to catch any issues upgrading
4- apt_repo_url : " https://apt.osc.edu/ondemand/staging/4.0/ondemand-release-web_4.0.0-{{ deb_distro }}_all.deb"
5- rpm_repo_url : " https://yum.osc.edu/ondemand/staging/4.0/ondemand-release-web-4.0-1.{{ el_distro }}.noarch.rpm"
3+ apt_repo_url : " https://apt.osc.edu/ondemand/4.1/ondemand-release-web_4.1.0-{{ deb_distro }}_all.deb"
4+ rpm_repo_url : " https://yum.osc.edu/ondemand/4.1/ondemand-release-web-4.1-1.{{ el_distro }}.noarch.rpm"
Original file line number Diff line number Diff line change 1- ondemand_package : " ondemand{% if ansible_os_family == 'RedHat' %}-{% else %}={% endif %}3.1.13 "
1+ ondemand_package : " ondemand{% if ansible_os_family == 'RedHat' %}-{% else %}={% endif %}4.0.8 "
22disable_htcacheclean : true
33
4- # test against staging to catch any issues upgrading
5- apt_repo_url : " https://apt.osc.edu/ondemand/staging/3.1/ondemand-release-web_3.1.2-{{ deb_distro }}_all.deb"
6- rpm_repo_url : " https://yum.osc.edu/ondemand/staging/3.1/ondemand-release-web-3.1-1.{{ el_distro }}.noarch.rpm"
4+ apt_repo_url : " https://apt.osc.edu/ondemand/4.0/ondemand-release-web_4.0.0-{{ deb_distro }}_all.deb"
5+ rpm_repo_url : " https://yum.osc.edu/ondemand/4.0/ondemand-release-web-4.0-1.{{ el_distro }}.noarch.rpm"
Original file line number Diff line number Diff line change 5858 - name : Verify OOD version
5959 ansible.builtin.shell : |
6060 set -o pipefail
61- grep -P '4.0 .(\d)*' /opt/ood/VERSION
61+ grep -P '4.1 .(\d)*' /opt/ood/VERSION
6262 args :
6363 executable : /bin/bash
6464 changed_when : false
Original file line number Diff line number Diff line change 6565 src : " {{ apache_etc_dir }}/mods-available/ssl.load"
6666 dest : " {{ apache_etc_dir }}/mods-enabled/ssl.load"
6767 state : link
68- when : ansible_os_family == "Debian" and ssl is defined
68+ when : ansible_os_family == "Debian" and ( ssl is defined or ssl_proxy is defined)
6969
7070- name : Enable Debian oidc mod
7171 ansible.builtin.file :
Original file line number Diff line number Diff line change 5555 when : ansible_os_family == "RedHat" and ansible_distribution_major_version == '8'
5656 loop :
5757 - " {{ additional_rpm_installs }}"
58+ tags :
59+ # not sure why this is not idempotent all of the sudden, but it is in molecule tests
60+ - molecule-idempotence-notest
5861
5962- name : Install additional packages
6063 ansible.builtin.package :
You can’t perform that action at this time.
0 commit comments