Commit Graph

42 Commits

Author SHA1 Message Date
redhat-renovate-bot
965a6aae90 chore(deps): update dependency kubernetes-sigs/kind to v0.25.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2024-11-08 21:10:41 +00: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
redhat-renovate-bot
4751dd31cf chore(deps): update softprops/action-gh-release action to v2
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2024-08-28 16:25:04 +00:00
kubevirt-bot
bcbef406e1 Merge pull request #135 from kubevirt/renovate/github-actions
chore(deps): update helm/kind-action action to v1.10.0
2024-08-28 17:38:56 +02:00
redhat-renovate-bot
58a0b72aeb chore(deps): update helm/kind-action action to v1.10.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2024-08-28 15:22:07 +00:00
redhat-renovate-bot
a1d8e4154c chore(deps): update e2e-setup versions
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2024-08-28 15:22:00 +00: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
52d4b4c731 cleanup: Sync kind version in integration yaml
Use kind v0.23.0 in integration.yml and hack/e2e-setup.sh.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-06-27 16:01:38 +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
14e9481e19 chore(integration.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:38:42 +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
9e2fc74ccb ci: Fix non failing integration tests
Remove { } from runme.sh files to avoid failures being masked.
Re-add install of ansible.posix to have the
ansible.posix.profile_task callback available.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-01 14:50:33 +01:00
Felix Matouschek
92aeaa7215 cleanup: Use default shell when deploying KubeVirt
The default shell (bash -e {0}) should suffice to deploy KubeVirt.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 17:13:42 +01:00
Felix Matouschek
6075886c4a fix: Fix release workflow failing because of non-zero exit
Fix the failing release workflow by adding a call to true after grepping
for the hopefully nonexistent release tag.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 17:13:03 +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
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
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
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
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
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
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
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
Felix Matouschek
c42749e9d1 fix: Use kubevirt-bot in release workflow
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 10:14:01 +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
9c90dfc105 remove use of unnecessary pat in release wf
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-07 14:07:48 +02:00
Guido Grazioli
0be08edb3b update github issue template
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-07 14:07:48 +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
95cea233c9 Add GitHub PR and Issue templates
Add the GitHub PR and Issue templates used by the KubeVirt org.

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