upstream CI: Add support for testing ansible-freeipa as a collection.

Provide a pipeline to test ansible-freeipa as an Ansible Galaxy
collection. The tests will use 'utils/build-galaxy-release.sh' to
create the galaxy release file, install it as a collection, and run
the tests in it, which were modified to use FQCN.

The tests will run only on 'fedora-latest' for each PR, and on all
platforms for nightly and weekly tests.
This commit is contained in:
Rafael Guterres Jeffman
2022-05-06 10:59:45 -03:00
parent fdfea1b6fb
commit f44dc55b90
5 changed files with 232 additions and 0 deletions

View File

@@ -61,6 +61,53 @@ stages:
scenario: fedora-latest
ansible_version: "-core"
# Galaxy on Fedora
- stage: Galaxy_FedoraLatest_Ansible_2_9
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
ansible_version: ">=2.9,<2.10"
- stage: Galaxy_FedoraLatest_Ansible_Core_2_11
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
ansible_version: "-core >=2.11,<2.12"
# - stage: Galaxy_FedoraLatest_Ansible_Core_2_12
# dependsOn: []
# jobs:
# - template: templates/galaxy_tests.yml
# parameters:
# build_number: $(Build.BuildNumber)
# scenario: fedora-latest
# ansible_version: "-core >=2.12,<2.13"
- stage: Galaxy_FedoraLatest_Ansible_latest
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
ansible_version: ""
- stage: Galaxy_FedoraLatest_Ansible_Core_latest
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
ansible_version: "-core"
# CentoOS 9 Stream
- stage: c9s_Ansible_2_9