Skip to content

Commit

Permalink
test_run_cukinia.yaml: allow to run on VM
Browse files Browse the repository at this point in the history
Signed-off-by: Erwann Roussy <erwann.roussy@savoirfairelinux.com>
  • Loading branch information
eroussy committed Aug 10, 2023
1 parent c19d844 commit 70d2aed
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions playbooks/test_run_cukinia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
# CSV.

---
- hosts: cluster_machines
- hosts:
- cluster_machines
- standalone_machine
- VMs
name: Cukinia tests
become: true
vars:
tests_format: junitxml
tests_result_name: "cukinia_{{ inventory_hostname }}.xml"
cluster_tests_result_name: "cukinia_cluster_{{ inventory_hostname }}.xml"
cukinia_test_prefix: ".."
tasks:
- name: Create temporary Cukinia directory
Expand All @@ -29,6 +31,16 @@
src: "{{ tmp_cukinia_dir.path }}/{{ tests_result_name }}"
dest: "{{ cukinia_test_prefix }}/{{ tests_result_name }}"
flat: yes

- hosts:
- cluster_machines
name: Cukinia tests
become: true
vars:
tests_format: junitxml
cluster_tests_result_name: "cukinia_cluster_{{ inventory_hostname }}.xml"
cukinia_test_prefix: ".."
tasks:
- name: Run tests cluster test
shell:
cmd: >-
Expand Down

0 comments on commit 70d2aed

Please sign in to comment.