| 1 |
--- |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
trigger: |
| 7 |
batch: true |
| 8 |
branches: |
| 9 |
include: |
| 10 |
- main |
| 11 |
- stable-* |
| 12 |
|
| 13 |
pr: |
| 14 |
autoCancel: true |
| 15 |
branches: |
| 16 |
include: |
| 17 |
- main |
| 18 |
- stable-* |
| 19 |
|
| 20 |
schedules: |
| 21 |
- cron: 0 8 * * * |
| 22 |
displayName: Nightly (main) |
| 23 |
always: true |
| 24 |
branches: |
| 25 |
include: |
| 26 |
- main |
| 27 |
- cron: 0 10 * * * |
| 28 |
displayName: Nightly (active stable branches) |
| 29 |
always: true |
| 30 |
branches: |
| 31 |
include: |
| 32 |
- stable-12 |
| 33 |
- stable-11 |
| 34 |
- cron: 0 11 * * 0 |
| 35 |
displayName: Weekly (old stable branches) |
| 36 |
always: true |
| 37 |
branches: |
| 38 |
include: |
| 39 |
- stable-10 |
| 40 |
|
| 41 |
variables: |
| 42 |
- name: checkoutPath |
| 43 |
value: ansible_collections/community/general |
| 44 |
- name: coverageBranches |
| 45 |
value: main |
| 46 |
- name: entryPoint |
| 47 |
value: tests/utils/shippable/shippable.sh |
| 48 |
- name: fetchDepth |
| 49 |
value: 0 |
| 50 |
|
| 51 |
resources: |
| 52 |
containers: |
| 53 |
- container: default |
| 54 |
image: quay.io/ansible/azure-pipelines-test-container:7.0.0 |
| 55 |
|
| 56 |
pool: Standard |
| 57 |
|
| 58 |
stages: |
| 59 |
|
| 60 |
- stage: Sanity_devel |
| 61 |
displayName: Sanity devel |
| 62 |
dependsOn: [] |
| 63 |
jobs: |
| 64 |
- template: templates/matrix.yml |
| 65 |
parameters: |
| 66 |
nameFormat: Test {0} |
| 67 |
testFormat: devel/sanity/{0} |
| 68 |
targets: |
| 69 |
- test: 1 |
| 70 |
- test: 2 |
| 71 |
- test: 3 |
| 72 |
- test: 4 |
| 73 |
- stage: Sanity_2_21 |
| 74 |
displayName: Sanity 2.21 |
| 75 |
dependsOn: [] |
| 76 |
jobs: |
| 77 |
- template: templates/matrix.yml |
| 78 |
parameters: |
| 79 |
nameFormat: Test {0} |
| 80 |
testFormat: 2.21/sanity/{0} |
| 81 |
targets: |
| 82 |
- test: 1 |
| 83 |
- test: 2 |
| 84 |
- test: 3 |
| 85 |
- test: 4 |
| 86 |
- stage: Sanity_2_20 |
| 87 |
displayName: Sanity 2.20 |
| 88 |
dependsOn: [] |
| 89 |
jobs: |
| 90 |
- template: templates/matrix.yml |
| 91 |
parameters: |
| 92 |
nameFormat: Test {0} |
| 93 |
testFormat: 2.20/sanity/{0} |
| 94 |
targets: |
| 95 |
- test: 1 |
| 96 |
- test: 2 |
| 97 |
- test: 3 |
| 98 |
- test: 4 |
| 99 |
- stage: Sanity_2_19 |
| 100 |
displayName: Sanity 2.19 |
| 101 |
dependsOn: [] |
| 102 |
jobs: |
| 103 |
- template: templates/matrix.yml |
| 104 |
parameters: |
| 105 |
nameFormat: Test {0} |
| 106 |
testFormat: 2.19/sanity/{0} |
| 107 |
targets: |
| 108 |
- test: 1 |
| 109 |
- test: 2 |
| 110 |
- test: 3 |
| 111 |
- test: 4 |
| 112 |
|
| 113 |
- stage: Units_devel |
| 114 |
displayName: Units devel |
| 115 |
dependsOn: [] |
| 116 |
jobs: |
| 117 |
- template: templates/matrix.yml |
| 118 |
parameters: |
| 119 |
nameFormat: Python {0} |
| 120 |
testFormat: devel/units/{0}/1 |
| 121 |
targets: |
| 122 |
- test: 3.9 |
| 123 |
- test: '3.10' |
| 124 |
- test: '3.11' |
| 125 |
- test: '3.12' |
| 126 |
- test: '3.13' |
| 127 |
- test: '3.14' |
| 128 |
- test: '3.15' |
| 129 |
- stage: Units_2_21 |
| 130 |
displayName: Units 2.21 |
| 131 |
dependsOn: [] |
| 132 |
jobs: |
| 133 |
- template: templates/matrix.yml |
| 134 |
parameters: |
| 135 |
nameFormat: Python {0} |
| 136 |
testFormat: 2.21/units/{0}/1 |
| 137 |
targets: |
| 138 |
- test: 3.9 |
| 139 |
- test: "3.12" |
| 140 |
- test: "3.14" |
| 141 |
- stage: Units_2_20 |
| 142 |
displayName: Units 2.20 |
| 143 |
dependsOn: [] |
| 144 |
jobs: |
| 145 |
- template: templates/matrix.yml |
| 146 |
parameters: |
| 147 |
nameFormat: Python {0} |
| 148 |
testFormat: 2.20/units/{0}/1 |
| 149 |
targets: |
| 150 |
- test: 3.9 |
| 151 |
- test: "3.12" |
| 152 |
- test: "3.14" |
| 153 |
- stage: Units_2_19 |
| 154 |
displayName: Units 2.19 |
| 155 |
dependsOn: [] |
| 156 |
jobs: |
| 157 |
- template: templates/matrix.yml |
| 158 |
parameters: |
| 159 |
nameFormat: Python {0} |
| 160 |
testFormat: 2.19/units/{0}/1 |
| 161 |
targets: |
| 162 |
- test: 3.8 |
| 163 |
- test: "3.11" |
| 164 |
- test: "3.13" |
| 165 |
|
| 166 |
|
| 167 |
- stage: Remote_devel_extra_vms |
| 168 |
displayName: Remote devel extra VMs |
| 169 |
dependsOn: [] |
| 170 |
jobs: |
| 171 |
- template: templates/matrix.yml |
| 172 |
parameters: |
| 173 |
testFormat: devel/{0} |
| 174 |
targets: |
| 175 |
- name: Alpine 3.23 |
| 176 |
test: alpine/3.23 |
| 177 |
|
| 178 |
|
| 179 |
- name: Ubuntu 26.04 |
| 180 |
test: ubuntu/26.04 |
| 181 |
- name: Ubuntu 24.04 |
| 182 |
test: ubuntu/24.04 |
| 183 |
groups: |
| 184 |
- vm |
| 185 |
- stage: Remote_devel |
| 186 |
displayName: Remote devel |
| 187 |
dependsOn: [] |
| 188 |
jobs: |
| 189 |
- template: templates/matrix.yml |
| 190 |
parameters: |
| 191 |
testFormat: devel/{0} |
| 192 |
targets: |
| 193 |
- name: macOS 26.3 |
| 194 |
test: macos/26.3 |
| 195 |
- name: RHEL 10.1 |
| 196 |
test: rhel/10.1 |
| 197 |
- name: RHEL 9.7 |
| 198 |
test: rhel/9.7 |
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
groups: |
| 206 |
- 1 |
| 207 |
- 2 |
| 208 |
- 3 |
| 209 |
- stage: Remote_2_21 |
| 210 |
displayName: Remote 2.21 |
| 211 |
dependsOn: [] |
| 212 |
jobs: |
| 213 |
- template: templates/matrix.yml |
| 214 |
parameters: |
| 215 |
testFormat: 2.21/{0} |
| 216 |
targets: |
| 217 |
|
| 218 |
|
| 219 |
- name: RHEL 10.1 |
| 220 |
test: rhel/10.1 |
| 221 |
|
| 222 |
|
| 223 |
groups: |
| 224 |
- 1 |
| 225 |
- 2 |
| 226 |
- 3 |
| 227 |
- stage: Remote_2_20 |
| 228 |
displayName: Remote 2.20 |
| 229 |
dependsOn: [] |
| 230 |
jobs: |
| 231 |
- template: templates/matrix.yml |
| 232 |
parameters: |
| 233 |
testFormat: 2.20/{0} |
| 234 |
targets: |
| 235 |
- name: macOS 15.3 |
| 236 |
test: macos/15.3 |
| 237 |
- name: RHEL 10.1 |
| 238 |
test: rhel/10.1 |
| 239 |
- name: FreeBSD 14.3 |
| 240 |
test: freebsd/14.3 |
| 241 |
groups: |
| 242 |
- 1 |
| 243 |
- 2 |
| 244 |
- 3 |
| 245 |
- stage: Remote_2_19 |
| 246 |
displayName: Remote 2.19 |
| 247 |
dependsOn: [] |
| 248 |
jobs: |
| 249 |
- template: templates/matrix.yml |
| 250 |
parameters: |
| 251 |
testFormat: 2.19/{0} |
| 252 |
targets: |
| 253 |
- name: RHEL 10.1 |
| 254 |
test: rhel/10.1 |
| 255 |
- name: FreeBSD 14.2 |
| 256 |
test: freebsd/14.2 |
| 257 |
groups: |
| 258 |
- 1 |
| 259 |
- 2 |
| 260 |
- 3 |
| 261 |
|
| 262 |
|
| 263 |
- stage: Docker_devel |
| 264 |
displayName: Docker devel |
| 265 |
dependsOn: [] |
| 266 |
jobs: |
| 267 |
- template: templates/matrix.yml |
| 268 |
parameters: |
| 269 |
testFormat: devel/linux/{0} |
| 270 |
targets: |
| 271 |
- name: Fedora 44 |
| 272 |
test: fedora44 |
| 273 |
- name: Alpine 3.23 |
| 274 |
test: alpine323 |
| 275 |
- name: Ubuntu 26.04 |
| 276 |
test: ubuntu2604 |
| 277 |
- name: Ubuntu 24.04 |
| 278 |
test: ubuntu2404 |
| 279 |
groups: |
| 280 |
- 1 |
| 281 |
- 2 |
| 282 |
- 3 |
| 283 |
- stage: Docker_2_21 |
| 284 |
displayName: Docker 2.21 |
| 285 |
dependsOn: [] |
| 286 |
jobs: |
| 287 |
- template: templates/matrix.yml |
| 288 |
parameters: |
| 289 |
testFormat: 2.21/linux/{0} |
| 290 |
targets: |
| 291 |
- name: Fedora 43 |
| 292 |
test: fedora43 |
| 293 |
|
| 294 |
|
| 295 |
- name: Ubuntu 22.04 |
| 296 |
test: ubuntu2204 |
| 297 |
- name: Ubuntu 24.04 |
| 298 |
test: ubuntu2404 |
| 299 |
groups: |
| 300 |
- 1 |
| 301 |
- 2 |
| 302 |
- 3 |
| 303 |
- stage: Docker_2_20 |
| 304 |
displayName: Docker 2.20 |
| 305 |
dependsOn: [] |
| 306 |
jobs: |
| 307 |
- template: templates/matrix.yml |
| 308 |
parameters: |
| 309 |
testFormat: 2.20/linux/{0} |
| 310 |
targets: |
| 311 |
- name: Fedora 42 |
| 312 |
test: fedora42 |
| 313 |
- name: Alpine 3.22 |
| 314 |
test: alpine322 |
| 315 |
groups: |
| 316 |
- 1 |
| 317 |
- 2 |
| 318 |
- 3 |
| 319 |
- stage: Docker_2_19 |
| 320 |
displayName: Docker 2.19 |
| 321 |
dependsOn: [] |
| 322 |
jobs: |
| 323 |
- template: templates/matrix.yml |
| 324 |
parameters: |
| 325 |
testFormat: 2.19/linux/{0} |
| 326 |
targets: |
| 327 |
- name: Fedora 41 |
| 328 |
test: fedora41 |
| 329 |
- name: Alpine 3.21 |
| 330 |
test: alpine321 |
| 331 |
groups: |
| 332 |
- 1 |
| 333 |
- 2 |
| 334 |
- 3 |
| 335 |
|
| 336 |
|
| 337 |
- stage: Docker_community_devel |
| 338 |
displayName: Docker (community images) devel |
| 339 |
dependsOn: [] |
| 340 |
jobs: |
| 341 |
- template: templates/matrix.yml |
| 342 |
parameters: |
| 343 |
testFormat: devel/linux-community/{0} |
| 344 |
targets: |
| 345 |
- name: Debian 11 Bullseye |
| 346 |
test: debian-bullseye/3.9 |
| 347 |
- name: Debian 12 Bookworm |
| 348 |
test: debian-bookworm/3.11 |
| 349 |
- name: Debian 13 Trixie |
| 350 |
test: debian-13-trixie/3.13 |
| 351 |
- name: ArchLinux |
| 352 |
test: archlinux/3.14 |
| 353 |
groups: |
| 354 |
- 1 |
| 355 |
- 2 |
| 356 |
- 3 |
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
|
| 361 |
|
| 362 |
|
| 363 |
|
| 364 |
|
| 365 |
|
| 366 |
|
| 367 |
|
| 368 |
|
| 369 |
|
| 370 |
|
| 371 |
|
| 372 |
|
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
|
| 380 |
|
| 381 |
|
| 382 |
|
| 383 |
|
| 384 |
|
| 385 |
|
| 386 |
|
| 387 |
|
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
|
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
|
| 402 |
|
| 403 |
|
| 404 |
|
| 405 |
|
| 406 |
|
| 407 |
- stage: Summary |
| 408 |
condition: succeededOrFailed() |
| 409 |
dependsOn: |
| 410 |
- Sanity_devel |
| 411 |
- Sanity_2_21 |
| 412 |
- Sanity_2_20 |
| 413 |
- Sanity_2_19 |
| 414 |
- Units_devel |
| 415 |
- Units_2_21 |
| 416 |
- Units_2_20 |
| 417 |
- Units_2_19 |
| 418 |
- Remote_devel_extra_vms |
| 419 |
- Remote_devel |
| 420 |
- Remote_2_21 |
| 421 |
- Remote_2_20 |
| 422 |
- Remote_2_19 |
| 423 |
- Docker_devel |
| 424 |
- Docker_2_21 |
| 425 |
- Docker_2_20 |
| 426 |
- Docker_2_19 |
| 427 |
- Docker_community_devel |
| 428 |
|
| 429 |
|
| 430 |
|
| 431 |
|
| 432 |
|
| 433 |
jobs: |
| 434 |
- template: templates/coverage.yml |