File tree Expand file tree Collapse file tree 5 files changed +15
-31
lines changed
Expand file tree Collapse file tree 5 files changed +15
-31
lines changed Original file line number Diff line number Diff line change 4848 run : |
4949 python3 -m pip install -r molecule/requirements.txt
5050 ansible-galaxy collection install community.general
51- sudo apt update && sudo apt install -y podman
51+ sudo apt update && sudo apt upgrade -y && sudo apt install -y podman
5252
53- # we have to patch crun here because Ubuntu fails with the errors similar to the
54- # github issue below.
55- # https://github.com/containers/crun/issues/1308
56- - name : patch crun
57- run : |
58- export CRUN_VER='1.14.3'
59- mkdir -p "${HOME}/.local/bin"
60- curl -L "https://github.com/containers/crun/releases/download/${CRUN_VER}/crun-${CRUN_VER}-linux-amd64" -o "${HOME}/.local/bin/crun"
61- chmod +x "${HOME}/.local/bin/crun"
62-
63- mkdir -p "${HOME}/.config/containers"
64- cat << EOF > "${HOME}/.config/containers/containers.conf"
65- [engine.runtimes]
66- crun = [
67- "${HOME}/.local/bin/crun",
68- "/usr/bin/crun"
69- ]
70- EOF
7153 - name : run tests
7254 run : molecule test --scenario-name=${{ matrix.scenario }}
7355 env :
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ apache_etc_dir: "/etc/{{ apache_service_name }}"
1717apache_conf_dir : " {{ apache_etc_dir }}/conf.d"
1818apache_log_dir : " /var/log/{{ apache_service_name }}"
1919
20- rpm_repo_url : " https://yum.osc.edu/ondemand/3.1 /ondemand-release-web-3.1-1 .{{ el_distro }}.noarch.rpm"
21- apt_repo_url : " https://apt.osc.edu/ondemand/3.1 /ondemand-release-web_3.1.1 -{{ deb_distro }}_all.deb"
20+ rpm_repo_url : " https://yum.osc.edu/ondemand/latest /ondemand-release-web-latest-1-8 .{{ el_distro }}.noarch.rpm"
21+ apt_repo_url : " https://apt.osc.edu/ondemand/latest /ondemand-release-web-latest_5 -{{ deb_distro }}_all.deb"
2222
2323rpm_repo_key : " https://yum.osc.edu/ondemand/RPM-GPG-KEY-ondemand"
2424deb_repo_key : " https://apt.osc.edu/ondemand/DEB-GPG-KEY-ondemand"
@@ -42,7 +42,7 @@ ondemand_dex_package: ondemand-dex # behaviour as for ondemand_package
4242
4343# needed for testing. no reason to change these in production.
4444disable_htcacheclean : false
45- nodejs_version : 18
46- ruby_version : 3.1
45+ nodejs_version : 20
46+ ruby_version : 3.3
4747
4848ood_base_apache_dir : " /var/www/ood"
Original file line number Diff line number Diff line change 2222 pre_tasks :
2323 - name : Set dependency versions on el8
2424 set_fact :
25- ruby_version : 3.0
26- nodejs_version : 14
27- when : ansible_os_family == "RedHat" and ansible_distribution_major_version = = '8'
25+ ruby_version : 3.1
26+ nodejs_version : 18
27+ when : ansible_os_family == "RedHat" and ansible_distribution_major_version > = '8'
2828
29- - name : Use default versions on el8
29+ - name : Use default versions on el9
3030 set_fact :
3131 additional_rpm_installs :
3232 - lua-posix
33+ - " @ruby:{{ ruby_version }}"
34+ - " @nodejs:{{ nodejs_version }}"
3335 when : ansible_os_family == "RedHat" and ansible_distribution_major_version == '9'
3436
3537 roles :
Original file line number Diff line number Diff line change 1- ondemand_package : " ondemand{% if ansible_os_family == 'RedHat' %}-{% else %}={% endif %}3.0.3 "
1+ ondemand_package : " ondemand{% if ansible_os_family == 'RedHat' %}-{% else %}={% endif %}3.1.10 "
22disable_htcacheclean : true
3- apt_repo_url : " https://apt.osc.edu/ondemand/3.0 /ondemand-release-web_3.0.0_all .deb"
4- rpm_repo_url : " https://yum.osc.edu/ondemand/3.0 /ondemand-release-web-3.0-1 .noarch.rpm"
3+ apt_repo_url : " https://apt.osc.edu/ondemand/3.1 /ondemand-release-web_3.1.2-{{ deb_distro }}_all .deb"
4+ rpm_repo_url : " https://yum.osc.edu/ondemand/3.1 /ondemand-release-web-3.1-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 '3.1 .(\d)*' /opt/ood/VERSION
61+ grep -P '4.0 .(\d)*' /opt/ood/VERSION
6262 args :
6363 executable : /bin/bash
6464 changed_when : false
You can’t perform that action at this time.
0 commit comments