Skip to content
Snippets Groups Projects
Commit 41679822 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

upstream CI: Enable nightly tests using ansible-core 2.12.

This patch modifies the Python version used to be the latest available,
and add stages to execute the tests using ansible-core 2.12. As we
use Ubuntu 20.04, Python version 3.8 is avaiable.

Previously, ansible-core 2.12 was not available as it cannot be
installed with Python 3.6, which was the version used.
parent 667177db
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,15 @@ stages: ...@@ -34,6 +34,15 @@ stages:
scenario: fedora-latest scenario: fedora-latest
ansible_version: "-core >=2.11,<2.12" ansible_version: "-core >=2.11,<2.12"
- stage: FedoraLatest_Ansible_Core_2_12
dependsOn: []
jobs:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
ansible_version: "-core >=2.12,<2.13"
- stage: FedoraLatest_Ansible_latest - stage: FedoraLatest_Ansible_latest
dependsOn: [] dependsOn: []
jobs: jobs:
...@@ -63,6 +72,15 @@ stages: ...@@ -63,6 +72,15 @@ stages:
scenario: centos-8 scenario: centos-8
ansible_version: "-core >=2.11,<2.12" ansible_version: "-core >=2.11,<2.12"
- stage: CentOS8_Ansible_Core_2_12
dependsOn: []
jobs:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: centos-8
ansible_version: "-core >=2.12,<2.13"
- stage: CentOS8_Ansible_latest - stage: CentOS8_Ansible_latest
dependsOn: [] dependsOn: []
jobs: jobs:
...@@ -92,6 +110,15 @@ stages: ...@@ -92,6 +110,15 @@ stages:
scenario: centos-7 scenario: centos-7
ansible_version: "-core >=2.11,<2.12" ansible_version: "-core >=2.11,<2.12"
- stage: CentOS7_Ansible_Core_2_12
dependsOn: []
jobs:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: centos-7
ansible_version: "-core >=2.12,<2.13"
- stage: CentOS7_Ansible_latest - stage: CentOS7_Ansible_latest
dependsOn: [] dependsOn: []
jobs: jobs:
......
...@@ -14,7 +14,7 @@ parameters: ...@@ -14,7 +14,7 @@ parameters:
default: "" default: ""
- name: python_version - name: python_version
type: string type: string
default: 3.6 default: 3.x
- name: build_number - name: build_number
type: string type: string
......
...@@ -9,7 +9,7 @@ parameters: ...@@ -9,7 +9,7 @@ parameters:
default: "" default: ""
- name: python_version - name: python_version
type: string type: string
default: 3.6 default: 3.x
jobs: jobs:
- job: Test_PyTests - job: Test_PyTests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment