Skip to content

Commit

Permalink
upstream CI: Update Ansible version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rjeffman committed Oct 27, 2024
1 parent a0f92c5 commit a6d051d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 94 deletions.
10 changes: 5 additions & 5 deletions infra/azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

Expand All @@ -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
Expand All @@ -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
115 changes: 26 additions & 89 deletions infra/azure/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: []
Expand All @@ -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

0 comments on commit a6d051d

Please sign in to comment.