mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-10 10:45:55 +00:00
As we do not use molecule features, using a Dockerfile and the ansible-freeipa deployment roles is enough to create the container testing images. This patch removes the usage of molecule in favor of the custom ansible-freeipa image building script, which allow us to have a similar process for creating images both on the ustream CI, or on a developer's environment. Also, CentOS 7 is removed from the build script, as it in not possible to run CentOS 7 containers with current versions of systemd.
61 lines
1.2 KiB
YAML
61 lines
1.2 KiB
YAML
---
|
|
|
|
schedules:
|
|
- cron: "0 0 * * 0"
|
|
displayName: Weekly Sunday midnight build
|
|
branches:
|
|
include:
|
|
- master
|
|
always: true
|
|
|
|
trigger: none
|
|
|
|
pool:
|
|
vmImage: 'ubuntu-22.04'
|
|
|
|
stages:
|
|
|
|
# Currently, it's not possible to use CentOS container
|
|
#
|
|
# - stage: CentOS_7
|
|
# dependsOn: []
|
|
# jobs:
|
|
# - template: templates/build_container.yml
|
|
# parameters:
|
|
# job_name_suffix: Centos7
|
|
# distro: centos-7
|
|
|
|
- stage: CentOS_8_Stream
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/build_container.yml
|
|
parameters:
|
|
job_name_suffix: C8S
|
|
distro: c8s
|
|
# ansible-core 2.17+ cannot be used to deploy on CentOS 8 Stream.
|
|
ansible_core_version: "<2.17"
|
|
|
|
- stage: CentOS_9_Stream
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/build_container.yml
|
|
parameters:
|
|
job_name_suffix: C9S
|
|
distro: c9s
|
|
|
|
- stage: Fedora_Latest
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/build_container.yml
|
|
parameters:
|
|
job_name_suffix: FedoraLatest
|
|
distro: fedora-latest
|
|
|
|
- stage: Fedora_Rawhide
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/build_container.yml
|
|
parameters:
|
|
job_name_suffix: FedoraRawhide
|
|
distro: fedora-rawhide
|