From 9ccc24edf29112d29a58f2433f7567206d87f50b Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 7 Jun 2024 07:03:56 +0200 Subject: [PATCH 1/3] Add basic ansible-lint config. --- .ansible-lint | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .ansible-lint diff --git a/.ansible-lint b/.ansible-lint new file mode 100644 index 0000000..7f470fa --- /dev/null +++ b/.ansible-lint @@ -0,0 +1,10 @@ +--- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-FileCopyrightText: 2024, Ansible Project + +skip_list: + - meta-runtime[unsupported-version] # Tis rule doesn't make any sense + - fqcn[deep] # This rule produces false positives for files in tests/unit/plugins/action/fixtures/ +exclude_paths: + - changelogs/ From a615b84bf79678dd7410db9100b871815e17af1b Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 7 Jun 2024 07:12:06 +0200 Subject: [PATCH 2/3] Add sanity ignore file for ansible-core devel 2.18. --- tests/sanity/ignore-2.18.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/sanity/ignore-2.18.txt diff --git a/tests/sanity/ignore-2.18.txt b/tests/sanity/ignore-2.18.txt new file mode 100644 index 0000000..3cf68c0 --- /dev/null +++ b/tests/sanity/ignore-2.18.txt @@ -0,0 +1 @@ +tests/utils/shippable/timing.py shebang From 11f29eba6fca66847d5fcbb4be51617d255c3bc0 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 7 Jun 2024 11:38:13 +0200 Subject: [PATCH 3/3] Add ansible-core 2.17 to CI. --- .azure-pipelines/azure-pipelines.yml | 46 ++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index ad732a0..a81a888 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -57,6 +57,21 @@ stages: test: units - name: Lint test: lint + - stage: Sanity_2_17 + displayName: Ansible 2.17 sanity + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + nameFormat: "{0}" + testFormat: 2.17/{0} + targets: + - name: Sanity + test: sanity + - name: Units + test: units + - name: Lint + test: lint - stage: Sanity_2_16 displayName: Ansible 2.16 sanity dependsOn: [] @@ -70,8 +85,6 @@ stages: test: sanity - name: Units test: units - - name: Lint - test: lint - stage: Sanity_2_15 displayName: Ansible 2.15 sanity dependsOn: [] @@ -113,6 +126,20 @@ stages: test: ubuntu2004 - name: Ubuntu 22.04 test: ubuntu2204 + - stage: Docker_2_17 + displayName: Docker 2.17 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + testFormat: 2.17/linux/{0}/1 + targets: + - name: Fedora 39 + test: fedora39 + - name: Ubuntu 20.04 + test: ubuntu2004 + - name: Ubuntu 22.04 + test: ubuntu2204 - stage: Docker_2_16 displayName: Docker 2.16 dependsOn: [] @@ -180,6 +207,18 @@ stages: test: rhel/9.3 - name: FreeBSD 13.3 test: freebsd/13.3 + - stage: Remote_2_17 + displayName: Remote 2.17 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + testFormat: 2.17/{0}/1 + targets: + - name: RHEL 9.3 + test: rhel/9.3 + - name: FreeBSD 13.3 + test: freebsd/13.3 - stage: Remote_2_16 displayName: Remote 2.16 dependsOn: [] @@ -240,6 +279,9 @@ stages: - Sanity_2_16 - Remote_2_16 - Docker_2_16 + - Sanity_2_17 + - Remote_2_17 + - Docker_2_17 - Sanity_devel - Remote_devel - Docker_devel