2020-12-08 20:15:34 +00:00
|
|
|
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
|
2021-09-28 15:34:30 +00:00
|
|
|
- cron: 0 12 * * 0
|
|
|
|
displayName: Weekly (old stable branches)
|
|
|
|
always: true
|
|
|
|
branches:
|
|
|
|
include:
|
2020-12-08 20:15:34 +00:00
|
|
|
- stable-*
|
|
|
|
|
|
|
|
variables:
|
|
|
|
- name: checkoutPath
|
|
|
|
value: ansible_collections/community/crypto
|
|
|
|
- name: coverageBranches
|
|
|
|
value: main
|
|
|
|
- name: pipelinesCoverage
|
|
|
|
value: coverage
|
|
|
|
- name: entryPoint
|
|
|
|
value: tests/utils/shippable/shippable.sh
|
|
|
|
- name: fetchDepth
|
|
|
|
value: 0
|
|
|
|
|
|
|
|
resources:
|
|
|
|
containers:
|
|
|
|
- container: default
|
2023-06-24 14:29:51 +00:00
|
|
|
image: quay.io/ansible/azure-pipelines-test-container:4.0.1
|
2020-12-08 20:15:34 +00:00
|
|
|
|
|
|
|
pool: Standard
|
|
|
|
|
|
|
|
stages:
|
2020-12-10 15:40:28 +00:00
|
|
|
### Sanity & units
|
2022-03-29 04:19:54 +00:00
|
|
|
- stage: Ansible_2_13
|
|
|
|
displayName: Sanity & Units 2.13
|
2020-12-08 20:15:34 +00:00
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
targets:
|
2020-12-10 15:40:28 +00:00
|
|
|
- name: Sanity
|
2022-03-29 04:19:54 +00:00
|
|
|
test: '2.13/sanity/1'
|
2020-12-10 15:40:28 +00:00
|
|
|
- name: Sanity Extra # Only on devel
|
2022-03-29 04:19:54 +00:00
|
|
|
test: '2.13/sanity/extra'
|
2020-12-10 15:40:28 +00:00
|
|
|
- name: Units
|
2022-03-29 04:19:54 +00:00
|
|
|
test: '2.13/units/1'
|
2020-12-10 15:40:28 +00:00
|
|
|
### Docker
|
2022-03-29 04:19:54 +00:00
|
|
|
- stage: Docker_2_13
|
|
|
|
displayName: Docker 2.13
|
2020-12-08 20:15:34 +00:00
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
2022-03-29 04:19:54 +00:00
|
|
|
testFormat: 2.13/linux/{0}/1
|
2020-12-08 20:15:34 +00:00
|
|
|
targets:
|
|
|
|
- name: CentOS 7
|
|
|
|
test: centos7
|
2021-04-30 20:07:41 +00:00
|
|
|
- name: Fedora 34
|
|
|
|
test: fedora34
|
2021-11-09 04:52:42 +00:00
|
|
|
- name: Fedora 35
|
|
|
|
test: fedora35
|
2020-12-08 20:15:34 +00:00
|
|
|
- name: openSUSE 15 py2
|
|
|
|
test: opensuse15py2
|
|
|
|
- name: openSUSE 15 py3
|
|
|
|
test: opensuse15
|
|
|
|
- name: Ubuntu 18.04
|
|
|
|
test: ubuntu1804
|
2021-01-22 20:39:53 +00:00
|
|
|
- name: Ubuntu 20.04
|
|
|
|
test: ubuntu2004
|
2020-12-10 15:40:28 +00:00
|
|
|
|
|
|
|
### Remote
|
2022-03-29 04:19:54 +00:00
|
|
|
- stage: Remote_2_13
|
|
|
|
displayName: Remote 2.13
|
2020-12-08 20:15:34 +00:00
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
2022-03-29 04:19:54 +00:00
|
|
|
testFormat: 2.13/{0}/1
|
2020-12-08 20:15:34 +00:00
|
|
|
targets:
|
2022-01-13 08:52:59 +00:00
|
|
|
- name: macOS 12.0
|
|
|
|
test: macos/12.0
|
2021-02-10 21:52:40 +00:00
|
|
|
- name: RHEL 7.9
|
|
|
|
test: rhel/7.9
|
2021-11-17 07:07:31 +00:00
|
|
|
- name: RHEL 8.5
|
|
|
|
test: rhel/8.5
|
2023-08-15 05:14:35 +00:00
|
|
|
- name: FreeBSD 12.4
|
|
|
|
test: freebsd/12.4
|
|
|
|
- name: FreeBSD 13.1
|
|
|
|
test: freebsd/13.1
|
2020-12-10 15:40:28 +00:00
|
|
|
### cloud
|
2022-03-29 04:19:54 +00:00
|
|
|
- stage: Cloud_2_13
|
|
|
|
displayName: Cloud 2.13
|
2020-12-08 20:15:34 +00:00
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
nameFormat: Python {0}
|
2022-03-29 04:19:54 +00:00
|
|
|
testFormat: 2.13/cloud/{0}/1
|
2020-12-08 20:15:34 +00:00
|
|
|
targets:
|
2020-12-10 15:40:28 +00:00
|
|
|
- test: 2.7
|
|
|
|
- test: 3.5
|
|
|
|
- test: 3.6
|
|
|
|
- test: 3.7
|
2022-04-03 13:07:02 +00:00
|
|
|
# - test: 3.8
|
2020-12-10 15:40:28 +00:00
|
|
|
- test: 3.9
|
2021-05-10 17:28:59 +00:00
|
|
|
- test: "3.10"
|
2020-12-10 15:40:28 +00:00
|
|
|
|
|
|
|
## Finally
|
|
|
|
|
2020-12-08 20:15:34 +00:00
|
|
|
- stage: Summary
|
|
|
|
condition: succeededOrFailed()
|
|
|
|
dependsOn:
|
2022-03-29 04:19:54 +00:00
|
|
|
- Ansible_2_13
|
|
|
|
- Remote_2_13
|
|
|
|
- Docker_2_13
|
|
|
|
- Cloud_2_13
|
2020-12-08 20:15:34 +00:00
|
|
|
jobs:
|
|
|
|
- template: templates/coverage.yml
|