From cd686316e9b3af6df67c19027b573b27468234e3 Mon Sep 17 00:00:00 2001 From: Yuriy Novostavskiy Date: Mon, 4 Nov 2024 19:12:45 +0200 Subject: [PATCH] [ci] fix github actions post 2.18 (#789) This PR includes a trivial fix for the GitHub Actions issue #788 and related to switching milestone and devel branches of ansible/ansible to version 2.19 and prepare repo to be ready to include test with Python 3.13 when ansible-network/github_actions/pull/162 is merged. ISSUE TYPE Bugfix Pull Request COMPONENT NAME GitHub actions/test Reviewed-by: Andrew Klychkov Reviewed-by: Mike Graves --- .../20241102-fix-ci-post-2.18-issue.yaml | 3 ++ tests/sanity/ignore-2.18.txt | 9 ++---- tests/sanity/ignore-2.19.txt | 28 +++++++++++++++++++ 3 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 changelogs/fragments/20241102-fix-ci-post-2.18-issue.yaml create mode 100644 tests/sanity/ignore-2.19.txt diff --git a/changelogs/fragments/20241102-fix-ci-post-2.18-issue.yaml b/changelogs/fragments/20241102-fix-ci-post-2.18-issue.yaml new file mode 100644 index 0000000000..937c1f6710 --- /dev/null +++ b/changelogs/fragments/20241102-fix-ci-post-2.18-issue.yaml @@ -0,0 +1,3 @@ +--- +trivial: + - Fix GitHub actions issue related to switch milestone and devel branches of ansible to 2.19 (https://github.com/ansible-collections/kubernetes.core/pull/789) diff --git a/tests/sanity/ignore-2.18.txt b/tests/sanity/ignore-2.18.txt index c154baaf2d..39dca9ac9c 100644 --- a/tests/sanity/ignore-2.18.txt +++ b/tests/sanity/ignore-2.18.txt @@ -1,15 +1,12 @@ -plugins/module_utils/client/discovery.py import-3.9!skip -plugins/module_utils/client/discovery.py import-3.10!skip plugins/module_utils/client/discovery.py import-3.11!skip plugins/module_utils/client/discovery.py import-3.12!skip -plugins/module_utils/client/resource.py import-3.9!skip -plugins/module_utils/client/resource.py import-3.10!skip +plugins/module_utils/client/discovery.py import-3.13!skip plugins/module_utils/client/resource.py import-3.11!skip plugins/module_utils/client/resource.py import-3.12!skip -plugins/module_utils/k8sdynamicclient.py import-3.9!skip -plugins/module_utils/k8sdynamicclient.py import-3.10!skip +plugins/module_utils/client/resource.py import-3.13!skip plugins/module_utils/k8sdynamicclient.py import-3.11!skip plugins/module_utils/k8sdynamicclient.py import-3.12!skip +plugins/module_utils/k8sdynamicclient.py import-3.13!skip plugins/module_utils/version.py pylint!skip plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc plugins/modules/k8s_scale.py validate-modules:parameter-type-not-in-doc diff --git a/tests/sanity/ignore-2.19.txt b/tests/sanity/ignore-2.19.txt new file mode 100644 index 0000000000..39dca9ac9c --- /dev/null +++ b/tests/sanity/ignore-2.19.txt @@ -0,0 +1,28 @@ +plugins/module_utils/client/discovery.py import-3.11!skip +plugins/module_utils/client/discovery.py import-3.12!skip +plugins/module_utils/client/discovery.py import-3.13!skip +plugins/module_utils/client/resource.py import-3.11!skip +plugins/module_utils/client/resource.py import-3.12!skip +plugins/module_utils/client/resource.py import-3.13!skip +plugins/module_utils/k8sdynamicclient.py import-3.11!skip +plugins/module_utils/k8sdynamicclient.py import-3.12!skip +plugins/module_utils/k8sdynamicclient.py import-3.13!skip +plugins/module_utils/version.py pylint!skip +plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc +plugins/modules/k8s_scale.py validate-modules:parameter-type-not-in-doc +plugins/modules/k8s_service.py validate-modules:parameter-type-not-in-doc +tests/unit/module_utils/fixtures/definitions.yml yamllint!skip +tests/unit/module_utils/fixtures/deployments.yml yamllint!skip +tests/integration/targets/k8s_delete/files/deployments.yaml yamllint!skip +tests/unit/module_utils/fixtures/pods.yml yamllint!skip +tests/integration/targets/helm/files/appversionless-chart-v2/templates/configmap.yaml yamllint!skip +tests/integration/targets/helm/files/appversionless-chart/templates/configmap.yaml yamllint!skip +tests/integration/targets/helm/files/test-chart-v2/templates/configmap.yaml yamllint!skip +tests/integration/targets/helm/files/test-chart/templates/configmap.yaml yamllint!skip +tests/integration/targets/helm_diff/files/test-chart/templates/configmap.yaml yamllint!skip +tests/integration/targets/k8s_scale/files/deployment.yaml yamllint!skip +plugins/modules/k8s.py validate-modules:return-syntax-error +plugins/modules/k8s_scale.py validate-modules:return-syntax-error +plugins/modules/k8s_service.py validate-modules:return-syntax-error +plugins/modules/k8s_taint.py validate-modules:return-syntax-error +tests/integration/targets/helm_diff/files/test-chart-reuse-values/templates/configmap.yaml yamllint!skip