Commit Graph

88 Commits

Author SHA1 Message Date
Felix Matouschek
57e953d347 fix: Use correct KubeVirt project name
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 14:13:25 +01:00
Felix Matouschek
55fb9b94b5 chore: Bump docs copyright year
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 14:13:20 +01:00
Felix Matouschek
69f7699c08 chore: Remove unneeded sanity test ignore files
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 14:06:31 +01:00
Felix Matouschek
49638c31b5 chore: Run black formatter on project files
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 14:06:16 +01:00
kubevirt-bot
4429ac8c03 Merge pull request #39 from 0xFelix/bump-version-e2e
Bump e2e-setup.sh version and ensure compatibility with KubeVirt >=1.1.0
2024-02-29 13:08:57 +01:00
kubevirt-bot
cebd4cf6ec Merge pull request #40 from 0xFelix/yamllint
ci: Add yamllint to CI linter job
2024-02-29 13:06:57 +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
kubevirt-bot
3e310dc1ba Merge pull request #38 from 0xFelix/cleanup-actions
.github: Cleanup actions
2024-02-29 11:40:57 +01:00
Felix Matouschek
44fce1cc31 fix: Ensure compatibility with KubeVirt >=1.1.0
Ensure compatibility with KubeVirt >=1.1.0 by monkey patching
kubernetes.core to handle apis of the format a/b/c and requiring
kubernetes>=28.1.0.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 11:21:17 +01:00
Felix Matouschek
fa9183c21a hack: Bump e2e-setup.sh version
Bump the software versions defined in hack/e2e-setup.sh to the latest
ones and sync version installed of kind in github integration tests
with e2e-setup.sh. Update the CentOS 9 Stream preference name used in
the tests to the new name in common-instancetypes v0.4.0.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 09:47:50 +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
kubevirt-bot
ebe6f830e7 Merge pull request #37 from 0xFelix/python-versions
.github: Update tested Ansible and Python versions
2024-02-28 09:50:55 +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
kubevirt-bot
9ad43a9677 Merge pull request #36 from 0xFelix/update-actions
.github: Bump versions of all used actions
2024-02-27 16:54:55 +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
kubevirt-bot
3dda5fbce6 Merge pull request #35 from 0xFelix/cleanups
Cleanup the collection
2024-02-26 17:26:54 +01:00
Felix Matouschek
74f4a48ac1 Pin python version
Pin the supported python version in tests/config.yaml and mention it in
README.md.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-26 17:04:19 +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
Felix Matouschek
6ee5a9c7c9 ansible-lint: Groom the .ansible-lint file
- Enable production profile
- Remove excludes no longer necessary
- Try to not skip any tests

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-26 16:31:56 +01:00
kubevirt-bot
638ba40818 Merge pull request #32 from guidograzioli/minimum_ansible_ver
Set minimum ansible-core>=14
2023-11-29 10:27:13 +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
0586d91943 integration tests: drop EOL versions
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-11-14 12:03:06 +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
Guido Grazioli
91e2a27987 update minimum ansible-core to 2.14+
linter

Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-11-14 11:42:08 +01:00
kubevirt-bot
6a7192ff7f Merge pull request #29 from guidograzioli/linter_ignores_changelog
Add changelog to lint ignores
2023-09-21 11:46:23 +02:00
Guido Grazioli
63b774520e add changelog to lint ignores
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-09-21 11:25:58 +02:00
Felix Matouschek
f313d73864 Merge pull request #28 from 0xFelix/bump-1.1.0
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 10:48:45 +02:00
Felix Matouschek
6d209f5597 changelog.yaml: Fix indentation for linter
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 10:47:01 +02:00
Felix Matouschek
1a824ed0be Merge pull request #27 from 0xFelix/bump-1.1.0
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 10:11:34 +02:00
Felix Matouschek
b6e0acc6a8 Drop old changelog fragments
They were consumed in the 1.1.0 release.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 10:10:25 +02:00
kubevirt-bot
0d2b67aad5 Update changelog for release 1.1.0
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
1.1.0
2023-09-21 06:44:16 +00:00
Felix Matouschek
dcb3de0275 Merge pull request #26 from 0xFelix/bump-1.1.0
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 08:11:46 +02:00
Felix Matouschek
1f1adace47 Bump version to 1.1.0
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 08:10:19 +02:00
kubevirt-bot
d1318db8db Merge pull request #24 from 0xFelix/info_module
kubevirt_vm_info: Add info module for VirtualMachines
2023-09-07 15:57:28 +02:00
kubevirt-bot
73bf388fd7 Merge pull request #23 from 0xFelix/flatten-groups
Flatten groups and allow to control creation of additional groups
2023-09-07 15:55:29 +02: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
Felix Matouschek
6b360aa377 hack/e2e-setup.sh: Update versions
Update versions:
  - kubectl to v1.28.1
  - CDI to v1.57.0
  - common-instancetypes to v0.3.2
  - CNAO to v0.89.0

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-06 11:32:37 +02:00
Felix Matouschek
e33b479326 inventory: Add create_groups option
This adds the create_groups option to the inventory, which allows to
control the creation of groups from labels on VirtualMachines. By
default it is disabled.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-05 15:56:46 +02:00
Felix Matouschek
100bcee082 inventory: Flatten created groups
Drop creation of the namespace_vmis_group as it is redundant.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-05 15:53:22 +02:00
Felix Matouschek
20a3534f37 Merge pull request #21 from guidograzioli/ansible_galaxy_workaround
Merge this manually to overcome failing CI.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-22 16:55:56 +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
628955dd9d Merge pull request #20 from 0xFelix/drop-note
README.md: Drop note about supported collection for now

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-22 11:38:25 +02:00
Felix Matouschek
05045f64d0 README.md: Drop note about supported collection for now
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-22 10:32:33 +02:00
kubevirt-bot
a0ae90f79e Merge pull request #16 from 0xFelix/update-ci
ci: Exclude py3.9 with Ansible milestone
2023-08-15 10:25:33 +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
kubevirt-bot
0a134f6e01 Merge pull request #15 from guidograzioli/ci_docs_update
use antsibul sphinx ext, ansible pygments
2023-08-10 16:52:35 +02:00
Guido Grazioli
4174dbed0c use antsibul sphinx ext, ansible pygments
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-10 16:37:27 +02:00
kubevirt-bot
d20333e270 Update changelog for release 1.0.0
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
1.0.0
2023-08-09 11:54:04 +00:00
kubevirt-bot
e614ff653b Merge pull request #14 from 0xFelix/bump
Bump version to 1.0.0
2023-08-09 13:46:02 +02:00
Felix Matouschek
6dda795ad2 Bump version to 1.0.0
Bump version to 1.0.0 for the initial release.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 13:31:46 +02:00