Commit Graph
40 Commits
Author SHA1 Message Date
Javier Cano CanoandClaude Opus 4.6 cdb17cdefa chore(ci): Update tested versions and excludes for 2.22 and Python 3.15
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Javier Cano Cano <jcanocan@redhat.com>
2026-11-04 15:21:28 +01:00
Javier Cano CanoandClaude Opus 4.6 6eed552f64 chore(ci): Update tested versions and excludes for 2.22
Add ansible stable-2.22 to CI and integration test matrices and update
the README to reflect the new tested version range.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Javier Cano Cano <jcanocan@redhat.com>
2026-11-04 14:47:58 +01:00
redhat-renovate-bot 5d462bf7bb chore(deps): update github actions to v7
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-07-20 08:14:52 +00:00
Felix MatouschekandClaude Opus 4.6 3ee0d70706 fix(ci): exclude Python 3.12 from milestone test matrix
ansible-core milestone now requires Python >=3.13, causing all
py3.12/milestone CI jobs to fail with:
"Package 'ansible-core' requires a different Python: 3.12 not in '>=3.13'"

Assisted-by: Claude Code
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-03 16:00:53 +02:00
redhat-renovate-bot 40dd983ef1 chore(deps): update github actions to v7
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-06-18 16:12:35 +00:00
Felix MatouschekandClaude Opus 4.6 5fa2a4acb0 fix(ci): exclude Python 3.12 from ansible-core devel jobs
ansible-core devel now requires Python >= 3.13.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-06-08 14:04:45 +02:00
Felix Matouschek 02c057159f chore(ci): Update tested versions and excludes for 2.21
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-05-04 11:08:59 +02:00
redhat-renovate-bot a7d3dde4f4 chore(deps): update actions/checkout action to v6
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-11-24 04:12:04 +00:00
Felix Matouschek 66645b890b chore(ci): Update tested versions and excludes
Update the test matrices to include the latest ansible-core and python
versions.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-11-20 15:31:35 +01:00
Felix Matouschek b31793f1a3 chore(ci): Update excludes and bump supported ansible versions
Update the excludes to exclude Python 3.11 with ansible-core 2.20 and
bump the supported versions in README.md.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-11-11 14:53:05 +01:00
redhat-renovate-bot 3c7c32b080 chore(deps): update actions/setup-python action to v6
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-09-04 05:27:57 +00:00
Felix Matouschek ef18e17d5c chore(ci): Exclude Python 3.11 from milestone
This Python version is no longer supported by milestone versions of
ansible-core.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-08-12 09:29:06 +02:00
redhat-renovate-bot 443f47ce5d chore(deps): update actions/checkout action to v5
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-08-11 13:19:48 +00:00
Felix Matouschek 5bd7d7169a chore(ci): Exclude Python 3.11 from devel
This Python version is no longer supported by devel versions of
ansible-core.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-07-31 10:37:35 +02:00
Felix Matouschek 6723f4e6b1 chore: Bump supported python and ansible-core versions
Bump to python >=3.10,<=3.13 and ansible-core >=2.16,<=2.19.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-25 15:06:55 +02:00
Felix Matouschek cf64caee84 fix(ci): Exclude ansible-compat's new cache location
ansible-compat 25.0.0 now stores its cache in .ansible. Ignore this
location when running ansible-lint and in .gitignore.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-01-15 09:50:47 +01:00
Felix Matouschek bab88aedab chore: Bump tested Ansible and Python versions
Bump the tested Ansible and Python version to include Ansible 2.18 and
Python 3.13.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-11-08 15:00:17 +01:00
Felix Matouschek e98d9a48bd feat: Add kubevirt_vmi_info module
Add the kubevirt_vmi_info module which allows to fetch information about
VirtualMachineInstance(s).

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-08-19 08:22:24 +02:00
Felix Matouschek e2f55848c1 ci: Check if tree is clean before running other jobs
Run make format and check if the tree is still clean before running
other CI jobs.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-06-27 16:01:38 +02:00
Felix Matouschek 9a8cafd6b1 fix(ci): Do not test ansible-core milestone with py3.10
Python 3.10 is no longer supported by ansible-core milestone, so this
excludes it from the test matrices.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-06-26 09:37:51 +02:00
Felix Matouschek c4b7cc69e7 fix(ci): Do not test ansible-core devel with py3.10
Python 3.10 is no longer supported by ansible-core devel, so this
excludes it from the test matrices.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-06-18 07:56:47 +02:00
Felix Matouschek 57b172a865 chore(ci.yml): Bump tested ansible-core versions
Bump the tested ansible-core versions in integration.yml to the
latest supported versions (2.15-2.17).

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-06-03 16:41:40 +02:00
Felix Matouschek d6efd6736e ci: Drop all green job
Drop the all green job which essentially duplicates functionality
provided by GitHub Actions already.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-04 15:02:44 +01:00
Felix Matouschek 2e561f6b04 ci: Run shellcheck in CI linter job
Install and run shellcheck in the CI linter job. Lint all files matching
'*.sh' in the tree.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 15:37:03 +01:00
Felix Matouschek 77ece9d466 ci: Add yamllint to CI linter job
This adds yamllint to the CI linter job and sets the maximum line
length to 140 like in kubevirt/kubevirt.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 11:41:49 +01:00
Felix Matouschek f92c500de4 .github: Cleanup actions
Cleanup the .github actions:

- Use the same syntax and/or commands where possible
- Drop unnecessary parameters and steps / commands
- In the all-green job ensure that all CI jobs passed
- Update the naming of jobs
- Review permissions and grant write permission only where
  necessary (repo is set to read-only by default)
- Review installed dependencies (try to fix the failing docs job)
- Run yamllint and fix findings
- Replace deprecated set-output syntax

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-28 17:04:54 +01:00
Felix Matouschek b719edf5da .github: Update tested Ansible and Python versions
Use Python 3.9 - 3.12 and Ansible 2.14 - 2.16, devel and milestone to run
tests of the collection. Use the latest stable python version in test setups
where sensible. Instead of using the integration.yml workflog from main
use it from the same commit as the test runs instead.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-28 09:14:23 +01:00
Felix Matouschek 205ef04954 .github: Bump versions of all used actions
Bump the versions of all used actions to the latest stable version and
try to use the same config across files and defaults where sensible.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-27 16:40:33 +01:00
Felix Matouschek bb132b1682 Move test .kubeconfig into CI setup
Inline the creation of a test .kubeconfig into the CI setup.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-26 16:59:03 +01:00
Guido Grazioli 44d8a4f64a make sanity and unit matrix the same
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-11-29 09:39:58 +01:00
Guido Grazioli 8f8e7eda6e update sanity/unit tests matrix
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-11-14 11:58:06 +01:00
Felix Matouschek 6486766b11 kubevirt_vm_info: Add info module for VirtualMachines
This adds the kubevirt_vm_info module, which returns the same results as
the kubevirt_vm module, but is limited to read-only functionality.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-06 13:04:07 +02:00
Guido Grazioli 1291335ce8 change dependency build_install to ansible-galaxy install
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-22 16:36:06 +02:00
Felix Matouschek 2f60ad7c69 ci: Exclude py3.9 with Ansible milestone
Python 3.9 is no longer supported by the latest Ansible milestone
version.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-14 15:01:31 +02:00
Felix Matouschek 6c3aad2f82 release: Run other workflows explicitly
To bypass restrictions on GitHub Actions run the docs and ci workflows
manually after creating a release. GitHub Actions does not trigger
other workflows from a workflow run if not using a personal access
token (PAT). By calling the workflows explicitly, it is possible to
work around this restriction without the need for a PAT.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 10:10:54 +02:00
Guido Grazioli 60695fd328 Bump to 0.1.1
CI: update integration.yml to final location
CI: silence the yaml-truthy linter rule
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-04 15:59:48 +02:00
Guido Grazioli 198d885b8f ci: integration tests
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-04 15:27:41 +02:00
Felix Matouschek 38c76a9545 Rename collection to kubevirt.core
This replaces all occurences of the old kubernetes.core name.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-03 13:03:10 +02:00
Felix Matouschek 68f5cc8e33 Update Ansible GitHub workflows
The workflows committed in the first commit were missing the
installation of required dependencies and other fixes.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-17 14:45:31 +02:00
Felix Matouschek 216df38df9 first commit
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-14 10:30:20 +02:00