Commit Graph
115 Commits
Author SHA1 Message Date
kubevirt-botandGitHub 6850a1176d Merge pull request #52 from 0xFelix/bump-version-2
chore: Bump version to 1.2.1
2024-03-04 16:36:53 +01:00
Felix Matouschek 4c8260d6de chore: Bump version to 1.2.1
Bump version to 1.2.1 and include a change summary.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-04 16:26:25 +01:00
kubevirt-botandGitHub 3e1d6dcb57 Merge pull request #51 from 0xFelix/bump-k8s-core
chore: Bump dependency on kubernetes.core
2024-03-04 16:24:53 +01:00
Felix Matouschek 48734484f9 chore: Bump dependency on kubernetes.core
Bump the dependency on kubernetes.core to versions >=3.0.1 and remove
the workaround introduced by 4429ac8c03.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-04 16:01:26 +01:00
kubevirt-bot f1c1d4825a Update changelog for release 1.2.0
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
2024-03-04 14:34:44 +00:00
kubevirt-botandGitHub 7717aad0b9 Merge pull request #50 from 0xFelix/drop-all-green
ci: Drop all green job
2024-03-04 15:22:52 +01: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
kubevirt-botandGitHub c0e30db528 Merge pull request #49 from 0xFelix/cleanup-tests
ci: Cleanup integration tests
2024-03-04 14:38:52 +01:00
Felix Matouschek 62007c326a ci: Cleanup kubevirt_vm_info integration test
- Use uniform way of naming plays, tasks and VMs
- Use defaults where possible

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-04 14:02:08 +01:00
Felix Matouschek ed642885ab ci: Cleanup kubevirt_vm integration test
- Use uniform way of naming plays, tasks and VMs
- Use uniform way of ordering task parameters
- Use defaults where possible
- Use CentOS 9 Stream instancetype and preference
- Generate SSH private key with empty password (-N "")
- Disable strict host key checking
- Add .gitignore for test files
- Fix skipping test key creation if already existent

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-04 14:02:08 +01:00
Felix Matouschek b928cb5b29 ci: Cleanup inventory_kubevirt integration test
- Use uniform way of naming plays, tasks and VMs
- Use uniform way of ordering task parameters
- Use defaults where possible
- Use CentOS Stream 9 as VM OS
- Drop unneeded environment variables
- Use FQCN of Ansible modules
- Add missing test for empty inventory
- Add .gitignore for test files

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-04 14:02:03 +01:00
kubevirt-botandGitHub bed5e3628f Merge pull request #48 from 0xFelix/fix-rc
Cleanup GitHub Action oddities
2024-03-04 10:36:50 +01:00
Felix Matouschek 5e2f152c7d ci: Fix failing integration tests
The default name of the default user in centos.stream9 is cloud-user.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-01 16:01:51 +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
kubevirt-botandGitHub e454272e53 Merge pull request #47 from 0xFelix/bump-version
chore: Bump collection version to 1.2.0
2024-02-29 16:58:58 +01:00
Felix Matouschek 9797021880 chore: Bump collection version to 1.2.0
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 16:44:07 +01:00
kubevirt-botandGitHub 52cb5e94d8 Merge pull request #46 from 0xFelix/add-shellcheck
ci: Run shellcheck in CI linter job
2024-02-29 16:10:57 +01:00
kubevirt-botandGitHub 29516d3bfd Merge pull request #45 from 0xFelix/misc-cleanups
Misc cleanups
2024-02-29 15:58:57 +01:00
kubevirt-botandGitHub c9a7b6a818 Merge pull request #43 from 0xFelix/update-requirements
cleanup: Update requirements throughout the project
2024-02-29 15:56:57 +01:00
kubevirt-botandGitHub dc8d38433b Merge pull request #42 from 0xFelix/update-readme
chore: Update README.md
2024-02-29 15:54:57 +01:00
kubevirt-botandGitHub 735cddbe15 Merge pull request #41 from 0xFelix/cleanup-to-dict
cleanup: Remove __resource_field_to_dict workaround from inventory
2024-02-29 15:52:57 +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
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
Felix Matouschek 44e1c0a719 cleanup: Update requirements throughout the project
Update the requirements throughout the project to be in sync and to
reflect the current state of dependencies.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 14:03:19 +01:00
Felix Matouschek e0cde14f30 cleanup: Remove __resource_field_to_dict workaround from inventory
Since the minimum required version of the kubernetes python client was
updated to a version not requiring this workaround anymore, the
workaround is replaced with the to_dict() method found in the new
client.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 13:56:33 +01:00
Felix Matouschek 65f7c27487 chore: Update README.md
Update README.md to include all modules of the collection and keep
module descriptions in sync.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 13:32:37 +01:00
kubevirt-botandGitHub 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-botandGitHub 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-botandGitHub 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-botandGitHub 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-botandGitHub 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-botandGitHub 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-botandGitHub 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