summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/general/.github
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/community/general/.github')
-rw-r--r--ansible_collections/community/general/.github/BOTMETA.yml183
-rw-r--r--ansible_collections/community/general/.github/ISSUE_TEMPLATE/bug_report.yml2
-rw-r--r--ansible_collections/community/general/.github/ISSUE_TEMPLATE/documentation_report.yml4
-rw-r--r--ansible_collections/community/general/.github/ISSUE_TEMPLATE/feature_request.yml4
-rw-r--r--ansible_collections/community/general/.github/pull_request_template.md32
-rw-r--r--ansible_collections/community/general/.github/pull_request_template.md.license3
-rw-r--r--ansible_collections/community/general/.github/workflows/ansible-test.yml119
-rw-r--r--ansible_collections/community/general/.github/workflows/codeql-analysis.yml37
-rw-r--r--ansible_collections/community/general/.github/workflows/import-galaxy.yml20
-rw-r--r--ansible_collections/community/general/.github/workflows/reuse.yml11
10 files changed, 253 insertions, 162 deletions
diff --git a/ansible_collections/community/general/.github/BOTMETA.yml b/ansible_collections/community/general/.github/BOTMETA.yml
index c6379bdcb..64cbc7021 100644
--- a/ansible_collections/community/general/.github/BOTMETA.yml
+++ b/ansible_collections/community/general/.github/BOTMETA.yml
@@ -50,6 +50,8 @@ files:
$callbacks/cgroup_memory_recap.py: {}
$callbacks/context_demo.py: {}
$callbacks/counter_enabled.py: {}
+ $callbacks/default_without_diff.py:
+ maintainers: felixfontein
$callbacks/dense.py:
maintainers: dagwieers
$callbacks/diy.py:
@@ -97,6 +99,9 @@ files:
$connections/funcd.py:
maintainers: mscherer
$connections/iocage.py: {}
+ $connections/incus.py:
+ labels: incus
+ maintainers: stgraber
$connections/jail.py:
maintainers: $team_ansible_core
$connections/lxc.py: {}
@@ -119,7 +124,7 @@ files:
labels: hwc
maintainers: $team_huawei
$doc_fragments/nomad.py:
- maintainers: chris93111
+ maintainers: chris93111 apecnascimento
$doc_fragments/xenserver.py:
labels: xenserver
maintainers: bvitnik
@@ -133,6 +138,8 @@ files:
maintainers: giner
$filters/from_csv.py:
maintainers: Ajpantuso
+ $filters/from_ini.py:
+ maintainers: sscheib
$filters/groupby_as_dict.py:
maintainers: felixfontein
$filters/hashids.py:
@@ -144,8 +151,18 @@ files:
$filters/jc.py:
maintainers: kellyjonbrazil
$filters/json_query.py: {}
+ $filters/lists.py:
+ maintainers: cfiehe
+ $filters/lists_difference.yml:
+ maintainers: cfiehe
+ $filters/lists_intersect.yml:
+ maintainers: cfiehe
$filters/lists_mergeby.py:
maintainers: vbotka
+ $filters/lists_symmetric_difference.yml:
+ maintainers: cfiehe
+ $filters/lists_union.yml:
+ maintainers: cfiehe
$filters/random_mac.py: {}
$filters/time.py:
maintainers: resmo
@@ -153,6 +170,8 @@ files:
maintainers: resmo
$filters/to_hours.yml:
maintainers: resmo
+ $filters/to_ini.py:
+ maintainers: sscheib
$filters/to_milliseconds.yml:
maintainers: resmo
$filters/to_minutes.yml:
@@ -193,7 +212,7 @@ files:
labels: cloud opennebula
maintainers: feldsam
$inventories/proxmox.py:
- maintainers: $team_virt ilijamt
+ maintainers: $team_virt ilijamt krauthosting
$inventories/scaleway.py:
labels: cloud scaleway
maintainers: $team_scaleway
@@ -204,6 +223,8 @@ files:
maintainers: ddelnano shinuza
$lookups/:
labels: lookups
+ $lookups/bitwarden_secrets_manager.py:
+ maintainers: jantari
$lookups/bitwarden.py:
maintainers: lungj
$lookups/cartesian.py: {}
@@ -232,6 +253,8 @@ files:
$lookups/filetree.py:
maintainers: dagwieers
$lookups/flattened.py: {}
+ $lookups/github_app_access_token.py:
+ maintainers: weisheng-p
$lookups/hiera.py:
maintainers: jparrill
$lookups/keyring.py: {}
@@ -242,14 +265,16 @@ files:
labels: manifold
maintainers: galanoff
$lookups/merge_variables.py:
- maintainers: rlenferink m-a-r-k-e
+ maintainers: rlenferink m-a-r-k-e alpex8
$lookups/onepass:
labels: onepassword
maintainers: samdoran
$lookups/onepassword.py:
- maintainers: azenk scottsb
+ ignore: scottsb
+ maintainers: azenk
$lookups/onepassword_raw.py:
- maintainers: azenk scottsb
+ ignore: scottsb
+ maintainers: azenk
$lookups/passwordstore.py: {}
$lookups/random_pet.py:
maintainers: Akasurde
@@ -274,6 +299,8 @@ files:
$module_utils/gconftool2.py:
labels: gconftool2
maintainers: russoz
+ $module_utils/gio_mime.py:
+ maintainers: russoz
$module_utils/gitlab.py:
keywords: gitlab source_control
labels: gitlab
@@ -326,6 +353,9 @@ files:
$module_utils/scaleway.py:
labels: cloud scaleway
maintainers: $team_scaleway
+ $module_utils/snap.py:
+ labels: snap
+ maintainers: russoz
$module_utils/ssh.py:
maintainers: russoz
$module_utils/storage/hpe3par/hpe3par.py:
@@ -333,6 +363,9 @@ files:
$module_utils/utm_utils.py:
labels: utm_utils
maintainers: $team_e_spirit
+ $module_utils/vardict.py:
+ labels: vardict
+ maintainers: russoz
$module_utils/wdc_redfish_utils.py:
labels: wdc_redfish_utils
maintainers: $team_wdc
@@ -428,7 +461,7 @@ files:
ignore: resmo
maintainers: dmtrs
$modules/consul:
- ignore: colin-nolan
+ ignore: colin-nolan Hakon
maintainers: $team_consul
$modules/copr.py:
maintainers: schlupov
@@ -463,6 +496,8 @@ files:
maintainers: russoz
$modules/dnf_versionlock.py:
maintainers: moreda
+ $modules/dnf_config_manager.py:
+ maintainers: ahyattdev
$modules/dnsimple.py:
maintainers: drcapulet
$modules/dnsimple_info.py:
@@ -485,6 +520,9 @@ files:
$modules/facter.py:
labels: facter
maintainers: $team_ansible_core gamethis
+ $modules/facter_facts.py:
+ labels: facter
+ maintainers: russoz $team_ansible_core gamethis
$modules/filesize.py:
maintainers: quidame
$modules/filesystem.py:
@@ -507,8 +545,12 @@ files:
$modules/gem.py:
labels: gem
maintainers: $team_ansible_core johanwiren
+ $modules/gio_mime.py:
+ maintainers: russoz
$modules/git_config.py:
maintainers: djmattyg007 mgedmin
+ $modules/git_config_info.py:
+ maintainers: guenhter
$modules/github_:
maintainers: stpierre
$modules/github_deploy_key.py:
@@ -527,20 +569,33 @@ files:
keywords: gitlab source_control
maintainers: $team_gitlab
notify: jlozadad
+ ignore: dj-wasabi
$modules/gitlab_branch.py:
maintainers: paytroff
+ $modules/gitlab_issue.py:
+ maintainers: zvaraondrej
+ $modules/gitlab_label.py:
+ maintainers: gpongelli
+ $modules/gitlab_merge_request.py:
+ maintainers: zvaraondrej
+ $modules/gitlab_milestone.py:
+ maintainers: gpongelli
$modules/gitlab_project_variable.py:
maintainers: markuman
+ $modules/gitlab_instance_variable.py:
+ maintainers: benibr
$modules/gitlab_runner.py:
maintainers: SamyCoenen
$modules/gitlab_user.py:
maintainers: LennertMertens stgrace
+ $modules/gitlab_group_access_token.py:
+ maintainers: pixslx
+ $modules/gitlab_project_access_token.py:
+ maintainers: pixslx
$modules/grove.py:
maintainers: zimbatm
$modules/gunicorn.py:
maintainers: agmezr
- $modules/hana_query.py:
- maintainers: rainerleber
$modules/haproxy.py:
maintainers: ravibhure Normo
$modules/heroku_collaborator.py:
@@ -625,6 +680,11 @@ files:
maintainers: bregman-arie
$modules/ipa_:
maintainers: $team_ipa
+ ignore: fxfitz
+ $modules/ipa_dnsrecord.py:
+ maintainers: $team_ipa jwbernin
+ $modules/ipbase_info.py:
+ maintainers: dominikkukacka
$modules/ipa_pwpolicy.py:
maintainers: adralioh
$modules/ipa_service.py:
@@ -659,7 +719,9 @@ files:
labels: jboss
maintainers: $team_jboss jhoekx
$modules/jenkins_build.py:
- maintainers: brettmilford unnecessary-username
+ maintainers: brettmilford unnecessary-username juanmcasanova
+ $modules/jenkins_build_info.py:
+ maintainers: juanmcasanova
$modules/jenkins_job.py:
maintainers: sermilrod
$modules/jenkins_job_info.py:
@@ -669,9 +731,9 @@ files:
$modules/jenkins_script.py:
maintainers: hogarthj
$modules/jira.py:
- ignore: DWSR
+ ignore: DWSR tarka
labels: jira
- maintainers: Slezhuk tarka pertoft
+ maintainers: Slezhuk pertoft
$modules/kdeconfig.py:
maintainers: smeso
$modules/kernel_blacklist.py:
@@ -680,8 +742,16 @@ files:
maintainers: $team_keycloak
$modules/keycloak_authentication.py:
maintainers: elfelip Gaetan2907
+ $modules/keycloak_authentication_required_actions.py:
+ maintainers: Skrekulko
$modules/keycloak_authz_authorization_scope.py:
maintainers: mattock
+ $modules/keycloak_authz_permission.py:
+ maintainers: mattock
+ $modules/keycloak_authz_custom_policy.py:
+ maintainers: mattock
+ $modules/keycloak_authz_permission_info.py:
+ maintainers: mattock
$modules/keycloak_client_rolemapping.py:
maintainers: Gaetan2907
$modules/keycloak_clientscope.py:
@@ -700,12 +770,20 @@ files:
maintainers: kris2kris
$modules/keycloak_realm_info.py:
maintainers: fynncfchen
+ $modules/keycloak_realm_key.py:
+ maintainers: mattock
$modules/keycloak_role.py:
maintainers: laurpaum
+ $modules/keycloak_user.py:
+ maintainers: elfelip
$modules/keycloak_user_federation.py:
maintainers: laurpaum
+ $modules/keycloak_component_info.py:
+ maintainers: desand01
$modules/keycloak_user_rolemapping.py:
maintainers: bratwurzt
+ $modules/keycloak_realm_rolemapping.py:
+ maintainers: agross mhuysamen Gaetan2907
$modules/keyring.py:
maintainers: ahussey-redhat
$modules/keyring_info.py:
@@ -748,6 +826,8 @@ files:
maintainers: nerzhul
$modules/lvg.py:
maintainers: abulimov
+ $modules/lvg_rename.py:
+ maintainers: lszomor
$modules/lvol.py:
maintainers: abulimov jhoekx zigaSRC unkaputtbar112
$modules/lxc_container.py:
@@ -832,7 +912,7 @@ files:
$modules/nmcli.py:
maintainers: alcamie101
$modules/nomad_:
- maintainers: chris93111
+ maintainers: chris93111 apecnascimento
$modules/nosh.py:
maintainers: tacatac
$modules/npm.py:
@@ -917,7 +997,7 @@ files:
labels: pagerduty
maintainers: suprememoocow thaumos
$modules/pagerduty_alert.py:
- maintainers: ApsOps
+ maintainers: ApsOps xshen1
$modules/pagerduty_change.py:
maintainers: adamvaughan
$modules/pagerduty_user.py:
@@ -960,6 +1040,9 @@ files:
maintainers: $team_solaris dermute
$modules/pmem.py:
maintainers: mizumm
+ $modules/pnpm.py:
+ ignore: chrishoffman
+ maintainers: aretrosen
$modules/portage.py:
ignore: sayap
labels: portage
@@ -976,22 +1059,27 @@ files:
$modules/proxmox:
keywords: kvm libvirt proxmox qemu
labels: proxmox virt
- maintainers: $team_virt
+ maintainers: $team_virt UnderGreen krauthosting
+ ignore: tleguern
$modules/proxmox.py:
ignore: skvidal
- maintainers: UnderGreen
+ maintainers: UnderGreen krauthosting
$modules/proxmox_disk.py:
- maintainers: castorsky
+ maintainers: castorsky krauthosting
$modules/proxmox_kvm.py:
ignore: skvidal
- maintainers: helldorado
+ maintainers: helldorado krauthosting
$modules/proxmox_nic.py:
- maintainers: Kogelvis
+ maintainers: Kogelvis krauthosting
+ $modules/proxmox_node_info.py:
+ maintainers: jwbernin krauthosting
+ $modules/proxmox_storage_contents_info.py:
+ maintainers: l00ptr krauthosting
$modules/proxmox_tasks_info:
- maintainers: paginabianca
+ maintainers: paginabianca krauthosting
$modules/proxmox_template.py:
ignore: skvidal
- maintainers: UnderGreen
+ maintainers: UnderGreen krauthosting
$modules/pubnub_blocks.py:
maintainers: parfeon pubnub
$modules/pulp_repo.py:
@@ -1100,10 +1188,6 @@ files:
maintainers: nerzhul
$modules/runit.py:
maintainers: jsumners
- $modules/sap_task_list_execute:
- maintainers: rainerleber
- $modules/sapcar_extract.py:
- maintainers: RainerLeber
$modules/say.py:
maintainers: $team_ansible_core
ignore: mpdehaan
@@ -1178,6 +1262,8 @@ files:
ignore: ryansb
$modules/shutdown.py:
maintainers: nitzmahone samdoran aminvakil
+ $modules/simpleinit_msb.py:
+ maintainers: vaygr
$modules/sl_vm.py:
maintainers: mcltn
$modules/slack.py:
@@ -1190,7 +1276,7 @@ files:
maintainers: $team_solaris
$modules/snap.py:
labels: snap
- maintainers: angristan vcarceler
+ maintainers: angristan vcarceler russoz
$modules/snap_alias.py:
labels: snap
maintainers: russoz
@@ -1268,6 +1354,8 @@ files:
maintainers: nate-kingsley
$modules/urpmi.py:
maintainers: pmakowski
+ $modules/usb_facts.py:
+ maintainers: maxopoly
$modules/utm_:
keywords: sophos utm
maintainers: $team_e_spirit
@@ -1359,6 +1447,43 @@ files:
maintainers: $team_suse
$tests/a_module.py:
maintainers: felixfontein
+ $tests/fqdn_valid.py:
+ maintainers: vbotka
+#########################
+ docs/docsite/rst/filter_guide.rst: {}
+ docs/docsite/rst/filter_guide_abstract_informations.rst: {}
+ docs/docsite/rst/filter_guide_abstract_informations_counting_elements_in_sequence.rst:
+ maintainers: keilr
+ docs/docsite/rst/filter_guide_abstract_informations_dictionaries.rst:
+ maintainers: felixfontein giner
+ docs/docsite/rst/filter_guide_abstract_informations_grouping.rst:
+ maintainers: felixfontein
+ docs/docsite/rst/filter_guide_abstract_informations_lists_helper.rst:
+ maintainers: cfiehe
+ docs/docsite/rst/filter_guide_abstract_informations_merging_lists_of_dictionaries.rst:
+ maintainers: vbotka
+ docs/docsite/rst/filter_guide_conversions.rst:
+ maintainers: Ajpantuso kellyjonbrazil
+ docs/docsite/rst/filter_guide_creating_identifiers.rst:
+ maintainers: Ajpantuso
+ docs/docsite/rst/filter_guide_paths.rst: {}
+ docs/docsite/rst/filter_guide_selecting_json_data.rst: {}
+ docs/docsite/rst/filter_guide_working_with_times.rst:
+ maintainers: resmo
+ docs/docsite/rst/filter_guide_working_with_unicode.rst:
+ maintainers: Ajpantuso
+ docs/docsite/rst/filter_guide_working_with_versions.rst:
+ maintainers: ericzolf
+ docs/docsite/rst/guide_alicloud.rst:
+ maintainers: xiaozhu36
+ docs/docsite/rst/guide_online.rst:
+ maintainers: remyleone
+ docs/docsite/rst/guide_packet.rst:
+ maintainers: baldwinSPC nurfet-becirevic t0mk teebes
+ docs/docsite/rst/guide_scaleway.rst:
+ maintainers: $team_scaleway
+ docs/docsite/rst/test_guide.rst:
+ maintainers: felixfontein
#########################
tests/:
labels: tests
@@ -1389,14 +1514,14 @@ macros:
team_ansible_core:
team_aix: MorrisA bcoca d-little flynn1973 gforster kairoaraujo marvin-sinister mator molekuul ramooncamacho wtcross
team_bsd: JoergFiedler MacLemon bcoca dch jasperla mekanix opoplawski overhacked tuxillo
- team_consul: sgargan
+ team_consul: sgargan apollo13
team_cyberark_conjur: jvanderhoof ryanprior
team_e_spirit: MatrixCrawler getjack
team_flatpak: JayKayy oolongbrothers
- team_gitlab: Lunik Shaps dj-wasabi marwatk waheedi zanssa scodeman metanovii sh0shin nejch lgatellier suukit
+ team_gitlab: Lunik Shaps marwatk waheedi zanssa scodeman metanovii sh0shin nejch lgatellier suukit
team_hpux: bcoca davx8342
team_huawei: QijunPan TommyLike edisonxiang freesky-edward hwDCN niuzhenguo xuxiaowei0512 yanzhangi zengchen1024 zhongjun2
- team_ipa: Akasurde Nosmoht fxfitz justchris1
+ team_ipa: Akasurde Nosmoht justchris1
team_jboss: Wolfant jairojunior wbrefvem
team_keycloak: eikef ndclt mattock
team_linode: InTheCloudDan decentral1se displague rmcintosh Charliekenney23 LBGarber
@@ -1412,5 +1537,5 @@ macros:
team_scaleway: remyleone abarbare
team_solaris: bcoca fishman jasperla jpdasma mator scathatheworm troy2914 xen0l
team_suse: commel evrardjp lrupp toabctl AnderEnder alxgu andytom sealor
- team_virt: joshainglis karmab tleguern Thulium-Drake Ajpantuso
+ team_virt: joshainglis karmab Thulium-Drake Ajpantuso
team_wdc: mikemoerk
diff --git a/ansible_collections/community/general/.github/ISSUE_TEMPLATE/bug_report.yml b/ansible_collections/community/general/.github/ISSUE_TEMPLATE/bug_report.yml
index bd5030f2c..f64de2abe 100644
--- a/ansible_collections/community/general/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/ansible_collections/community/general/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -47,7 +47,7 @@ body:
label: Component Name
description: >-
Write the short name of the module, plugin, task or feature below,
- *use your best guess if unsure*.
+ *use your best guess if unsure*. Do not include `community.general.`!
placeholder: dnf, apt, yum, pip, user etc.
validations:
required: true
diff --git a/ansible_collections/community/general/.github/ISSUE_TEMPLATE/documentation_report.yml b/ansible_collections/community/general/.github/ISSUE_TEMPLATE/documentation_report.yml
index 3a2777f20..6ec49fcb3 100644
--- a/ansible_collections/community/general/.github/ISSUE_TEMPLATE/documentation_report.yml
+++ b/ansible_collections/community/general/.github/ISSUE_TEMPLATE/documentation_report.yml
@@ -46,8 +46,8 @@ body:
attributes:
label: Component Name
description: >-
- Write the short name of the rst file, module, plugin, task or
- feature below, *use your best guess if unsure*.
+ Write the short name of the file, module, plugin, task or feature below,
+ *use your best guess if unsure*. Do not include `community.general.`!
placeholder: mysql_user
validations:
required: true
diff --git a/ansible_collections/community/general/.github/ISSUE_TEMPLATE/feature_request.yml b/ansible_collections/community/general/.github/ISSUE_TEMPLATE/feature_request.yml
index 9630b67e1..f34564283 100644
--- a/ansible_collections/community/general/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/ansible_collections/community/general/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -42,8 +42,8 @@ body:
attributes:
label: Component Name
description: >-
- Write the short name of the module, plugin, task or feature below,
- *use your best guess if unsure*.
+ Write the short name of the module or plugin, or which other part(s) of the collection this feature affects.
+ *use your best guess if unsure*. Do not include `community.general.`!
placeholder: dnf, apt, yum, pip, user etc.
validations:
required: true
diff --git a/ansible_collections/community/general/.github/pull_request_template.md b/ansible_collections/community/general/.github/pull_request_template.md
new file mode 100644
index 000000000..29a2d2e36
--- /dev/null
+++ b/ansible_collections/community/general/.github/pull_request_template.md
@@ -0,0 +1,32 @@
+##### SUMMARY
+<!--- Describe the change below, including rationale and design decisions -->
+
+<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
+
+<!--- Please do not forget to include a changelog fragment:
+ https://docs.ansible.com/ansible/devel/community/collection_development_process.html#creating-changelog-fragments
+ No need to include one for docs-only or test-only PR, and for new plugin/module PRs.
+ Read about more details in CONTRIBUTING.md.
+ -->
+
+##### ISSUE TYPE
+<!--- Pick one or more below and delete the rest.
+ 'Test Pull Request' is for PRs that add/extend tests without code changes. -->
+- Bugfix Pull Request
+- Docs Pull Request
+- Feature Pull Request
+- New Module/Plugin Pull Request
+- Refactoring Pull Request
+- Test Pull Request
+
+##### COMPONENT NAME
+<!--- Write the SHORT NAME of the module, plugin, task or feature below. -->
+
+##### ADDITIONAL INFORMATION
+<!--- Include additional information to help people understand the change here -->
+<!--- A step-by-step reproduction of the problem is helpful if there is no related issue -->
+
+<!--- Paste verbatim command output below, e.g. before and after your change -->
+```paste below
+
+```
diff --git a/ansible_collections/community/general/.github/pull_request_template.md.license b/ansible_collections/community/general/.github/pull_request_template.md.license
new file mode 100644
index 000000000..a1390a69e
--- /dev/null
+++ b/ansible_collections/community/general/.github/pull_request_template.md.license
@@ -0,0 +1,3 @@
+Copyright (c) Ansible Project
+GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
+SPDX-License-Identifier: GPL-3.0-or-later
diff --git a/ansible_collections/community/general/.github/workflows/ansible-test.yml b/ansible_collections/community/general/.github/workflows/ansible-test.yml
index 8d5809cda..bc9daaa43 100644
--- a/ansible_collections/community/general/.github/workflows/ansible-test.yml
+++ b/ansible_collections/community/general/.github/workflows/ansible-test.yml
@@ -14,9 +14,9 @@ on:
- main
- stable-*
pull_request:
- # Run EOL CI once per day (at 10:00 UTC)
+ # Run EOL CI once per day (at 08:00 UTC)
schedule:
- - cron: '0 10 * * *'
+ - cron: '0 8 * * *'
concurrency:
# Make sure there is at most one active run per PR, but do not cancel any non-PR runs
@@ -29,22 +29,17 @@ jobs:
strategy:
matrix:
ansible:
- - '2.11'
- - '2.12'
+ - '2.13'
# Ansible-test on various stable branches does not yet work well with cgroups v2.
# Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04
# image for these stable branches. The list of branches where this is necessary will
# shrink over time, check out https://github.com/ansible-collections/news-for-maintainers/issues/28
# for the latest list.
- runs-on: >-
- ${{ contains(fromJson(
- '["2.9", "2.10", "2.11"]'
- ), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Perform sanity testing
uses: felixfontein/ansible-test-gh-action@main
with:
- ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pull-request-change-detection: 'true'
@@ -56,10 +51,7 @@ jobs:
# image for these stable branches. The list of branches where this is necessary will
# shrink over time, check out https://github.com/ansible-collections/news-for-maintainers/issues/28
# for the latest list.
- runs-on: >-
- ${{ contains(fromJson(
- '["2.9", "2.10", "2.11"]'
- ), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
name: EOL Units (Ⓐ${{ matrix.ansible }}+py${{ matrix.python }})
strategy:
# As soon as the first unit test fails, cancel the others to free up the CI queue
@@ -72,13 +64,13 @@ jobs:
exclude:
- ansible: ''
include:
- - ansible: '2.11'
+ - ansible: '2.13'
python: '2.7'
- - ansible: '2.11'
- python: '3.5'
- - ansible: '2.12'
- python: '2.6'
- - ansible: '2.12'
+ - ansible: '2.13'
+ python: '3.8'
+ - ansible: '2.13'
+ python: '2.7'
+ - ansible: '2.13'
python: '3.8'
steps:
@@ -87,7 +79,6 @@ jobs:
Ansible version ${{ matrix.ansible }}
uses: felixfontein/ansible-test-gh-action@main
with:
- ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pre-test-cmd: >-
@@ -104,10 +95,7 @@ jobs:
# image for these stable branches. The list of branches where this is necessary will
# shrink over time, check out https://github.com/ansible-collections/news-for-maintainers/issues/28
# for the latest list.
- runs-on: >-
- ${{ contains(fromJson(
- '["2.9", "2.10", "2.11"]'
- ), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
name: EOL I (Ⓐ${{ matrix.ansible }}+${{ matrix.docker }}+py${{ matrix.python }}:${{ matrix.target }})
strategy:
fail-fast: false
@@ -123,93 +111,47 @@ jobs:
exclude:
- ansible: ''
include:
- # 2.11
- - ansible: '2.11'
- docker: fedora32
+ # 2.13
+ - ansible: '2.13'
+ docker: fedora35
python: ''
target: azp/posix/1/
- - ansible: '2.11'
- docker: fedora32
+ - ansible: '2.13'
+ docker: fedora35
python: ''
target: azp/posix/2/
- - ansible: '2.11'
- docker: fedora32
+ - ansible: '2.13'
+ docker: fedora35
python: ''
target: azp/posix/3/
- - ansible: '2.11'
- docker: fedora33
+ - ansible: '2.13'
+ docker: opensuse15py2
python: ''
target: azp/posix/1/
- - ansible: '2.11'
- docker: fedora33
+ - ansible: '2.13'
+ docker: opensuse15py2
python: ''
target: azp/posix/2/
- - ansible: '2.11'
- docker: fedora33
+ - ansible: '2.13'
+ docker: opensuse15py2
python: ''
target: azp/posix/3/
- - ansible: '2.11'
+ - ansible: '2.13'
docker: alpine3
python: ''
target: azp/posix/1/
- - ansible: '2.11'
+ - ansible: '2.13'
docker: alpine3
python: ''
target: azp/posix/2/
- - ansible: '2.11'
+ - ansible: '2.13'
docker: alpine3
python: ''
target: azp/posix/3/
# Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled.
- # - ansible: '2.11'
- # docker: default
- # python: '2.7'
- # target: azp/generic/1/
- # - ansible: '2.11'
- # docker: default
- # python: '3.5'
- # target: azp/generic/1/
- # 2.12
- - ansible: '2.12'
- docker: centos6
- python: ''
- target: azp/posix/1/
- - ansible: '2.12'
- docker: centos6
- python: ''
- target: azp/posix/2/
- - ansible: '2.12'
- docker: centos6
- python: ''
- target: azp/posix/3/
- - ansible: '2.12'
- docker: fedora34
- python: ''
- target: azp/posix/1/
- - ansible: '2.12'
- docker: fedora34
- python: ''
- target: azp/posix/2/
- - ansible: '2.12'
- docker: fedora34
- python: ''
- target: azp/posix/3/
- - ansible: '2.12'
- docker: ubuntu1804
- python: ''
- target: azp/posix/1/
- - ansible: '2.12'
- docker: ubuntu1804
- python: ''
- target: azp/posix/2/
- - ansible: '2.12'
- docker: ubuntu1804
- python: ''
- target: azp/posix/3/
- # Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled.
- # - ansible: '2.12'
+ # - ansible: '2.13'
# docker: default
- # python: '3.8'
+ # python: '3.9'
# target: azp/generic/1/
steps:
@@ -219,7 +161,6 @@ jobs:
under Python ${{ matrix.python }}
uses: felixfontein/ansible-test-gh-action@main
with:
- ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
docker-image: ${{ matrix.docker }}
diff --git a/ansible_collections/community/general/.github/workflows/codeql-analysis.yml b/ansible_collections/community/general/.github/workflows/codeql-analysis.yml
index f7ab9450c..c93162a72 100644
--- a/ansible_collections/community/general/.github/workflows/codeql-analysis.yml
+++ b/ansible_collections/community/general/.github/workflows/codeql-analysis.yml
@@ -8,6 +8,7 @@ name: "Code scanning - action"
on:
schedule:
- cron: '26 19 * * 1'
+ workflow_dispatch:
permissions:
contents: read
@@ -23,39 +24,13 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v3
- with:
- # We must fetch at least the immediate parents so that if this is
- # a pull request then we can checkout the head.
- fetch-depth: 2
-
- # If this run was triggered by a pull request event, then checkout
- # the head of the pull request instead of the merge commit.
- - run: git checkout HEAD^2
- if: ${{ github.event_name == 'pull_request' }}
+ uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v2
- # Override language selection by uncommenting this and choosing your languages
- # with:
- # languages: go, javascript, csharp, python, cpp, java
-
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
- # If this step fails, then you should remove it and run the build manually (see below)
- - name: Autobuild
- uses: github/codeql-action/autobuild@v2
-
- # ℹ️ Command-line programs to run using the OS shell.
- # 📚 https://git.io/JvXDl
-
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
- # and modify them (or add more) to build your code if your project
- # uses a compiled language
-
- #- run: |
- # make bootstrap
- # make release
+ uses: github/codeql-action/init@v3
+ with:
+ languages: python
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
+ uses: github/codeql-action/analyze@v3
diff --git a/ansible_collections/community/general/.github/workflows/import-galaxy.yml b/ansible_collections/community/general/.github/workflows/import-galaxy.yml
new file mode 100644
index 000000000..0c0ee402a
--- /dev/null
+++ b/ansible_collections/community/general/.github/workflows/import-galaxy.yml
@@ -0,0 +1,20 @@
+---
+# Copyright (c) Ansible Project
+# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+name: import-galaxy
+'on':
+ # Run CI against all pushes (direct commits, also merged PRs) to main, and all Pull Requests
+ push:
+ branches:
+ - main
+ - stable-*
+ pull_request:
+
+jobs:
+ import-galaxy:
+ permissions:
+ contents: read
+ name: Test to import built collection artifact with Galaxy importer
+ uses: ansible-community/github-action-test-galaxy-import/.github/workflows/test-galaxy-import.yml@main
diff --git a/ansible_collections/community/general/.github/workflows/reuse.yml b/ansible_collections/community/general/.github/workflows/reuse.yml
index 8467668f1..031e94cb7 100644
--- a/ansible_collections/community/general/.github/workflows/reuse.yml
+++ b/ansible_collections/community/general/.github/workflows/reuse.yml
@@ -22,14 +22,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || '' }}
- - name: Install dependencies
- run: |
- pip install reuse
-
- - name: Check REUSE compliance
- run: |
- reuse lint
+ - name: REUSE Compliance Check
+ uses: fsfe/reuse-action@v3