Commit Graph

535 Commits

Author SHA1 Message Date
Geetika Kapoor
ff9dca5945 docs(developing): document CI enforced checks under contributor guidelines
Signed-off-by: Geetika Kapoor <gkapoor@redhat.com>
2026-06-10 14:22:51 +01:00
kubevirt-bot
55ad12505d Merge pull request #246 from 0xFelix/fix-kind-k8s-version
fix(ci): update e2e-setup versions, pin K8s 1.35
2026-06-10 11:18:24 +02:00
kubevirt-bot
ff18d51084 Merge pull request #239 from jcanocan/add-agents-md
feat(AGENTS): Add context documentation for AI agents
2026-06-10 11:09:15 +02:00
Felix Matouschek
c3c6e8c660 fix(ci): update e2e-setup versions, pin K8s 1.35
Update kind v0.31.0 -> v0.32.0 and KubeVirt v1.8.2 -> v1.8.3.
Pin the kind node image to K8s 1.35 since KubeVirt v1.8 does not
yet support K8s 1.36 (kind v0.32.0 defaults to 1.36).

Supersedes: #243

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-06-10 10:59:42 +02:00
kubevirt-bot
33d742a29d Merge pull request #245 from geetikakay/doc_fix
docs: clarify local tox setup and unit test matrix usage
2026-06-10 10:57:10 +02:00
kubevirt-bot
13854f6bbc Merge pull request #238 from kubevirt/renovate/github-actions
chore(deps): update github actions to 3.14
2026-06-10 10:53:48 +02:00
Geetika Kapoor
6d85ed42f1 docs: clarify local tox setup and unit test matrix usage
Document tox 4 requirement and PATH fix for --user installs so make
targets use the correct tox binary. Describe how to use selective
unit test environments instead of running the full matrix.

Signed-off-by: Geetika Kapoor <gkapoor@redhat.com>
2026-06-09 13:57:23 +01:00
redhat-renovate-bot
67378e1a4a chore(deps): update github actions to 3.14
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-06-08 16:18:25 +00:00
kubevirt-bot
52c49bf96b Merge pull request #242 from jcanocan/start-stop-restart-vms
feat(kubevirt_vm): add `state=started/stopped/restarted` to manage VM lifecycle
2026-06-08 17:18:06 +02:00
Javier Cano Cano
0475a8d39b feat(kubevirt_vm): add state=start/stop/restart to manage VM lifecycle
It adds support for starting, stopping, and restarting VirtualMachines.
The operations are performed through the KubeVirt restart subresource
API (PUT to `subresources.kubevirt.io/v1`). These calls are extracted
into a single shared helper function `_call_subresource()` to handle the
common flow, i.e., check mode, API call and wait conditions.
Moreover, it adds the optional parameter  `grace_period_seconds` for
stop and start operations.

Additionally, it adds unit tests and integration tests for all
operations.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Javier Cano Cano <jcanocan@redhat.com>
2026-06-08 15:37:43 +02:00
kubevirt-bot
ecfbb3a3b2 Merge pull request #244 from 0xFelix/fix-devel-python-version
fix(ci): exclude Python 3.12 from ansible-core devel jobs
2026-06-08 14:24:37 +02:00
Felix Matouschek
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
kubevirt-bot
9eb27d287f Merge pull request #240 from jcanocan/win-ansible-connection
feat(inventory): add `win_ansible_connection` option
2026-05-18 18:09:03 +02:00
Javier Cano Cano
42fd3fecfd feat(inventory): add default_win_ansible_connection option
It adds the option `default_win_ansible_connection` to allow users to
configure the default `ansible_connection` for Windows VMs detected by
the inventory plugin, instead of always hardcoding `winrm`. This enables
use of alternative connection plugins like `psrp` or `ssh` without
per-host overrides.

Defaults to `winrm` for backward compatibility.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Javier Cano Cano <jcanocan@redhat.com>
2026-05-18 13:57:23 +02:00
Javier Cano Cano
f1f41934f7 feat(AGENTS): Add context documentation for AI agents
It adds documentation to provide context about the project to AI agents.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Javier Cano Cano <jcanocan@redhat.com>
2026-05-13 16:09:46 +02:00
kubevirt-bot
85f83170fc Merge pull request #241 from jcanocan/update-test-config
chore(test): Update test configuration
2026-05-12 12:23:26 +02:00
Javier Cano Cano
adca55e6ab chore(test): Update test configuration
It updates test python versions configuration to 3.10 and 3.14.
Otherwise, it fails to run coverage tests due to non supported
operations such as merge dicts.

Signed-off-by: Javier Cano Cano <jcanocan@redhat.com>
2026-05-12 11:38:26 +02:00
kubevirt-bot
19cc611159 Merge pull request #237 from 0xFelix/bump-tested-versions-2.21
chore(ci): add ansible 2.21 and fix docs build
2026-05-05 10:54:42 +02:00
Felix Matouschek
62bf9350aa fix(ci): pin Python to 3.13 for docs build
Python 3.14 removed pkg_resources, which breaks
ansible_basic_sphinx_ext. Pin to 3.13 until the
upstream dependency is updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-05-04 11:10:12 +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
kubevirt-bot
e50151902c Merge pull request #235 from carterpewpew/fix/set-composable-vars-ignores-strict-fal
fix: pass user-configured `strict` option to `_set_composite_vars` in kubevirt inventory plugin
2026-04-21 10:13:49 +02:00
kubevirt-bot
a61d9c4a68 Merge pull request #236 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/kubevirt to v1.8.2
2026-04-21 08:53:50 +02:00
redhat-renovate-bot
b13b093c35 chore(deps): update dependency kubevirt/kubevirt to v1.8.2
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-04-20 20:39:55 +00:00
Jathavedhan M
04946028b7 fix: respect user-configured strict option in _set_composite_vars
Previously, `_set_composable_vars` hardcoded `strict=True` for the
`_set_composite_vars` call while correctly passing the user-configured
value to `_add_host_to_composed_groups` and `_add_host_to_keyed_groups`.
This meant `strict: false` had no effect on compose expressions.

Pass `strict=strict` consistently to all three calls, matching the
behavior of Ansible's own `constructed` inventory plugin.

Adds a unit test verifying that compose errors are suppressed when
`strict: false` is configured.

Signed-off-by: Jathavedhan M <jathavedhan.m@ibm.com>
Assisted-by: Claude <noreply@anthropic.com>
2026-04-16 20:22:49 +05:30
kubevirt-bot
39577406c5 Merge pull request #233 from kubevirt/renovate/major-github-actions
chore(deps): update softprops/action-gh-release action to v3
2026-04-13 15:51:15 +02:00
redhat-renovate-bot
89381ebb82 chore(deps): update softprops/action-gh-release action to v3
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-04-13 13:39:52 +00:00
kubevirt-bot
91e1a8fcc2 Merge pull request #234 from 0xFelix/ignore-2.22
chore(tests): Add ignore-2.22.txt
2026-04-13 14:23:14 +02:00
Felix Matouschek
0c92a30d22 chore(tests): Add ignore-2.22.txt
Add ignore for ansible-core version 2.22.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-04-13 14:13:10 +02:00
kubevirt-bot
9df322e4e1 Merge pull request #232 from kubevirt/renovate/major-github-actions
chore(deps): update actions/github-script action to v9
2026-04-10 11:21:12 +02:00
redhat-renovate-bot
bfe45fa8ac chore(deps): update actions/github-script action to v9
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-04-10 00:44:51 +00:00
kubevirt-bot
b3c5b65d2a Merge pull request #231 from kubevirt/renovate/e2e-setup-versions
chore(deps): update e2e-setup versions
2026-04-01 10:34:31 +02:00
redhat-renovate-bot
cdfdeb828e chore(deps): update e2e-setup versions
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-03-31 21:37:07 +00:00
kubevirt-bot
00e0db3d3e Update changelog for release 2.2.4
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
2.2.4
2026-03-24 09:43:36 +00:00
kubevirt-bot
e7b80f8230 Merge pull request #230 from 0xFelix/224
chore: Bump version to 2.2.4
2026-03-24 10:32:46 +01:00
Felix Matouschek
89dfdefd1a chore: Bump version to 2.2.4
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-03-24 10:21:40 +01:00
kubevirt-bot
a2835b3537 Merge pull request #229 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/kubevirt to v1.7.2
2026-03-17 14:07:22 +00:00
redhat-renovate-bot
ea5f047c25 chore(deps): update dependency kubevirt/kubevirt to v1.7.2
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-03-17 03:37:28 +00:00
kubevirt-bot
0b4190c73a Merge pull request #228 from kubevirt/renovate/github-actions
chore(deps): update helm/kind-action action to v1.14.0
2026-02-18 08:23:23 +00:00
redhat-renovate-bot
a8b8af0728 chore(deps): update helm/kind-action action to v1.14.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-02-17 17:35:49 +00:00
kubevirt-bot
1fa333b514 Merge pull request #227 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubectl to v1.35.1
2026-02-11 08:49:06 +00:00
redhat-renovate-bot
dc165719b7 chore(deps): update dependency kubectl to v1.35.1
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-02-11 06:38:00 +00:00
kubevirt-bot
cef48bde8e Merge pull request #224 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.101.2
2026-02-10 11:57:05 +00:00
redhat-renovate-bot
e18ee4873e chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.101.2
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-02-10 10:41:46 +00:00
kubevirt-bot
fab631e339 Merge pull request #226 from 0xFelix/fix-format
chore(formatting): Run make format
2026-01-19 11:32:15 +00:00
Felix Matouschek
effb8140b6 chore(formatting): Run make format
Black changed it's mind about whitespace in some files.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-01-19 12:08:43 +01:00
kubevirt-bot
08f6dbf938 Merge pull request #225 from 0xFelix/drop-parseable
ci: Fix ansible-lint config
2026-01-13 08:57:21 +00:00
Felix Matouschek
d4e3ee14b3 ci: Fix ansible-lint config
Drop the parseable option which is not supported anymore.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-01-12 16:42:43 +01:00
kubevirt-bot
f490400087 Merge pull request #223 from kubevirt/renovate/e2e-setup-versions
chore(deps): update e2e-setup versions
2026-01-05 09:53:45 +00:00
redhat-renovate-bot
1871c7737e chore(deps): update e2e-setup versions
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-12-22 22:18:32 +00:00
kubevirt-bot
22b9172d4c Merge pull request #222 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/kubevirt to v1.7.0
2025-12-16 09:32:41 +00:00