Closed Pooja-Gangwar closed 2 years ago
John comments:
The current PR makes the Ansible version used in tests configurable, but we should probably set up Jenkins to run the tests against different versions under different conditions. For example:
CI run against PRs should only test against the most recent stable version to minimize the amount of time it takes
CI run on releases should run against all stable versions
CI should run against the main branch every week or so, and should test against all stable versions and Ansible's in-development version
Desired Outcome
For an Ansible Collection to be certified by RedHat, it needs to be tested against at least two versions of Ansible Core.
Implemented Changes
This PR allows for the tests in the Collection to be configured to run against a particular Ansible major version, and updates the Jenkinsfile to run tests against Ansible 5 and 6, which corresponds to Ansible Core 2.12 and 2.13, respectively.
Connected Issue/Story
CyberArk internal issue link: ONYX-24058
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be merged.
Changelog
Test coverage
Documentation
README
s) were updated in this PRBehavior
Security