mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-11-24 09:53:45 +00:00
Fedora Rawhide (46) provides Python 3.15 which breaks Ansible versions prior to 2.22. As of today, Ansible 2.22 is not released yet, so we need to use beta and release candidate versions at this time. This patch will still work once the stable release is available, and will allow the use of special versions in the future, if required. Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
45 lines
995 B
YAML
45 lines
995 B
YAML
---
|
|
schedules:
|
|
- cron: "0 0 * * 0"
|
|
displayName: Weekly Sunday midnight build
|
|
branches:
|
|
include:
|
|
- master
|
|
always: true
|
|
|
|
trigger: none
|
|
|
|
pool:
|
|
vmImage: 'ubuntu-24.04'
|
|
|
|
variables: { distros: "fedora-latest,c9s,c10s" }
|
|
|
|
stages:
|
|
|
|
- ${{ each distro in split(variables.distros, ',') }}:
|
|
- stage: build_${{ join('_', split(distro, '-')) }}
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/build_container.yml
|
|
parameters:
|
|
distro: ${{ distro }}
|
|
|
|
# Fedora Rawhide requires the unreleased Ansible 2.22 series.
|
|
- stage: build_fedora_rawhide
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/build_container.yml
|
|
parameters:
|
|
distro: fedora-rawhide
|
|
ansible_core_version: ">=2.22.0b0,<2.23"
|
|
|
|
# Special case for CentOS 8 Stream
|
|
- stage: CentOS_8_Stream
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/build_container.yml
|
|
parameters:
|
|
distro: c8s
|
|
# ansible-core 2.17+ cannot be used to deploy on CentOS 8 Stream.
|
|
ansible_core_version: "<2.17"
|