[AZP] Update CI test environment

* Fixes #612
* Replace RHEL9.4 with 9.5 on devel
* Replace FreeBSD13.3 with 14.2 on devel
* Fixes ansible-lint path

Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
Hideki Saito 2025-03-28 09:52:17 +09:00
parent 31376a3ee6
commit 895dbb1f0e
No known key found for this signature in database
GPG key ID: C25C6EED89E01796
3 changed files with 14 additions and 18 deletions

View file

@ -122,8 +122,8 @@ stages:
parameters:
testFormat: devel/linux/{0}/1
targets:
- name: Fedora 40
test: fedora40
- name: Fedora 41
test: fedora41
- name: Ubuntu 22.04
test: ubuntu2204
- name: Ubuntu 24.04
@ -152,8 +152,6 @@ stages:
targets:
- name: Fedora 39
test: fedora39
- name: Ubuntu 20.04
test: ubuntu2004
- name: Ubuntu 22.04
test: ubuntu2204
- stage: Docker_2_16
@ -168,8 +166,6 @@ stages:
test: centos7
- name: Fedora 38
test: fedora38
- name: Ubuntu 20.04
test: ubuntu2004
- name: Ubuntu 22.04
test: ubuntu2204
@ -187,8 +183,6 @@ stages:
test: fedora37
- name: openSUSE 15 py3
test: opensuse15
- name: Ubuntu 20.04
test: ubuntu2004
- name: Ubuntu 22.04
test: ubuntu2204
@ -201,12 +195,12 @@ stages:
parameters:
testFormat: devel/{0}/1
targets:
- name: RHEL 9.4
test: rhel/9.4
- name: FreeBSD 13.3
test: freebsd/13.3
- name: RHEL 9.5
test: rhel/9.5
- name: FreeBSD 14.2
test: freebsd/14.2
- stage: Remote_2_18
displayName: Remote devel
displayName: Remote 2.18
dependsOn: []
jobs:
- template: templates/matrix.yml

View file

@ -0,0 +1,2 @@
trivial:
- Remove ubuntu20.04 from CI tests (https://github.com/ansible-collections/ansible.posix/issues/612).

View file

@ -4,11 +4,11 @@ set -o pipefail -eux
echo "${PATH/\~/${HOME}}"
echo "${HOME}"
command -v ansible
pip install --upgrade --user pip
pip install --upgrade --user ansible-lint
PATH="${PATH/\~/${HOME}}" ansible-lint \
--exclude changelogs/ \
--profile=production
command -v ansible
command -v ansible-lint
ansible-lint --version
#ansible-lint --exclude changelogs/ --profile=production -vv
ansible-lint -vv