mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-30 03:14:34 +00:00
kubevirt_vm: Run integration test in random namespace
Run the integration tests for kubevirt_vm in a random namespace and cleanup after the tests finish. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
16
tests/integration/targets/kubevirt_vm/generate.yml
Normal file
16
tests/integration/targets/kubevirt_vm/generate.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: Generate test files
|
||||
connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- name: Generate test files
|
||||
ansible.builtin.template:
|
||||
src: "{{ item }}.yml.j2"
|
||||
dest: "{{ item }}.yml"
|
||||
mode: "0644"
|
||||
with_items:
|
||||
- playbook
|
||||
- test.kubevirt
|
||||
- verify
|
||||
- wait_for_vm
|
||||
Reference in New Issue
Block a user