community.docker/.azure-pipelines/azure-pipelines.yml
patchback[bot] cdb37c35c9
Bump Azure test container to 6.0.0. (#877) (#878)
(cherry picked from commit 4cb29220e5)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-06-10 21:02:05 +02:00

138 lines
2.9 KiB
YAML

trigger:
batch: true
branches:
include:
- main
- stable-*
pr:
autoCancel: true
branches:
include:
- main
- stable-*
schedules:
- cron: 0 9 * * *
displayName: Nightly
always: true
branches:
include:
- main
- cron: 0 12 * * 0
displayName: Weekly (old stable branches)
always: true
branches:
include:
- stable-2
variables:
- name: checkoutPath
value: ansible_collections/community/docker
- name: coverageBranches
value: main
- name: pipelinesCoverage
value: coverage
- name: entryPoint
value: tests/utils/shippable/shippable.sh
- name: fetchDepth
value: 0
resources:
containers:
- container: default
image: quay.io/ansible/azure-pipelines-test-container:6.0.0
pool: Standard
stages:
### Sanity & units
- stage: Ansible_2_14
displayName: Sanity & Units 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
targets:
- name: Sanity
test: '2.14/sanity/1'
- name: Sanity Extra # Only on 2.14
test: '2.14/sanity/extra'
- name: Units
test: '2.14/units/1'
### Docker
- stage: Docker_2_14
displayName: Docker 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
testFormat: 2.14/linux/{0}
targets:
- name: CentOS 7
test: centos7
- name: openSUSE 15
test: opensuse15
- name: Ubuntu 20.04
test: ubuntu2004
- name: Ubuntu 22.04
test: ubuntu2204
- name: Alpine 3
test: alpine3
groups:
- 4
- 5
- 6
### Community Docker
- stage: Docker_community_2_14
displayName: Docker (community images) 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
testFormat: 2.14/linux-community/{0}
targets:
- name: Debian Bullseye
test: debian-bullseye/3.9
- name: CentOS Stream 8
test: centos-stream8/3.9
groups:
- 4
- 5
- 6
### Remote
- stage: Remote_2_14
displayName: Remote 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: RHEL {0}
testFormat: 2.14/rhel/{0}
targets:
- test: '7.9'
- test: '9.0-pypi-latest'
groups:
- 1
- 2
- 3
- 4
- 5
# - 6 -- Docker 26 (used on RHEL 9) no longer works with docker-compose v1
## Finally
- stage: Summary
condition: succeededOrFailed()
dependsOn:
- Ansible_2_14
- Remote_2_14
- Docker_2_14
- Docker_community_2_14
jobs:
- template: templates/coverage.yml