From 41b71bb60cee829209aecb2f725ef96da2b22654 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 21 May 2025 22:16:39 +0200 Subject: [PATCH] Add RHEL 10.0 to CI. (#899) --- .azure-pipelines/azure-pipelines.yml | 2 ++ .../targets/prepare_http_tests/tasks/default.yml | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 749444d7..b290ced9 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -184,6 +184,8 @@ stages: targets: - name: macOS 15.3 test: macos/15.3 + - name: RHEL 10.0 + test: rhel/10.0 - name: RHEL 9.5 test: rhel/9.5 - name: FreeBSD 14.2 diff --git a/tests/integration/targets/prepare_http_tests/tasks/default.yml b/tests/integration/targets/prepare_http_tests/tasks/default.yml index ad779137..63084774 100644 --- a/tests/integration/targets/prepare_http_tests/tasks/default.yml +++ b/tests/integration/targets/prepare_http_tests/tasks/default.yml @@ -3,9 +3,13 @@ # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later -- name: RedHat - Enable the dynamic CA configuration feature +- name: RedHat - Enable the dynamic CA configuration feature (RHEL up to 9) command: update-ca-trust force-enable - when: ansible_os_family == 'RedHat' and ansible_distribution != "Fedora" + when: ansible_os_family == 'RedHat' and ansible_distribution != "Fedora" and (ansible_distribution_major_version | int) < 10 + +- name: RedHat - Enable the dynamic CA configuration feature (RHEL 10+) + command: update-ca-trust + when: ansible_os_family == 'RedHat' and ansible_distribution != "Fedora" and (ansible_distribution_major_version | int) >= 10 - name: RedHat - Retrieve test cacert get_url: