Commit Graph

128 Commits

Author SHA1 Message Date
Felix Matouschek
2a6255233e docs: Update inventory matches on string
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-11 15:14:12 +01:00
Felix Matouschek
9bc46c4017 docs: Update links to KubeVirt API reference
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-11 15:07:22 +01:00
kubevirt-bot
e56ec630e0 Merge pull request #57 from 0xFelix/vendor-doc-fragments
chore: Vendor kubernetes.core doc_fragments
2024-03-11 14:43:15 +01:00
Felix Matouschek
660c75eae3 chore: Vendor kubernetes.core doc_fragments
Vendor the kubernetes.core doc_fragments used by this collection because
it is not possible to refer to doc_fragments of dependency collections.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-11 13:41:01 +01:00
kubevirt-bot
3c1f6295bc Merge pull request #56 from 0xFelix/remove-inventory
cleanup: Remove unneeded inventory file
2024-03-11 13:39:15 +01:00
Felix Matouschek
926989e7ef cleanup: Remove unneeded inventory file
Remove unneeded tests/integration/inventory file, which likely got added
by accident.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-11 13:13:43 +01:00
kubevirt-bot
5272dc183f Merge pull request #55 from 0xFelix/update-build-ignores
galaxy.yaml: Update build_ignore
2024-03-11 13:13:16 +01:00
Felix Matouschek
a9fdfe49b7 galaxy.yaml: Update build_ignore
Ignore additional files we do not want to be part of the released
collection. Also ignore build artifacts in .gitignore.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-11 11:25:58 +01:00
kubevirt-bot
0ab47ad278 Merge pull request #54 from 0xFelix/update-readme-2
chore: Update README.md
2024-03-05 15:59:02 +01:00
Felix Matouschek
8c338c525a chore: Update README.md
Update README.md to include kubernetes.core collection version and
simplify install command.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-05 15:02:30 +01:00
kubevirt-bot
89dd0112fd Merge pull request #53 from 0xFelix/yamllint-update
fix: Ignore generated files in yamllint
2024-03-05 14:52:57 +01:00
Felix Matouschek
57af633431 fix: Ignore generated files in yamllint
Ignore errors found by yamllint in generated files.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-05 14:39:30 +01:00
kubevirt-bot
d1047a2ed9 Update changelog for release 1.2.1
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
1.2.1
2024-03-04 15:38:53 +00:00
kubevirt-bot
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-bot
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-bot
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-bot
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-bot
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-bot
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-bot
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-bot
29516d3bfd Merge pull request #45 from 0xFelix/misc-cleanups
Misc cleanups
2024-02-29 15:58:57 +01:00
kubevirt-bot
c9a7b6a818 Merge pull request #43 from 0xFelix/update-requirements
cleanup: Update requirements throughout the project
2024-02-29 15:56:57 +01:00
kubevirt-bot
dc8d38433b Merge pull request #42 from 0xFelix/update-readme
chore: Update README.md
2024-02-29 15:54:57 +01:00
kubevirt-bot
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-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