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 f848bc7 commit 702b600
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 128 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"
skip_git_test: true

# Fedora
Expand All @@ -40,8 +40,8 @@ stages:
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-latest
ansible_version: "-core >=2.14,<2.15"
skip_git_test: true
ansible_version: "-core >=2.16,<2.17"

# 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"
skip_git_test: true
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"
skip_git_test: true

# 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"
skip_git_test: true
141 changes: 18 additions & 123 deletions infra/azure/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,7 @@ stages:

# Fedora

- stage: 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"
skip_git_test: 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"
skip_git_test: false

- stage: FedoraLatest_Ansible_Core_2_15
- stage: fedora_latest_Ansible_Core_2_15
dependsOn: []
jobs:
- template: templates/group_tests.yml
Expand All @@ -46,7 +26,7 @@ stages:
ansible_version: "-core >=2.15,<2.16"
skip_git_test: true

- stage: FedoraLatest_Ansible_latest
- stage: fedora_latest_Ansible_Core_2_16
dependsOn: []
jobs:
- template: templates/group_tests.yml
Expand All @@ -56,116 +36,42 @@ stages:
ansible_version: ""
skip_git_test: true

# 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"
skip_git_test: false
test_galaxy: true

- stage: Galaxy_FedoraLatest_Ansible_Core_2_14
- stage: fedora_latest_Ansible_Core_2_17
dependsOn: []
jobs:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-latest
ansible_version: "-core >=2.14,<2.15"
skip_git_test: false
test_galaxy: true

- stage: Galaxy_FedoraLatest_Ansible_Core_2_15
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.17"
skip_git_test: true
test_galaxy: true

- stage: Galaxy_FedoraLatest_Ansible_latest
# Galaxy on Fedora

- 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,<2.18"
skip_git_test: true
test_galaxy: true

# Fedora Rawhide

- stage: FedoraRawhide_Ansible_Core_2_13
dependsOn: []
jobs:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-rawhide
ansible_version: "-core >=2.13,<2.14"
skip_git_test: false

- stage: FedoraRawhide_Ansible_Core_2_14
dependsOn: []
jobs:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-rawhide
ansible_version: "-core >=2.14,<2.15"
skip_git_test: 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"
skip_git_test: true

- 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,<2.18"
skip_git_test: true

# 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"
skip_git_test: 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"
skip_git_test: false

- stage: c9s_Ansible_Core_2_15
dependsOn: []
jobs:
Expand All @@ -176,38 +82,27 @@ stages:
ansible_version: "-core >=2.15,<2.16"
skip_git_test: true

- 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"
skip_git_test: true

# 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"
distro: c9s
ansible_version: "-core >=2.17,<2.18"
skip_git_test: true

- 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"
skip_git_test: false
# CentOS 8 Stream only works up to ansible-core 2.16.z

- stage: c8s_Ansible_Core_2_15
dependsOn: []
Expand All @@ -220,13 +115,13 @@ stages:
target_python: "/usr/libexec/platform-python"
skip_git_test: true

- 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"
skip_git_test: true

0 comments on commit 702b600

Please sign in to comment.