4 Commits

Author SHA1 Message Date
Hideki Saito
f358d63b4f Replace AZP remote test FreeBSD-14.2 with 14.3 for Ansible Core 2.19 (#755) (#757)
(cherry picked from commit 674315f2da)

Signed-off-by: Hideki Saito <saito@fgrep.org>
2026-06-10 13:53:05 +09:00
Hideki Saito
66b84bf4cd 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>
2026-06-02 18:20:17 +09:00
softwarefactory-project-zuul[bot]
e2839eb4d1 Merge pull request #675 from saito-hideki/stable-1_pr673
[Backport][stable-1][CI]Update AZP CI matrix for stable-1

SUMMARY
Update the AZP CI matrix to bump the test container version to 7.0.0.

See more details in #673

ISSUE TYPE

CI Pull Request

COMPONENT NAME

ansible.posix

ADDITIONAL INFORMATION
None
2025-08-08 05:28:26 +00:00
Hideki Saito
8a933e78b3 Update AZP CI matrix for stable-1
* Addressed #673
* Added root priv for test container in firewalld tests

Signed-off-by: Hideki Saito <saito@fgrep.org>
2025-08-08 14:01:42 +09:00
9 changed files with 93 additions and 64 deletions

View File

@@ -37,13 +37,30 @@ variables:
resources: resources:
containers: containers:
- container: default - container: default
image: quay.io/ansible/azure-pipelines-test-container:6.0.0 image: quay.io/ansible/azure-pipelines-test-container:8.0.0
- container: legacy
image: quay.io/ansible/azure-pipelines-test-container:7.0.0
pool: Standard pool: Standard
stages: stages:
- stage: Sanity_2_19
displayName: Ansible 2.19 sanity & Units & Lint
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: "{0}"
testFormat: 2.19/{0}
targets:
- name: Sanity
test: sanity
- name: Units
test: units
- name: Lint
test: lint
- stage: Sanity_2_18 - stage: Sanity_2_18
displayName: Ansible 2.18 sanity displayName: Ansible 2.18 sanity & Units & Lint
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
@@ -58,11 +75,12 @@ stages:
- name: Lint - name: Lint
test: lint test: lint
- stage: Sanity_2_17 - stage: Sanity_2_17
displayName: Ansible 2.17 sanity displayName: Ansible 2.17 sanity & Units & Lint
dependsOn: [] dependsOn: []
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:
@@ -73,11 +91,12 @@ stages:
- name: Lint - name: Lint
test: lint test: lint
- stage: Sanity_2_16 - stage: Sanity_2_16
displayName: Ansible 2.16 sanity displayName: Ansible 2.16 sanity & Units & Lint
dependsOn: [] dependsOn: []
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:
@@ -85,20 +104,24 @@ stages:
test: sanity test: sanity
- name: Units - name: Units
test: units test: units
- stage: Sanity_2_15 - name: Lint
displayName: Ansible 2.15 sanity test: lint
## Docker
- stage: Docker_2_19
displayName: Docker 2.19
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
nameFormat: "{0}" testFormat: 2.19/linux/{0}/1
testFormat: 2.15/{0}
targets: targets:
- name: Sanity - name: Fedora 41
test: sanity test: fedora41
- name: Units - name: Ubuntu 22.04
test: units test: ubuntu2204
## Docker - name: Ubuntu 24.04
test: ubuntu2404
- stage: Docker_2_18 - stage: Docker_2_18
displayName: Docker 2.18 displayName: Docker 2.18
dependsOn: [] dependsOn: []
@@ -119,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
@@ -131,33 +155,31 @@ 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
- stage: Docker_2_15 ## Remote
displayName: Docker 2.15 - stage: Remote_2_19
displayName: Remote 2.19
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
testFormat: 2.15/linux/{0}/1 testFormat: 2.19/{0}/1
targets: targets:
- name: CentOS 7 - name: RHEL 10.1
test: centos7 test: rhel/10.1
- name: Fedora 37 - name: RHEL 9.7
test: fedora37 test: rhel/9.7
- name: openSUSE 15 py3 - name: FreeBSD 14.3
test: opensuse15 test: freebsd/14.3
- name: Ubuntu 22.04 - name: FreeBSD 13.5
test: ubuntu2204 test: freebsd/13.5
## Remote
- stage: Remote_2_18 - stage: Remote_2_18
displayName: Remote 2.18 displayName: Remote 2.18
dependsOn: [] dependsOn: []
@@ -166,58 +188,42 @@ 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: FreeBSD 13.3 - name: RHEL 9.7
test: freebsd/13.3 test: rhel/9.7
- name: FreeBSD 13.5
test: freebsd/13.5
- stage: Remote_2_17 - stage: Remote_2_17
displayName: Remote 2.17 displayName: Remote 2.17
dependsOn: [] dependsOn: []
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.3 - name: FreeBSD 13.5
test: freebsd/13.3 test: freebsd/13.5
- stage: Remote_2_16 - stage: Remote_2_16
displayName: Remote 2.16 displayName: Remote 2.16
dependsOn: [] dependsOn: []
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
- stage: Remote_2_15
displayName: Remote 2.15
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
testFormat: 2.15/{0}/1
targets:
- name: RHEL 7.9
test: rhel/7.9
- name: RHEL 8.7
test: rhel/8.7
- name: RHEL 9.1
test: rhel/9.1
## Finally ## Finally
- stage: Summary - stage: Summary
condition: succeededOrFailed() condition: succeededOrFailed()
dependsOn: dependsOn:
- Sanity_2_15
- Remote_2_15
- Docker_2_15
- Sanity_2_16 - Sanity_2_16
- Remote_2_16 - Remote_2_16
- Docker_2_16 - Docker_2_16
@@ -227,5 +233,8 @@ stages:
- Sanity_2_18 - Sanity_2_18
- Remote_2_18 - Remote_2_18
- Docker_2_18 - Docker_2_18
- Sanity_2_19
- Remote_2_19
- Docker_2_19
jobs: jobs:
- template: templates/coverage.yml - template: templates/coverage.yml

View File

@@ -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 }}:

View File

@@ -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:

View File

@@ -22,7 +22,7 @@ For more information about communication, see the [Ansible communication guide](
<!--start requires_ansible--> <!--start requires_ansible-->
## Ansible version compatibility ## Ansible version compatibility
This collection has been tested against following Ansible versions: **>=2.15**. This collection has been tested against following Ansible versions: **>=2.16**.
<!--end requires_ansible--> <!--end requires_ansible-->
## Included content ## Included content
@@ -74,13 +74,9 @@ None
<!-- List the versions of Ansible the collection has been tested with. Must match what is in galaxy.yml. --> <!-- List the versions of Ansible the collection has been tested with. Must match what is in galaxy.yml. -->
- ansible-core 2.19 (devel)
- ansible-core 2.18 (stable) * - ansible-core 2.18 (stable) *
- ansible-core 2.17 (stable) - ansible-core 2.17 (stable)
- ansible-core 2.16 (stable) - ansible-core 2.16 (stable)
- ansible-core 2.15 (stable)
*Note: For ansible-core 2.18, CI only covers sanity tests and no integration tests will be run until the test environment is released.*
## Roadmap ## Roadmap

View File

@@ -0,0 +1,2 @@
trivial:
- Update AZP CI matrix to bump test container version 7.0.0(https://github.com/ansible-collections/ansible.posix/pull/673).

View 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.

View File

@@ -0,0 +1,3 @@
---
trivial:
- Replace AZP remote test FreeBSD-14.2 with 14.3 for Ansible Core 2.19.

View File

@@ -1,3 +1,5 @@
needs/privileged
needs/root
destructive destructive
shippable/posix/group1 shippable/posix/group1
skip/aix skip/aix

View File

@@ -0,0 +1 @@
tests/utils/shippable/timing.py shebang