503 Commits

Author SHA1 Message Date
kubevirt-bot
2666c683c1 Merge pull request #183 from 0xFelix/wait-cdi
fix(e2e-setup.sh): Wait for CDI to be available
2025-05-09 10:43:55 +02:00
Felix Matouschek
6570b7fc7e fix(e2e-setup.sh): Wait for CDI to be available
Wait for CDI to be available after deploying it.

Also add the missing --deploy-kubevirt-cdi flag to the usage help.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-05-09 10:20:58 +02:00
redhat-renovate-bot
82f1331957 chore(deps): update dependency kubevirt/kubevirt to v1.5.1
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-05-06 09:17:57 +00:00
kubevirt-bot
9ac287f57e Update changelog for release 2.2.0
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
2.2.0
2025-04-30 14:33:35 +00:00
kubevirt-bot
7acb5d155f Merge pull request #181 from 0xFelix/bump-ver-2.2.0
chore: Bump version to 2.2.0
2025-04-30 16:28:29 +02:00
Felix Matouschek
8c31d4f5ab chore: Bump version to 2.2.0
Bump version to 2.2.0 and add a changelog entry for it.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-30 16:16:04 +02:00
kubevirt-bot
9c1ab01ba4 Merge pull request #180 from 0xFelix/running-run-strategy
fix(kubevirt_vm): Allow switching between running and run_strategy
2025-04-29 12:02:27 +02:00
kubevirt-bot
8596655ac6 Merge pull request #178 from 0xFelix/hidden_fields
feat(modules): Add hidden_fields argument
2025-04-29 11:52:25 +02:00
kubevirt-bot
a21aca13d3 Merge pull request #179 from 0xFelix/projects
feat(inventory): Use OCP projects if available
2025-04-29 11:10:26 +02:00
Felix Matouschek
aeb98d241c fix(kubevirt_vm): Allow switching between running and run_strategy
Allow switching between running and run_strategy by always clearing the
other value. E.g. if run_strategy was provided then running set to None
to clear it or vice versa.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 17:21:52 +02:00
Felix Matouschek
4a8b4ead2f feat(inventory): Use OCP projects if available
If no namespaces were specified in the inventory config try to get all
available namespaces by trying to list OCP projects first. If the resource
was not found (no OCP cluster) fall back to regular namespaces.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 15:45:38 +02:00
Felix Matouschek
117694ab1e fix(changed): Fix change detection temporarily
Fix the change detection of kubernetes.core temporarily by monkey
patching the service.diff_objects function. This fix should be removed
once it was merged into kubernetes.core. A dummy _patch_diff_objects
function is introduced to satisfy ansible linters.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 15:06:22 +02:00
Felix Matouschek
a9d7fa22aa feat(modules): Add hidden_fields argument
Add the hidden_fields argument to kubevirt_vm and kubevirt_{vm,vmi}_info
which allows to hide and ignore certain fields in the returned definition
of a VM or VMI. By default this argument is set to ignore changes to the
kubemacpool.io/transaction-timestamp annotation and managed fields, which
may change at any time and cause the modules to return a changed status
although nothing has changed other than their values.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 14:39:42 +02:00
Felix Matouschek
fe822b3352 chore(deps): Bump kubernetes.core to >= 5.2.0
In order to make use of new features in kubernetes.core bump its minimum
version to 5.2.0.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 10:26:53 +02:00
kubevirt-bot
0b542ddced Merge pull request #176 from 0xFelix/bump-versions
chore: Bump supported python and ansible-core versions
2025-04-25 15:43:05 +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
kubevirt-bot
ae26f59549 Merge pull request #174 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubectl to v1.33.0
2025-04-24 08:55:02 +02:00
redhat-renovate-bot
0b6b0af972 chore(deps): update dependency kubectl to v1.33.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-04-23 18:18:27 +00:00
kubevirt-bot
a11da1424b Merge pull request #175 from 0xFelix/2.19-compat
fix: Ensure compatibility with ansible-core >= 2.19
2025-04-23 15:31:13 +02:00
Felix Matouschek
93473cdd47 fix: Ensure compatibility with ansible-core >= 2.19
ansible-core 2.19 changes the way templates are trusted and provides a
new way of patching module args in unit tests.

With this commit the following changes are made to ensure compatibility
with ansible-core >= 2.19:

- Mark inputs to composable as trusted to align with the new template
  trust model.
- Utilize the updated method for patching module arguments in unit tests
  if available.
- Replace direct access to the self._cache attribute with the inventory's
  cache property.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-23 11:25:51 +02:00
kubevirt-bot
41ee9470bd Merge pull request #173 from 0xFelix/unset-ansible-port
feat(inventory): Add unset_ansible_port option
2025-04-11 09:44:06 +02:00
Felix Matouschek
da8e04243b feat(inventory): Add unset_ansible_port option
This adds the unset_ansible_port option to the inventory, which allows to
control if the value of ansible_port should be unset if no non-default
value was found.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-08 16:38:50 +02:00
kubevirt-bot
a1fde268a1 Merge pull request #171 from 0xFelix/winrm-service
feat(inventory): Lookup winrm services for Windows hosts
2025-04-03 19:18:34 +02:00
kubevirt-bot
9ccfb729bc Merge pull request #170 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.98.2
2025-04-03 15:34:30 +02:00
Felix Matouschek
17ddb44b8a feat(inventory): Lookup winrm services for Windows hosts
This feature adds looking up winrm services and tries to populate the
ansible_host and ansible_port variables with the values from a
found service for the host. It looks up both winrm HTTP and HTTPS
services and prefers HTTPS if it found both for a given host.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-03 15:24:34 +02:00
redhat-renovate-bot
a744c16203 chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.98.2
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-04-03 12:17:50 +00:00
kubevirt-bot
3ff87c8435 Merge pull request #169 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/containerized-data-importer to v1.62.0
2025-04-02 13:48:30 +02:00
redhat-renovate-bot
c373f3a208 chore(deps): update dependency kubevirt/containerized-data-importer to v1.62.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-04-02 08:17:51 +00:00
kubevirt-bot
e7adb623c3 Merge pull request #168 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/containerized-data-importer to v1.61.5
2025-04-01 11:02:30 +02:00
redhat-renovate-bot
314cac1e94 chore(deps): update dependency kubevirt/containerized-data-importer to v1.61.5
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-03-30 14:16:52 +00:00
kubevirt-bot
1128e200af Merge pull request #165 from kubevirt/renovate/e2e-setup-versions
chore(deps): update e2e-setup versions
2025-03-14 09:38:05 +01:00
redhat-renovate-bot
5c296620ec chore(deps): update e2e-setup versions
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-03-13 22:16:16 +00:00
kubevirt-bot
c390672cc4 Merge pull request #164 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubectl to v1.32.3
2025-03-12 09:14:03 +01:00
redhat-renovate-bot
4d7a49aa02 chore(deps): update dependency kubectl to v1.32.3
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-03-12 04:17:47 +00:00
kubevirt-bot
bfc0d78b97 Merge pull request #163 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubernetes-sigs/kind to v0.27.0
2025-02-17 11:09:23 +01:00
redhat-renovate-bot
20ed97a081 chore(deps): update dependency kubernetes-sigs/kind to v0.27.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-02-15 01:16:00 +00:00
kubevirt-bot
1191288191 Merge pull request #162 from kubevirt/renovate/e2e-setup-versions
chore(deps): update e2e-setup versions
2025-02-13 11:02:47 +01:00
redhat-renovate-bot
5235a056db chore(deps): update e2e-setup versions
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-02-13 09:16:02 +00:00
kubevirt-bot
f20372d598 Merge pull request #161 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/containerized-data-importer to v1.61.1
2025-01-30 16:17:07 +01:00
redhat-renovate-bot
2c56cc44a3 chore(deps): update dependency kubevirt/containerized-data-importer to v1.61.1
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-01-28 12:14:43 +00:00
kubevirt-bot
cd5ffd253f Merge pull request #160 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.98.0
2025-01-17 12:32:48 +01:00
redhat-renovate-bot
fa603987ce chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.98.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-01-16 15:19:45 +00:00
kubevirt-bot
da8bbfb225 Merge pull request #159 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubectl to v1.32.1
2025-01-16 08:36:46 +01:00
redhat-renovate-bot
d9d1d9cc13 chore(deps): update dependency kubectl to v1.32.1
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-01-15 21:16:14 +00:00
kubevirt-bot
06566621ca Merge pull request #158 from 0xFelix/ansible-lint-exclude
fix(ci): Exclude ansible-compat's new cache location
2025-01-15 14:42:46 +01: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
kubevirt-bot
a64d543575 Merge pull request #157 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.97.0
2025-01-07 14:42:32 +01:00
kubevirt-bot
44a192d384 Merge pull request #156 from kubevirt/renovate/github-actions
chore(deps): update helm/kind-action action to v1.12.0
2025-01-07 14:16:28 +01:00
redhat-renovate-bot
53e905e155 chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.97.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2024-12-23 13:13:38 +00:00
redhat-renovate-bot
8f49bbef63 chore(deps): update helm/kind-action action to v1.12.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2024-12-23 09:13:48 +00:00