Browse Source

Merge "Add testing for custom callback feature"

changes/66/782666/2
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
b27a31532d
2 changed files with 13 additions and 2 deletions
  1. +7
    -2
      roles/validations/tasks/run.yaml
  2. +6
    -0
      roles/validations/vars/main.yaml

+ 7
- 2
roles/validations/tasks/run.yaml View File

@ -2,8 +2,13 @@
- name: Run validations
register: run_validation
shell:
cmd: "{{ validation_command }} run --validation {{ name.key }} {{ validation_dir }} {{ ansible_dir }} \
--inventory {{ inventory }} --output-log validation_{{ name.key }}.log {{ name.value.extra_args }}"
cmd: >-
{{ validation_command }} run --validation {{ name.key }}
{{ validation_dir }} {{ ansible_dir }}
--inventory {{ inventory }}
--output-log validation_{{ name.key }}.log
{{ name.value.extra_args }}
{{ name.value.extra_env_args }}
executable: /bin/bash
- name: Get Run results


+ 6
- 0
roles/validations/vars/main.yaml View File

@ -3,19 +3,25 @@ validations_list:
compute:
- nova-status:
extra_args: ""
extra_env_args: ""
network:
- undercloud-neutron-sanity-check:
extra_args: ""
extra_env_args: ""
validation:
- check-cpu:
extra_args: "--extra-vars minimal_cpu_count=2"
extra_env_args: "--extra-env-vars ANSIBLE_STDOUT_CALLBACK=default"
- 512e:
extra_args: ""
extra_env_args: ""
- check-ram:
extra_args: "--extra-vars minimal_ram_gb=2"
extra_env_args: "--extra-env-vars ANSIBLE_STDOUT_CALLBACK=default"
tripleo:
- undercloud-process-count:
extra_args: ""
extra_env_args: ""
validations_group:
compute:
- compute


Loading…
Cancel
Save