[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: parameters:
testFormat: devel/linux/{0}/1 testFormat: devel/linux/{0}/1
targets: targets:
- name: Fedora 40 - name: Fedora 41
test: fedora40 test: fedora41
- name: Ubuntu 22.04 - name: Ubuntu 22.04
test: ubuntu2204 test: ubuntu2204
- name: Ubuntu 24.04 - name: Ubuntu 24.04
@ -152,8 +152,6 @@ stages:
targets: targets:
- name: Fedora 39 - name: Fedora 39
test: fedora39 test: fedora39
- name: Ubuntu 20.04
test: ubuntu2004
- name: Ubuntu 22.04 - name: Ubuntu 22.04
test: ubuntu2204 test: ubuntu2204
- stage: Docker_2_16 - stage: Docker_2_16
@ -168,8 +166,6 @@ stages:
test: centos7 test: centos7
- name: Fedora 38 - name: Fedora 38
test: fedora38 test: fedora38
- name: Ubuntu 20.04
test: ubuntu2004
- name: Ubuntu 22.04 - name: Ubuntu 22.04
test: ubuntu2204 test: ubuntu2204
@ -187,8 +183,6 @@ stages:
test: fedora37 test: fedora37
- name: openSUSE 15 py3 - name: openSUSE 15 py3
test: opensuse15 test: opensuse15
- name: Ubuntu 20.04
test: ubuntu2004
- name: Ubuntu 22.04 - name: Ubuntu 22.04
test: ubuntu2204 test: ubuntu2204
@ -201,12 +195,12 @@ stages:
parameters: parameters:
testFormat: devel/{0}/1 testFormat: devel/{0}/1
targets: targets:
- name: RHEL 9.4 - name: RHEL 9.5
test: rhel/9.4 test: rhel/9.5
- name: FreeBSD 13.3 - name: FreeBSD 14.2
test: freebsd/13.3 test: freebsd/14.2
- stage: Remote_2_18 - stage: Remote_2_18
displayName: Remote devel displayName: Remote 2.18
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - 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 "${PATH/\~/${HOME}}"
echo "${HOME}" echo "${HOME}"
command -v ansible
pip install --upgrade --user pip pip install --upgrade --user pip
pip install --upgrade --user ansible-lint pip install --upgrade --user ansible-lint
command -v ansible
PATH="${PATH/\~/${HOME}}" ansible-lint \ command -v ansible-lint
--exclude changelogs/ \ ansible-lint --version
--profile=production #ansible-lint --exclude changelogs/ --profile=production -vv
ansible-lint -vv