| 1 |
trigger: |
| 2 |
batch: true |
| 3 |
branches: |
| 4 |
include: |
| 5 |
- main |
| 6 |
- stable-* |
| 7 |
|
| 8 |
pr: |
| 9 |
autoCancel: true |
| 10 |
branches: |
| 11 |
include: |
| 12 |
- main |
| 13 |
- stable-* |
| 14 |
|
| 15 |
schedules: |
| 16 |
- cron: 0 9 * * * |
| 17 |
displayName: Nightly |
| 18 |
always: true |
| 19 |
branches: |
| 20 |
include: |
| 21 |
- main |
| 22 |
- stable-* |
| 23 |
|
| 24 |
variables: |
| 25 |
- name: checkoutPath |
| 26 |
value: ansible_collections/community/libvirt |
| 27 |
- name: coverageBranches |
| 28 |
value: main |
| 29 |
- name: pipelinesCoverage |
| 30 |
value: coverage |
| 31 |
- name: entryPoint |
| 32 |
value: tests/utils/shippable/shippable.sh |
| 33 |
- name: fetchDepth |
| 34 |
value: 0 |
| 35 |
|
| 36 |
resources: |
| 37 |
containers: |
| 38 |
- container: default |
| 39 |
image: quay.io/ansible/azure-pipelines-test-container:7.0.0 |
| 40 |
|
| 41 |
pool: Standard |
| 42 |
|
| 43 |
stages: |
| 44 |
|
| 45 |
- stage: Ansible_devel |
| 46 |
displayName: Sanity & Units devel |
| 47 |
dependsOn: [] |
| 48 |
jobs: |
| 49 |
- template: templates/matrix.yml |
| 50 |
parameters: |
| 51 |
targets: |
| 52 |
- name: Sanity |
| 53 |
test: 'devel/sanity/1' |
| 54 |
|
| 55 |
|
| 56 |
- name: Units |
| 57 |
test: 'devel/units/1' |
| 58 |
|
| 59 |
- stage: Ansible_2_20 |
| 60 |
displayName: Sanity & Units 2.20 |
| 61 |
dependsOn: [] |
| 62 |
jobs: |
| 63 |
- template: templates/matrix.yml |
| 64 |
parameters: |
| 65 |
targets: |
| 66 |
- name: Sanity |
| 67 |
test: '2.20/sanity/1' |
| 68 |
- name: Units |
| 69 |
test: '2.20/units/1' |
| 70 |
|
| 71 |
- stage: Ansible_2_19 |
| 72 |
displayName: Sanity & Units 2.19 |
| 73 |
dependsOn: [] |
| 74 |
jobs: |
| 75 |
- template: templates/matrix.yml |
| 76 |
parameters: |
| 77 |
targets: |
| 78 |
- name: Sanity |
| 79 |
test: '2.19/sanity/1' |
| 80 |
- name: Units |
| 81 |
test: '2.19/units/1' |
| 82 |
|
| 83 |
- stage: Ansible_2_18 |
| 84 |
displayName: Sanity & Units 2.18 |
| 85 |
dependsOn: [] |
| 86 |
jobs: |
| 87 |
- template: templates/matrix.yml |
| 88 |
parameters: |
| 89 |
targets: |
| 90 |
- name: Sanity |
| 91 |
test: '2.18/sanity/1' |
| 92 |
- name: Units |
| 93 |
test: '2.18/units/1' |
| 94 |
|
| 95 |
- stage: Ansible_2_17 |
| 96 |
displayName: Sanity & Units 2.17 |
| 97 |
dependsOn: [] |
| 98 |
jobs: |
| 99 |
- template: templates/matrix.yml |
| 100 |
parameters: |
| 101 |
targets: |
| 102 |
- name: Sanity |
| 103 |
test: '2.17/sanity/1' |
| 104 |
- name: Units |
| 105 |
test: '2.17/units/1' |
| 106 |
|
| 107 |
|
| 108 |
- stage: Docker_devel |
| 109 |
displayName: Docker devel |
| 110 |
dependsOn: [] |
| 111 |
jobs: |
| 112 |
- template: templates/matrix.yml |
| 113 |
parameters: |
| 114 |
testFormat: devel/linux/{0}/1 |
| 115 |
targets: |
| 116 |
- name: Fedora 43 |
| 117 |
test: fedora43 |
| 118 |
- name: Ubuntu 22.04 |
| 119 |
test: ubuntu2204 |
| 120 |
|
| 121 |
- stage: Docker_2_20 |
| 122 |
displayName: Docker 2.20 |
| 123 |
dependsOn: [] |
| 124 |
jobs: |
| 125 |
- template: templates/matrix.yml |
| 126 |
parameters: |
| 127 |
testFormat: 2.20/linux/{0}/1 |
| 128 |
targets: |
| 129 |
- name: Fedora 42 |
| 130 |
test: fedora42 |
| 131 |
- name: Ubuntu 22.04 |
| 132 |
test: ubuntu2204 |
| 133 |
|
| 134 |
- stage: Docker_2_19 |
| 135 |
displayName: Docker 2.19 |
| 136 |
dependsOn: [] |
| 137 |
jobs: |
| 138 |
- template: templates/matrix.yml |
| 139 |
parameters: |
| 140 |
testFormat: 2.19/linux/{0}/1 |
| 141 |
targets: |
| 142 |
- name: Fedora 41 |
| 143 |
test: fedora41 |
| 144 |
- name: Ubuntu 22.04 |
| 145 |
test: ubuntu2204 |
| 146 |
|
| 147 |
- stage: Docker_2_18 |
| 148 |
displayName: Docker 2.18 |
| 149 |
dependsOn: [] |
| 150 |
jobs: |
| 151 |
- template: templates/matrix.yml |
| 152 |
parameters: |
| 153 |
testFormat: 2.18/linux/{0}/1 |
| 154 |
targets: |
| 155 |
- name: Fedora 40 |
| 156 |
test: fedora40 |
| 157 |
- name: Ubuntu 22.04 |
| 158 |
test: ubuntu2204 |
| 159 |
|
| 160 |
- stage: Docker_2_17 |
| 161 |
displayName: Docker 2.17 |
| 162 |
dependsOn: [] |
| 163 |
jobs: |
| 164 |
- template: templates/matrix.yml |
| 165 |
parameters: |
| 166 |
testFormat: 2.17/linux/{0}/1 |
| 167 |
targets: |
| 168 |
- name: Fedora 39 |
| 169 |
test: fedora39 |
| 170 |
- name: Ubuntu 20.04 |
| 171 |
test: ubuntu2004 |
| 172 |
- name: Ubuntu 22.04 |
| 173 |
test: ubuntu2204 |
| 174 |
|
| 175 |
- stage: Summary |
| 176 |
condition: succeededOrFailed() |
| 177 |
dependsOn: |
| 178 |
- Ansible_devel |
| 179 |
- Ansible_2_20 |
| 180 |
- Ansible_2_19 |
| 181 |
- Ansible_2_18 |
| 182 |
- Ansible_2_17 |
| 183 |
- Docker_devel |
| 184 |
- Docker_2_20 |
| 185 |
- Docker_2_19 |
| 186 |
- Docker_2_18 |
| 187 |
- Docker_2_17 |
| 188 |
jobs: |
| 189 |
- template: templates/coverage.yml |