mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Use nox in AZP CI. (#1267)
This commit is contained in:
@@ -49,105 +49,123 @@ resources:
|
||||
pool: Standard
|
||||
|
||||
stages:
|
||||
- stage: remote_2_18
|
||||
displayName: Remote ansible-core 2.18
|
||||
dependsOn: []
|
||||
variables:
|
||||
entryPoint: tests/utils/shippable/nox.sh
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
targets:
|
||||
- name: rhel/9.7 + azp/1/
|
||||
test: ansible-test-integration-2.18-rhel-9.7-azp-1
|
||||
- name: rhel/9.7 + azp/2/
|
||||
test: ansible-test-integration-2.18-rhel-9.7-azp-2
|
||||
- name: rhel/9.7 + azp/3/
|
||||
test: ansible-test-integration-2.18-rhel-9.7-azp-3
|
||||
- name: rhel/9.7 + azp/4/
|
||||
test: ansible-test-integration-2.18-rhel-9.7-azp-4
|
||||
- name: rhel/9.7 + azp/5/
|
||||
test: ansible-test-integration-2.18-rhel-9.7-azp-5
|
||||
|
||||
### Remote
|
||||
- stage: Remote_devel
|
||||
displayName: Remote devel
|
||||
- stage: remote_2_19
|
||||
displayName: Remote ansible-core 2.19
|
||||
dependsOn: []
|
||||
variables:
|
||||
entryPoint: tests/utils/shippable/nox.sh
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
testFormat: devel/{0}
|
||||
targets:
|
||||
- name: RHEL 10.1 with Docker SDK, urllib3, requests from sources
|
||||
test: rhel/10.1-dev-latest
|
||||
- name: RHEL 9.7
|
||||
test: rhel/9.7
|
||||
# For some reason, Ubuntu 24.04 is *extremely* slower than RHEL 9.6
|
||||
# - name: Ubuntu 24.04
|
||||
# test: ubuntu/24.04
|
||||
groups:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- stage: Remote_2_21
|
||||
displayName: Remote 2.21
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
testFormat: 2.21/{0}
|
||||
targets:
|
||||
- name: RHEL 10.1
|
||||
test: rhel/10.1
|
||||
# - name: RHEL 9.7
|
||||
# test: rhel/9.7
|
||||
groups:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- stage: Remote_2_20
|
||||
displayName: Remote 2.20
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
testFormat: 2.20/{0}
|
||||
targets:
|
||||
- name: RHEL 9.7
|
||||
test: rhel/9.7
|
||||
groups:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- stage: Remote_2_19
|
||||
displayName: Remote 2.19
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
testFormat: 2.19/{0}
|
||||
targets:
|
||||
- name: Ubuntu 22.04
|
||||
test: ubuntu/22.04
|
||||
groups:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- stage: Remote_2_18
|
||||
displayName: Remote 2.18
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
testFormat: 2.18/{0}
|
||||
targets:
|
||||
- name: RHEL 9.7
|
||||
test: rhel/9.7
|
||||
groups:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- name: ubuntu/22.04 + azp/1/
|
||||
test: ansible-test-integration-2.19-ubuntu-22.04-azp-1
|
||||
- name: ubuntu/22.04 + azp/2/
|
||||
test: ansible-test-integration-2.19-ubuntu-22.04-azp-2
|
||||
- name: ubuntu/22.04 + azp/3/
|
||||
test: ansible-test-integration-2.19-ubuntu-22.04-azp-3
|
||||
- name: ubuntu/22.04 + azp/4/
|
||||
test: ansible-test-integration-2.19-ubuntu-22.04-azp-4
|
||||
- name: ubuntu/22.04 + azp/5/
|
||||
test: ansible-test-integration-2.19-ubuntu-22.04-azp-5
|
||||
|
||||
## Finally
|
||||
- stage: remote_2_20
|
||||
displayName: Remote ansible-core 2.20
|
||||
dependsOn: []
|
||||
variables:
|
||||
entryPoint: tests/utils/shippable/nox.sh
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
targets:
|
||||
- name: rhel/9.7 + azp/1/
|
||||
test: ansible-test-integration-2.20-rhel-9.7-azp-1
|
||||
- name: rhel/9.7 + azp/2/
|
||||
test: ansible-test-integration-2.20-rhel-9.7-azp-2
|
||||
- name: rhel/9.7 + azp/3/
|
||||
test: ansible-test-integration-2.20-rhel-9.7-azp-3
|
||||
- name: rhel/9.7 + azp/4/
|
||||
test: ansible-test-integration-2.20-rhel-9.7-azp-4
|
||||
- name: rhel/9.7 + azp/5/
|
||||
test: ansible-test-integration-2.20-rhel-9.7-azp-5
|
||||
|
||||
- stage: remote_2_21
|
||||
displayName: Remote ansible-core 2.21
|
||||
dependsOn: []
|
||||
variables:
|
||||
entryPoint: tests/utils/shippable/nox.sh
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
targets:
|
||||
- name: rhel/10.1 + azp/1/
|
||||
test: ansible-test-integration-2.21-rhel-10.1-azp-1
|
||||
- name: rhel/10.1 + azp/2/
|
||||
test: ansible-test-integration-2.21-rhel-10.1-azp-2
|
||||
- name: rhel/10.1 + azp/3/
|
||||
test: ansible-test-integration-2.21-rhel-10.1-azp-3
|
||||
- name: rhel/10.1 + azp/4/
|
||||
test: ansible-test-integration-2.21-rhel-10.1-azp-4
|
||||
- name: rhel/10.1 + azp/5/
|
||||
test: ansible-test-integration-2.21-rhel-10.1-azp-5
|
||||
|
||||
- stage: remote_devel
|
||||
displayName: Remote ansible-core devel
|
||||
dependsOn: []
|
||||
variables:
|
||||
entryPoint: tests/utils/shippable/nox.sh
|
||||
jobs:
|
||||
- template: templates/matrix.yml
|
||||
parameters:
|
||||
targets:
|
||||
- name: rhel/10.1 + azp/1/ + sdk-dev-latest
|
||||
test: ansible-test-integration-devel-rhel-10.1-azp-1
|
||||
- name: rhel/10.1 + azp/2/ + sdk-dev-latest
|
||||
test: ansible-test-integration-devel-rhel-10.1-azp-2
|
||||
- name: rhel/10.1 + azp/3/ + sdk-dev-latest
|
||||
test: ansible-test-integration-devel-rhel-10.1-azp-3
|
||||
- name: rhel/10.1 + azp/4/ + sdk-dev-latest
|
||||
test: ansible-test-integration-devel-rhel-10.1-azp-4
|
||||
- name: rhel/10.1 + azp/5/ + sdk-dev-latest
|
||||
test: ansible-test-integration-devel-rhel-10.1-azp-5
|
||||
- name: rhel/9.7 + azp/1/
|
||||
test: ansible-test-integration-devel-rhel-9.7-azp-1
|
||||
- name: rhel/9.7 + azp/2/
|
||||
test: ansible-test-integration-devel-rhel-9.7-azp-2
|
||||
- name: rhel/9.7 + azp/3/
|
||||
test: ansible-test-integration-devel-rhel-9.7-azp-3
|
||||
- name: rhel/9.7 + azp/4/
|
||||
test: ansible-test-integration-devel-rhel-9.7-azp-4
|
||||
- name: rhel/9.7 + azp/5/
|
||||
test: ansible-test-integration-devel-rhel-9.7-azp-5
|
||||
|
||||
- stage: Summary
|
||||
condition: succeededOrFailed()
|
||||
dependsOn:
|
||||
- Remote_devel
|
||||
- Remote_2_21
|
||||
- Remote_2_20
|
||||
- Remote_2_19
|
||||
- Remote_2_18
|
||||
- remote_2_18
|
||||
- remote_2_19
|
||||
- remote_2_20
|
||||
- remote_2_21
|
||||
- remote_devel
|
||||
jobs:
|
||||
- template: templates/coverage.yml
|
||||
|
||||
Reference in New Issue
Block a user