mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-06-09 18:15:54 +00:00
AZP bump test container version to 8.0.0 (#753)
- Backport #751 - Remove tests for devel branch(Use stable-2 for version 2.20 and later). Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
@@ -37,26 +37,13 @@ variables:
|
|||||||
resources:
|
resources:
|
||||||
containers:
|
containers:
|
||||||
- container: default
|
- container: default
|
||||||
|
image: quay.io/ansible/azure-pipelines-test-container:8.0.0
|
||||||
|
- container: legacy
|
||||||
image: quay.io/ansible/azure-pipelines-test-container:7.0.0
|
image: quay.io/ansible/azure-pipelines-test-container:7.0.0
|
||||||
|
|
||||||
pool: Standard
|
pool: Standard
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Sanity_devel
|
|
||||||
displayName: Ansible devel sanity & Units & Lint
|
|
||||||
dependsOn: []
|
|
||||||
jobs:
|
|
||||||
- template: templates/matrix.yml
|
|
||||||
parameters:
|
|
||||||
nameFormat: "{0}"
|
|
||||||
testFormat: devel/{0}
|
|
||||||
targets:
|
|
||||||
- name: Sanity
|
|
||||||
test: sanity
|
|
||||||
- name: Units
|
|
||||||
test: units
|
|
||||||
- name: Lint
|
|
||||||
test: lint
|
|
||||||
- stage: Sanity_2_19
|
- stage: Sanity_2_19
|
||||||
displayName: Ansible 2.19 sanity & Units & Lint
|
displayName: Ansible 2.19 sanity & Units & Lint
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
@@ -93,6 +80,7 @@ stages:
|
|||||||
jobs:
|
jobs:
|
||||||
- template: templates/matrix.yml
|
- template: templates/matrix.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
container: legacy
|
||||||
nameFormat: "{0}"
|
nameFormat: "{0}"
|
||||||
testFormat: 2.17/{0}
|
testFormat: 2.17/{0}
|
||||||
targets:
|
targets:
|
||||||
@@ -108,6 +96,7 @@ stages:
|
|||||||
jobs:
|
jobs:
|
||||||
- template: templates/matrix.yml
|
- template: templates/matrix.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
container: legacy
|
||||||
nameFormat: "{0}"
|
nameFormat: "{0}"
|
||||||
testFormat: 2.16/{0}
|
testFormat: 2.16/{0}
|
||||||
targets:
|
targets:
|
||||||
@@ -115,21 +104,10 @@ stages:
|
|||||||
test: sanity
|
test: sanity
|
||||||
- name: Units
|
- name: Units
|
||||||
test: units
|
test: units
|
||||||
|
- name: Lint
|
||||||
|
test: lint
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
- stage: Docker_devel
|
|
||||||
displayName: Docker devel
|
|
||||||
dependsOn: []
|
|
||||||
jobs:
|
|
||||||
- template: templates/matrix.yml
|
|
||||||
parameters:
|
|
||||||
testFormat: devel/linux/{0}/1
|
|
||||||
targets:
|
|
||||||
- name: Fedora 42
|
|
||||||
test: fedora42
|
|
||||||
- name: Ubuntu 22.04
|
|
||||||
test: ubuntu2204
|
|
||||||
- name: Ubuntu 24.04
|
|
||||||
test: ubuntu2404
|
|
||||||
- stage: Docker_2_19
|
- stage: Docker_2_19
|
||||||
displayName: Docker 2.19
|
displayName: Docker 2.19
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
@@ -164,6 +142,7 @@ stages:
|
|||||||
jobs:
|
jobs:
|
||||||
- template: templates/matrix.yml
|
- template: templates/matrix.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
container: legacy
|
||||||
testFormat: 2.17/linux/{0}/1
|
testFormat: 2.17/linux/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- name: Fedora 39
|
- name: Fedora 39
|
||||||
@@ -176,32 +155,15 @@ stages:
|
|||||||
jobs:
|
jobs:
|
||||||
- template: templates/matrix.yml
|
- template: templates/matrix.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
container: legacy
|
||||||
testFormat: 2.16/linux/{0}/1
|
testFormat: 2.16/linux/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- name: CentOS 7
|
|
||||||
test: centos7
|
|
||||||
- name: Fedora 38
|
- name: Fedora 38
|
||||||
test: fedora38
|
test: fedora38
|
||||||
- name: Ubuntu 22.04
|
- name: Ubuntu 22.04
|
||||||
test: ubuntu2204
|
test: ubuntu2204
|
||||||
|
|
||||||
## Remote
|
## Remote
|
||||||
- stage: Remote_devel
|
|
||||||
displayName: Remote devel
|
|
||||||
dependsOn: []
|
|
||||||
jobs:
|
|
||||||
- template: templates/matrix.yml
|
|
||||||
parameters:
|
|
||||||
testFormat: devel/{0}/1
|
|
||||||
targets:
|
|
||||||
- name: RHEL 10.0
|
|
||||||
test: rhel/10.0
|
|
||||||
- name: RHEL 9.6
|
|
||||||
test: rhel/9.6
|
|
||||||
- name: FreeBSD 14.3
|
|
||||||
test: freebsd/14.3
|
|
||||||
- name: FreeBSD 13.5
|
|
||||||
test: freebsd/13.5
|
|
||||||
- stage: Remote_2_19
|
- stage: Remote_2_19
|
||||||
displayName: Remote 2.19
|
displayName: Remote 2.19
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
@@ -210,10 +172,10 @@ stages:
|
|||||||
parameters:
|
parameters:
|
||||||
testFormat: 2.19/{0}/1
|
testFormat: 2.19/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- name: RHEL 10.0
|
- name: RHEL 10.1
|
||||||
test: rhel/10.0
|
test: rhel/10.1
|
||||||
- name: RHEL 9.5
|
- name: RHEL 9.7
|
||||||
test: rhel/9.5
|
test: rhel/9.7
|
||||||
- name: FreeBSD 14.2
|
- name: FreeBSD 14.2
|
||||||
test: freebsd/14.2
|
test: freebsd/14.2
|
||||||
- name: FreeBSD 13.5
|
- name: FreeBSD 13.5
|
||||||
@@ -226,8 +188,10 @@ stages:
|
|||||||
parameters:
|
parameters:
|
||||||
testFormat: 2.18/{0}/1
|
testFormat: 2.18/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- name: RHEL 9.4
|
- name: RHEL 10.1
|
||||||
test: rhel/9.4
|
test: rhel/10.1
|
||||||
|
- name: RHEL 9.7
|
||||||
|
test: rhel/9.7
|
||||||
- name: FreeBSD 13.5
|
- name: FreeBSD 13.5
|
||||||
test: freebsd/13.5
|
test: freebsd/13.5
|
||||||
- stage: Remote_2_17
|
- stage: Remote_2_17
|
||||||
@@ -236,10 +200,11 @@ stages:
|
|||||||
jobs:
|
jobs:
|
||||||
- template: templates/matrix.yml
|
- template: templates/matrix.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
container: legacy
|
||||||
testFormat: 2.17/{0}/1
|
testFormat: 2.17/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- name: RHEL 9.3
|
- name: RHEL 10.0
|
||||||
test: rhel/9.3
|
test: rhel/10.0
|
||||||
- name: FreeBSD 13.5
|
- name: FreeBSD 13.5
|
||||||
test: freebsd/13.5
|
test: freebsd/13.5
|
||||||
- stage: Remote_2_16
|
- stage: Remote_2_16
|
||||||
@@ -248,12 +213,11 @@ stages:
|
|||||||
jobs:
|
jobs:
|
||||||
- template: templates/matrix.yml
|
- template: templates/matrix.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
container: legacy
|
||||||
testFormat: 2.16/{0}/1
|
testFormat: 2.16/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- name: RHEL 8.8
|
- name: RHEL 10.1
|
||||||
test: rhel/8.8
|
test: rhel/10.1
|
||||||
- name: RHEL 9.2
|
|
||||||
test: rhel/9.2
|
|
||||||
|
|
||||||
## Finally
|
## Finally
|
||||||
|
|
||||||
@@ -272,8 +236,5 @@ stages:
|
|||||||
- Sanity_2_19
|
- Sanity_2_19
|
||||||
- Remote_2_19
|
- Remote_2_19
|
||||||
- Docker_2_19
|
- Docker_2_19
|
||||||
- Sanity_devel
|
|
||||||
- Remote_devel
|
|
||||||
- Docker_devel
|
|
||||||
jobs:
|
jobs:
|
||||||
- template: templates/coverage.yml
|
- template: templates/coverage.yml
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default: []
|
default: []
|
||||||
|
|
||||||
|
# An optional container resource name to use for the test jobs.
|
||||||
|
# Defaults to "default" if not specified.
|
||||||
|
- name: container
|
||||||
|
type: string
|
||||||
|
default: default
|
||||||
|
|
||||||
# An optional format string used to generate the job name.
|
# An optional format string used to generate the job name.
|
||||||
# - {0} is the name of an item in the targets list.
|
# - {0} is the name of an item in the targets list.
|
||||||
- name: nameFormat
|
- name: nameFormat
|
||||||
@@ -43,6 +49,7 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- template: test.yml
|
- template: test.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
container: ${{ parameters.container }}
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ if eq(length(parameters.groups), 0) }}:
|
- ${{ if eq(length(parameters.groups), 0) }}:
|
||||||
- ${{ each target in parameters.targets }}:
|
- ${{ each target in parameters.targets }}:
|
||||||
|
|||||||
@@ -7,11 +7,17 @@ parameters:
|
|||||||
- name: jobs
|
- name: jobs
|
||||||
type: object
|
type: object
|
||||||
|
|
||||||
|
# An optional container resource name to use for the test jobs.
|
||||||
|
# Defaults to "default" if not specified.
|
||||||
|
- name: container
|
||||||
|
type: string
|
||||||
|
default: default
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobs }}:
|
- ${{ each job in parameters.jobs }}:
|
||||||
- job: test_${{ replace(replace(replace(job.test, '/', '_'), '.', '_'), '-', '_') }}
|
- job: test_${{ replace(replace(replace(job.test, '/', '_'), '.', '_'), '-', '_') }}
|
||||||
displayName: ${{ job.name }}
|
displayName: ${{ job.name }}
|
||||||
container: default
|
container: ${{ parameters.container }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
3
changelogs/fragments/753_ci_test_container_update.yml
Normal file
3
changelogs/fragments/753_ci_test_container_update.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
trivial:
|
||||||
|
- Update Azure Pipelines test container to 8.0.0 and use legacy container for ansible-core 2.16/2.17.
|
||||||
Reference in New Issue
Block a user