Skip to content

CI: run sanity tests on ansible-core 2.15 to 2.22 and devel - #95

Merged
chkp-majds merged 2 commits into
CheckPointSW:masterfrom
chkp-ameera:ci-ansible-core-2.22
Nov 3, 2026
Merged

chkp-majds merged 2 commits into
CheckPointSW:masterfrom
chkp-ameera:ci-ansible-core-2.22

Conversation

@chkp-ameera

Copy link
Copy Markdown
Contributor

Sanity was tested only on ansible-core 2.15 and 2.16, which are end of life, although the collection declares requires_ansible: '>=2.15.0'. The Ansible community review of the collection's inclusion request asks for at least 2.18, and 2.19 or later.

Changes to .github/workflows/ansible-test.yml:

  • Test every stable branch from 2.15 to 2.22, each installed on a Python version that release supports. ansible-core 2.18 and later no longer install on the previous Python 3.10.
  • Test devel as an early warning. A devel failure does not fail the run.
  • Disable fail-fast, so a failure on one version does not cancel the others.

Any sanity failures that the newer ansible-core versions report will be fixed in this PR.

🤖 Generated with Claude Code

chkp-ameera and others added 2 commits November 3, 2026 09:57
Sanity was tested only on ansible-core 2.15 and 2.16, which are end of
life, while the collection declares requires_ansible >= 2.15.0.

- Test every stable branch from 2.15 to 2.22, each installed on a
  Python version that ansible-core release supports (2.18 and later
  no longer install on Python 3.10).
- Test devel as an early warning; a devel failure does not fail the
  run.
- Disable fail-fast, so a failure on one version does not cancel the
  others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ansible-core 2.21 validate-modules rejects return value keys that
cannot be used with dot notation in Jinja (bad-return-value-key). The
keys were also not the ones the modules return:

- cp_gaia_simulate_packet: the result is returned in simulate_packet,
  not "packet rulebase execution result".
- cp_gaia_vsnext_state_facts: the API response keys are converted to
  underscores, so the facts are session_virtual_system_id and
  member_id.
- cp_gaia_virtual_systems_facts: document the show-virtual-systems
  response (objects, from, to, total) instead of the VSNext state
  facts that were copied from cp_gaia_vsnext_state_facts.

Regenerate the docs of the three modules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chkp-majds
chkp-majds merged commit 1eacffb into CheckPointSW:master Nov 3, 2026
13 of 15 checks passed
chkp-ameera added a commit to chkp-ameera/CheckPointAnsibleGAIACollection that referenced this pull request Nov 3, 2026
Record the RETURN documentation fixes of cp_gaia_simulate_packet,
cp_gaia_virtual_systems_facts and cp_gaia_vsnext_state_facts from CheckPointSW#95
in the 7.1.0 bugfixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chkp-majds pushed a commit that referenced this pull request Nov 3, 2026
Record the RETURN documentation fixes of cp_gaia_simulate_packet,
cp_gaia_virtual_systems_facts and cp_gaia_vsnext_state_facts from #95
in the 7.1.0 bugfixes.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants