mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-10 02:35:54 +00:00
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.
64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
---
|
|
trigger:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
stages:
|
|
|
|
# Fedora
|
|
|
|
- stage: Fedora_Latest
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/group_tests.yml
|
|
parameters:
|
|
build_number: $(Build.BuildNumber)
|
|
scenario: fedora-latest
|
|
ansible_version: "-core >=2.12,<2.13"
|
|
|
|
# Galaxy on Fedora
|
|
|
|
- stage: Galaxy_Fedora_Latest
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/galaxy_tests.yml
|
|
parameters:
|
|
build_number: $(Build.BuildNumber)
|
|
scenario: fedora-latest
|
|
ansible_version: "-core >=2.12,<2.13"
|
|
|
|
# CentOS 9 Stream
|
|
|
|
- stage: CentOS_9_Stream
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/group_tests.yml
|
|
parameters:
|
|
build_number: $(Build.BuildNumber)
|
|
scenario: c9s
|
|
ansible_version: "-core >=2.12,<2.13"
|
|
|
|
# CentOS 8 Stream
|
|
|
|
- stage: CentOS_8_Stream
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/group_tests.yml
|
|
parameters:
|
|
build_number: $(Build.BuildNumber)
|
|
scenario: c8s
|
|
ansible_version: "-core >=2.12,<2.13"
|
|
|
|
# CentOS 7
|
|
|
|
- stage: CentOS_7
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/group_tests.yml
|
|
parameters:
|
|
build_number: $(Build.BuildNumber)
|
|
scenario: centos-7
|
|
ansible_version: "-core >=2.12,<2.13"
|