From a6d051db77835682b4fa1d162eed4b8d04990f27 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Sat, 26 Oct 2024 12:20:22 -0300 Subject: [PATCH] upstream CI: Update Ansible version ansible-core versions 2.15 and 2.16 and used for all pipelines, but version 2.17 is not used for CentOS 8 Stream, as platform python on this version is 3.6 which is not supported in this ansible-core version. --- infra/azure/azure-pipelines.yml | 10 +-- infra/azure/nightly.yml | 115 ++++++++------------------------ 2 files changed, 31 insertions(+), 94 deletions(-) diff --git a/infra/azure/azure-pipelines.yml b/infra/azure/azure-pipelines.yml index 72e4a90d25..e39c6e60ad 100644 --- a/infra/azure/azure-pipelines.yml +++ b/infra/azure/azure-pipelines.yml @@ -28,7 +28,7 @@ stages: parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "-core <2.14" + ansible_version: "-core <2.16" filter_tests: false # Fedora @@ -40,7 +40,7 @@ stages: parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "-core >=2.14,<2.15" + ansible_version: "-core >=2.16,<2.17" filter_tests: false # Galaxy on Fedora @@ -52,7 +52,7 @@ stages: parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "-core >=2.14,<2.15" + ansible_version: "-core >=2.16,<2.17" filter_tests: false test_galaxy: true @@ -65,7 +65,7 @@ stages: parameters: build_number: $(Build.BuildNumber) distro: c9s - ansible_version: "-core >=2.14,<2.15" + ansible_version: "-core >=2.16,<2.17" filter_tests: false # CentOS 8 Stream @@ -77,6 +77,6 @@ stages: parameters: build_number: $(Build.BuildNumber) distro: c8s - ansible_version: "-core >=2.14,<2.15" + ansible_version: "-core <2.17" target_python: "/usr/libexec/platform-python" filter_tests: false diff --git a/infra/azure/nightly.yml b/infra/azure/nightly.yml index eeed7fa58f..ee7365b727 100644 --- a/infra/azure/nightly.yml +++ b/infra/azure/nightly.yml @@ -16,156 +16,105 @@ stages: # Fedora -- stage: FedoraLatest_Ansible_Core_2_13 +- stage: fedora_latest_Ansible_Core_2_15 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "-core >=2.13,<2.14" - filter_tests: false - -- stage: FedoraLatest_Ansible_Core_2_14 - dependsOn: [] - jobs: - - template: templates/group_tests.yml - parameters: - build_number: $(Build.BuildNumber) - distro: fedora-latest - ansible_version: "-core >=2.14,<2.15" + ansible_version: "-core >=2.15,<2.16" filter_tests: false -- stage: FedoraLatest_Ansible_Core_2_15 +- stage: fedora_latest_Ansible_Core_2_16 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "-core >=2.15,<2.16" + ansible_version: "-core >=2.16,<2.17" filter_tests: false -- stage: FedoraLatest_Ansible_latest +- stage: fedora_latest_Ansible_Core_2_17 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "" + ansible_version: "-core >=2.17" filter_tests: false # Galaxy on Fedora -- stage: Galaxy_FedoraLatest_Ansible_Core_2_13 - dependsOn: [] - jobs: - - template: templates/group_tests.yml - parameters: - build_number: $(Build.BuildNumber) - distro: fedora-latest - ansible_version: "-core >=2.13,<2.14" - filter_tests: false - test_galaxy: true - -- stage: Galaxy_FedoraLatest_Ansible_Core_2_14 +- stage: Galaxy_fedora_latest_Ansible_Core_2_15 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "-core >=2.14,<2.15" + ansible_version: "-core >=2.15,<2.16" filter_tests: false test_galaxy: true -- stage: Galaxy_FedoraLatest_Ansible_Core_2_15 +- stage: Galaxy_fedora_latest_Ansible_Core_2_16 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "-core >=2.15,<2.16" + ansible_version: "-core >=2.16,<2.17" filter_tests: false test_galaxy: true -- stage: Galaxy_FedoraLatest_Ansible_latest +- stage: Galaxy_fedora_latest_Ansible_Core_2_17 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-latest - ansible_version: "" + ansible_version: "-core >=2.17" filter_tests: false test_galaxy: true # Fedora Rawhide -- stage: FedoraRawhide_Ansible_Core_2_13 +- stage: fedora_rawhide_Ansible_Core_2_15 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-rawhide - ansible_version: "-core >=2.13,<2.14" + ansible_version: "-core >=2.15,<2.16" filter_tests: false -- stage: FedoraRawhide_Ansible_Core_2_14 +- stage: fedora_rawhide_Ansible_Core_2_16 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-rawhide - ansible_version: "-core >=2.14,<2.15" + ansible_version: "-core >=2.16,<2.17" filter_tests: false -- stage: FedoraRawhide_Ansible_Core_2_15 +- stage: fedora_rawhide_Ansible_Core_2_17 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: fedora-rawhide - ansible_version: "-core >=2.15,<2.16" - filter_tests: false - -- stage: FedoraRawhide_Ansible_latest - dependsOn: [] - jobs: - - template: templates/group_tests.yml - parameters: - build_number: $(Build.BuildNumber) - distro: fedora-rawhide - ansible_version: "" + ansible_version: "-core >=2.17" filter_tests: false # CentoOS 9 Stream -- stage: c9s_Ansible_Core_2_13 - dependsOn: [] - jobs: - - template: templates/group_tests.yml - parameters: - build_number: $(Build.BuildNumber) - distro: c9s - ansible_version: "-core >=2.13,<2.14" - filter_tests: false - -- stage: c9s_Ansible_Core_2_14 - dependsOn: [] - jobs: - - template: templates/group_tests.yml - parameters: - build_number: $(Build.BuildNumber) - distro: c9s - ansible_version: "-core >=2.14,<2.15" - filter_tests: false - - stage: c9s_Ansible_Core_2_15 dependsOn: [] jobs: @@ -176,39 +125,27 @@ stages: ansible_version: "-core >=2.15,<2.16" filter_tests: false -- stage: c9s_Ansible_latest +- stage: c9s_Ansible_Core_2_16 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: c9s - ansible_version: "" + ansible_version: "-core >=2.16,<2.17" filter_tests: false -# CentOS 8 Stream - -- stage: c8s_Ansible_Core_2_13 +- stage: c9s_Ansible_Core_2_17 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) - distro: c8s - ansible_version: "-core >=2.13,<2.14" - target_python: "/usr/libexec/platform-python" + distro: c9s + ansible_version: "-core >=2.17" filter_tests: false -- stage: c8s_Ansible_Core_2_14 - dependsOn: [] - jobs: - - template: templates/group_tests.yml - parameters: - build_number: $(Build.BuildNumber) - distro: c8s - ansible_version: "-core >=2.14,<2.15" - target_python: "/usr/libexec/platform-python" - filter_tests: false +# CentOS 8 Stream only works up to ansible-core 2.16.z - stage: c8s_Ansible_Core_2_15 dependsOn: [] @@ -221,13 +158,13 @@ stages: target_python: "/usr/libexec/platform-python" filter_tests: false -- stage: c8s_Ansible_latest +- stage: c8s_Ansible_Core_2_16 dependsOn: [] jobs: - template: templates/group_tests.yml parameters: build_number: $(Build.BuildNumber) distro: c8s - ansible_version: "" + ansible_version: "-core >=2.16,<2.17" target_python: "/usr/libexec/platform-python" filter_tests: false