| 1 |
trigger: |
| 2 |
batch: true |
| 3 |
branches: |
| 4 |
include: |
| 5 |
- devel |
| 6 |
- stable-* |
| 7 |
|
| 8 |
pr: |
| 9 |
autoCancel: true |
| 10 |
branches: |
| 11 |
include: |
| 12 |
- devel |
| 13 |
- stable-* |
| 14 |
|
| 15 |
schedules: |
| 16 |
- cron: 0 7 * * * |
| 17 |
displayName: Nightly |
| 18 |
always: true |
| 19 |
branches: |
| 20 |
include: |
| 21 |
- devel |
| 22 |
- stable-* |
| 23 |
|
| 24 |
variables: |
| 25 |
- name: checkoutPath |
| 26 |
value: ansible |
| 27 |
- name: coverageBranches |
| 28 |
value: devel |
| 29 |
- name: entryPoint |
| 30 |
value: .azure-pipelines/commands/entry-point.sh |
| 31 |
- name: fetchDepth |
| 32 |
value: 500 |
| 33 |
- name: defaultContainer |
| 34 |
value: quay.io/ansible/azure-pipelines-test-container:8.0.0 |
| 35 |
|
| 36 |
pool: Standard |
| 37 |
|
| 38 |
stages: |
| 39 |
- stage: Sanity |
| 40 |
dependsOn: [] |
| 41 |
jobs: |
| 42 |
- template: templates/matrix.yml |
| 43 |
parameters: |
| 44 |
nameFormat: Test {0} |
| 45 |
testFormat: sanity/{0} |
| 46 |
targets: |
| 47 |
- test: 1 |
| 48 |
- test: 2 |
| 49 |
- stage: Units |
| 50 |
dependsOn: [] |
| 51 |
jobs: |
| 52 |
- template: templates/matrix.yml |
| 53 |
parameters: |
| 54 |
nameFormat: Python {0} |
| 55 |
testFormat: units/{0} |
| 56 |
targets: |
| 57 |
- test: 3.9 |
| 58 |
- test: '3.10' |
| 59 |
- test: 3.11 |
| 60 |
- test: 3.12 |
| 61 |
- test: 3.13 |
| 62 |
- test: 3.14 |
| 63 |
- stage: Windows |
| 64 |
dependsOn: [] |
| 65 |
jobs: |
| 66 |
- template: templates/matrix.yml |
| 67 |
parameters: |
| 68 |
nameFormat: Server {0} |
| 69 |
testFormat: windows/{0}/1 |
| 70 |
targets: |
| 71 |
- name: 2016 WinRM HTTP WinPS |
| 72 |
test: 2016/winrm/http/5.1 |
| 73 |
- name: 2019 WinRM HTTPS WinPS |
| 74 |
test: 2019/winrm/https/5.1 |
| 75 |
- name: 2022 WinRM HTTPS WinPS |
| 76 |
test: 2022/winrm/https/5.1 |
| 77 |
- name: 2022 PSRP HTTP WinPS |
| 78 |
test: 2022/psrp/http/5.1 |
| 79 |
- name: 2022 SSH Key WinPS |
| 80 |
test: 2022/ssh/key/5.1 |
| 81 |
- name: 2025 PSRP HTTP WinPS |
| 82 |
test: 2025/psrp/http/5.1 |
| 83 |
- name: 2025 SSH Key WinPS |
| 84 |
test: 2025/ssh/key/5.1 |
| 85 |
- name: 2025 WinRM HTTP Pwsh |
| 86 |
test: 2025/winrm/http/7.6 |
| 87 |
- name: 2025 PSRP HTTP Pwsh |
| 88 |
test: 2025/psrp/http/7.6 |
| 89 |
- name: 2025 SSH Key Pwsh |
| 90 |
test: 2025/ssh/key/7.6 |
| 91 |
- stage: Remote |
| 92 |
dependsOn: [] |
| 93 |
jobs: |
| 94 |
- template: templates/matrix.yml |
| 95 |
parameters: |
| 96 |
targets: |
| 97 |
- name: macOS 26.3 |
| 98 |
test: macos/26.3 |
| 99 |
- name: RHEL 9.7 py39 |
| 100 |
test: rhel/[email protected] |
| 101 |
- name: RHEL 9.7 py312 |
| 102 |
test: rhel/[email protected] |
| 103 |
- name: RHEL 10.1 |
| 104 |
test: rhel/10.1 |
| 105 |
- name: FreeBSD 14.4 |
| 106 |
test: freebsd/14.4 |
| 107 |
- name: FreeBSD 15.0 |
| 108 |
test: freebsd/15.0 |
| 109 |
groups: |
| 110 |
- 1 |
| 111 |
- 2 |
| 112 |
- template: templates/matrix.yml |
| 113 |
parameters: |
| 114 |
targets: |
| 115 |
- name: macOS 26.3 |
| 116 |
test: macos/26.3 |
| 117 |
- name: RHEL 9.7 |
| 118 |
test: rhel/9.7 |
| 119 |
- name: RHEL 10.1 |
| 120 |
test: rhel/10.1 |
| 121 |
- name: FreeBSD 14.4 |
| 122 |
test: freebsd/14.4 |
| 123 |
- name: FreeBSD 15.0 |
| 124 |
test: freebsd/15.0 |
| 125 |
groups: |
| 126 |
- 3 |
| 127 |
- 4 |
| 128 |
- 5 |
| 129 |
- template: templates/matrix.yml |
| 130 |
parameters: |
| 131 |
targets: |
| 132 |
- name: Alpine 3.23 |
| 133 |
test: alpine/3.23 |
| 134 |
- name: Fedora 43 |
| 135 |
test: fedora/43 |
| 136 |
- name: RHEL 9.7 |
| 137 |
test: rhel/9.7 |
| 138 |
- name: RHEL 10.1 |
| 139 |
test: rhel/10.1 |
| 140 |
- name: Ubuntu 24.04 |
| 141 |
test: ubuntu/24.04 |
| 142 |
groups: |
| 143 |
- 6 |
| 144 |
- stage: Remote_Targeted |
| 145 |
displayName: Remote Targeted |
| 146 |
dependsOn: [] |
| 147 |
jobs: |
| 148 |
- template: templates/matrix.yml |
| 149 |
parameters: |
| 150 |
testFormat: "{0}/targeted" |
| 151 |
targets: |
| 152 |
- name: RHEL 8.10 |
| 153 |
test: rhel/8.10/rhel8 |
| 154 |
- stage: Docker |
| 155 |
dependsOn: [] |
| 156 |
jobs: |
| 157 |
- template: templates/matrix.yml |
| 158 |
parameters: |
| 159 |
testFormat: linux/{0} |
| 160 |
targets: |
| 161 |
- name: Alpine 3.23 |
| 162 |
test: alpine323 |
| 163 |
- name: Fedora 43 |
| 164 |
test: fedora43 |
| 165 |
- name: Ubuntu 22.04 |
| 166 |
test: ubuntu2204 |
| 167 |
- name: Ubuntu 24.04 |
| 168 |
test: ubuntu2404 |
| 169 |
groups: |
| 170 |
- 1 |
| 171 |
- 2 |
| 172 |
- template: templates/matrix.yml |
| 173 |
parameters: |
| 174 |
testFormat: linux/{0} |
| 175 |
targets: |
| 176 |
- name: Alpine 3.23 |
| 177 |
test: alpine323 |
| 178 |
- name: Fedora 43 |
| 179 |
test: fedora43 |
| 180 |
- name: Ubuntu 24.04 |
| 181 |
test: ubuntu2404 |
| 182 |
groups: |
| 183 |
- 3 |
| 184 |
- 4 |
| 185 |
- 5 |
| 186 |
- template: templates/matrix.yml |
| 187 |
parameters: |
| 188 |
testFormat: linux/{0} |
| 189 |
targets: |
| 190 |
- name: Fedora 43 |
| 191 |
test: fedora43 |
| 192 |
groups: |
| 193 |
- 7 |
| 194 |
- stage: PowerShell |
| 195 |
dependsOn: [] |
| 196 |
jobs: |
| 197 |
- template: templates/matrix.yml |
| 198 |
parameters: |
| 199 |
nameFormat: PowerShell {0} |
| 200 |
testFormat: powershell/{0}/1 |
| 201 |
targets: |
| 202 |
- name: 7.6 |
| 203 |
- stage: Galaxy |
| 204 |
dependsOn: [] |
| 205 |
jobs: |
| 206 |
- template: templates/matrix.yml |
| 207 |
parameters: |
| 208 |
nameFormat: Python {0} |
| 209 |
testFormat: galaxy/{0}/1 |
| 210 |
targets: |
| 211 |
- test: 3.12 |
| 212 |
- test: 3.13 |
| 213 |
- test: 3.14 |
| 214 |
- stage: Generic |
| 215 |
dependsOn: [] |
| 216 |
jobs: |
| 217 |
- template: templates/matrix.yml |
| 218 |
parameters: |
| 219 |
nameFormat: Python {0} |
| 220 |
testFormat: generic/{0}/1 |
| 221 |
targets: |
| 222 |
- test: 3.12 |
| 223 |
- test: 3.13 |
| 224 |
- test: 3.14 |
| 225 |
- stage: Incidental_Windows |
| 226 |
displayName: Incidental Windows |
| 227 |
dependsOn: [] |
| 228 |
jobs: |
| 229 |
- template: templates/matrix.yml |
| 230 |
parameters: |
| 231 |
nameFormat: Server {0} |
| 232 |
testFormat: i/windows/{0} |
| 233 |
targets: |
| 234 |
- name: 2016 WinRM HTTP WinPS |
| 235 |
test: 2016/winrm/http/5.1 |
| 236 |
- name: 2019 WinRM HTTPS WinPS |
| 237 |
test: 2019/winrm/https/5.1 |
| 238 |
- name: 2022 WinRM HTTPS WinPS |
| 239 |
test: 2022/winrm/https/5.1 |
| 240 |
- name: 2022 PSRP HTTP WinPS |
| 241 |
test: 2022/psrp/http/5.1 |
| 242 |
- name: 2022 SSH Key WinPS |
| 243 |
test: 2022/ssh/key/5.1 |
| 244 |
- name: 2025 PSRP HTTP WinPS |
| 245 |
test: 2025/psrp/http/5.1 |
| 246 |
- name: 2025 SSH Key WinPS |
| 247 |
test: 2025/ssh/key/5.1 |
| 248 |
- name: 2025 WinRM HTTP Pwsh |
| 249 |
test: 2025/winrm/http/7.6 |
| 250 |
- name: 2025 PSRP HTTP Pwsh |
| 251 |
test: 2025/psrp/http/7.6 |
| 252 |
- name: 2025 SSH Key Pwsh |
| 253 |
test: 2025/ssh/key/7.6 |
| 254 |
- stage: Summary |
| 255 |
condition: succeededOrFailed() |
| 256 |
dependsOn: |
| 257 |
- Sanity |
| 258 |
- Units |
| 259 |
- Windows |
| 260 |
- Remote |
| 261 |
- Remote_Targeted |
| 262 |
- Docker |
| 263 |
- PowerShell |
| 264 |
- Galaxy |
| 265 |
- Generic |
| 266 |
- Incidental_Windows |
| 267 |
jobs: |
| 268 |
- template: templates/coverage.yml |