Commit Graph
568 Commits
Author SHA1 Message Date
redhat-renovate-bot 8a8a8619a6 chore(deps): update dependency kubevirt/containerized-data-importer to v1.66.1
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-09-06 20:15:36 +00:00
kubevirt-prow[bot]andGitHub 4235ee3a08 Merge pull request #262 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubernetes-sigs/kind to v0.33.0
2026-08-27 07:37:03 +00:00
redhat-renovate-bot 7fce6cb976 chore(deps): update dependency kubernetes-sigs/kind to v0.33.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-08-27 00:16:15 +00:00
kubevirt-prow[bot]andGitHub d5b57efece Merge pull request #261 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.103.0
2026-08-24 13:10:59 +00:00
redhat-renovate-bot eabbf36322 chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.103.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-08-23 16:13:35 +00:00
kubevirt-prow[bot]andGitHub c3550d3817 Merge pull request #260 from 0xFelix/fix-docs-gh-pages-push
fix(ci): build docs from the checkout instead of a copy
2026-08-10 13:12:18 +00:00
Felix Matouschek 92d68fdd38 fix(ci): build docs from the checkout instead of a copy
The docs workflow copied the collection to ~/.ansible/collections and ran
the docs action there. actions/checkout v6 stopped writing the token into
.git/config and now keeps it in a separate file referenced by an
includeIf.gitdir entry scoped to the workspace path (PR actions/checkout#2286).
The copy inherits the includeIf entry but not the matching gitdir, so it
had no credentials and the gh-pages push failed.

Put the workspace on the collections path instead. The checkout already
has the ansible_collections/kubevirt/core layout, so the docs build can
run in it directly, which also means checkout's own credentials apply to
the gh-pages push. This removes the manual credential setup added in
38a2548, a13ef97 and 04ae38b.

Verified on a fork: docs build and gh-pages push both succeed.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-08-10 15:08:58 +02:00
kubevirt-prow[bot]andGitHub 266ae5ae47 Merge pull request #259 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/containerized-data-importer to v1.66.0
2026-08-06 07:30:18 +00:00
redhat-renovate-bot e8ee5513dc chore(deps): update dependency kubevirt/containerized-data-importer to v1.66.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-08-05 20:17:38 +00:00
kubevirt-prow[bot]andGitHub 270787de0c Merge pull request #258 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/kubevirt to v1.9.0
2026-07-31 08:06:19 +00:00
redhat-renovate-bot f67883f37d chore(deps): update dependency kubevirt/kubevirt to v1.9.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-07-30 16:19:15 +00:00
kubevirt-prow[bot]andGitHub 174a914bc4 Merge pull request #257 from kubevirt/renovate/major-github-actions
chore(deps): update github actions to v7
2026-07-20 08:28:32 +00: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
kubevirt-prow[bot]andGitHub c993b77518 Merge pull request #256 from 0xFelix/fix-checkout-v7-credentials
fix(ci): use global git config for http.extraheader
2026-07-14 13:58:35 +00:00
Felix MatouschekandClaude Opus 4.6 04ae38ba96 fix(ci): use global git config for http.extraheader
The docs workflow copies the checkout to a work directory before the
credential setup step runs. The action then operates on the copy, so
--local config on the original checkout is not visible. Switch to
--global so credentials apply to all git operations on the runner.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-14 15:50:33 +02:00
kubevirt-prow[bot]andGitHub e64c604d87 Merge pull request #255 from 0xFelix/fix-checkout-v7-credentials
fix(ci): use http.extraheader for checkout v7 credential compatibility
2026-07-07 13:17:36 +00:00
Felix MatouschekandClaude Opus 4.6 a13ef97372 fix(ci): use http.extraheader instead of credential helper
The credential helper approach fails because GITHUB_TOKEN env var is
not available when git push runs inside collection-docs-action. Switch
to http.extraheader which embeds the auth as a static git config value,
matching the approach checkout v4 used.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-07 10:40:54 +02:00
kubevirt-prow[bot]andGitHub 8397a84d3e Merge pull request #254 from 0xFelix/fix-checkout-v7-credentials
fix(ci): set up git credential helper for checkout v7 compatibility
2026-07-06 12:47:34 +00:00
kubevirt-prow[bot]andGitHub ed7fb73069 Merge pull request #250 from kubevirt/renovate/e2e-setup-versions
chore(deps): update e2e-setup versions to v1.8.4
2026-07-06 12:33:36 +00:00
Felix MatouschekandClaude Opus 4.6 38a2548199 fix(ci): set up git credential helper for checkout v7 compatibility
actions/checkout v7 changed credential persistence from http.extraheader
to includeIf.gitdir-scoped config files. The collection-docs-action does
not pick up the new credential format, breaking git push to gh-pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-06 13:33:30 +02:00
kubevirt-prow[bot]andGitHub 490777f2b8 Merge pull request #253 from 0xFelix/fix-docs-workflow
fix(ci): remove deprecated ansible-basic-sphinx-ext from docs workflow
2026-07-06 10:37:36 +00:00
Felix MatouschekandClaude Opus 4.6 4461c27fe2 fix(ci): remove deprecated ansible-basic-sphinx-ext from docs workflow
The docs workflow fails because ansible_basic_sphinx_ext uses
pkg_resources which was removed in recent setuptools versions.
The package is archived and deprecated - its functionality is
already covered by sphinx_antsibull_ext and ansible-pygments.

Also remove the Python version pin to use the runner default.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-06 12:24:06 +02:00
kubevirt-prow[bot]andGitHub bb17eead76 Merge pull request #252 from 0xFelix/fix-milestone-py312-exclude
fix(ci): exclude Python 3.12 from milestone test matrix
2026-07-03 14:35:33 +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
kubevirt-prow[bot]andGitHub 9780788511 Merge pull request #251 from kubevirt/renovate/major-github-actions
chore(deps): update github actions to v7
2026-06-22 14:15:21 +00: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
redhat-renovate-bot 887081fc59 chore(deps): update e2e-setup versions to v1.8.4
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-06-16 20:13:00 +00:00
kubevirt-bot 7d49efe56c Update changelog for release 2.3.0
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
2.3.0
2026-06-10 14:06:49 +00:00
kubevirt-botandGitHub ada69d0ca0 Merge pull request #249 from geetikakay/doc_fix_formating
docs(developing): document CI enforced checks under contributor guidelines
2026-06-10 15:58:18 +02:00
kubevirt-botandGitHub 8cb7b4e0bd Merge pull request #248 from jcanocan/230
chore: Bump version to 2.3.0
2026-06-10 15:39:01 +02:00
kubevirt-botandGitHub 6f32c0fde6 Merge pull request #247 from geetikakay/add_unit_test
tests(inventory): cover existing ansible_connection and service selection
2026-06-10 15:25:45 +02:00
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
Javier Cano Cano 0bd0dbda77 chore: Bump version to 2.3.0
Signed-off-by: Javier Cano Cano <jcanocan@redhat.com>
2026-06-10 15:09:33 +02:00
Geetika Kapoor ca3010ac1d tests(inventory): cover existing ansible_connection and service selection
- Assert default_win_ansible_connection is not applied when the host already
has ansible_connection.
- Matching Service is used when SSH and WinRM LoadBalancer services co-exist.

Signed-off-by: Geetika Kapoor <gkapoor@redhat.com>
2026-06-10 12:37:42 +01:00
kubevirt-botandGitHub 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-botandGitHub 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 MatouschekandClaude Opus 4.6 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-botandGitHub 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-botandGitHub 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-botandGitHub 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-botandGitHub 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 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
kubevirt-botandGitHub 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-botandGitHub 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