Merge "CI: always return host configure test results"

This commit is contained in:
Zuul 2021-11-19 11:33:19 +00:00 committed by Gerrit Code Review
commit 52d7523c0c
1 changed files with 10 additions and 10 deletions

View File

@ -16,6 +16,16 @@
cmd: "{{ kayobe_src_dir }}/dev/overcloud-deploy.sh &> {{ logs_dir }}/ansible/overcloud-deploy"
executable: /bin/bash
- name: Return artifact to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: "Unit Test Report"
url: "{{ inventory_hostname }}/test-results.html"
metadata:
type: unit_test_report
- name: Run testinfra tests
command: "{{ testinfra_venv }}/bin/py.test {{ test_path }} --html={{ logs_dir }}/test-results.html --self-contained-html"
environment:
@ -30,13 +40,3 @@
decrypt
--vault-password-file {{ kayobe_venv }}/bin/kayobe-vault-password-helper
{{ kayobe_config_src_dir }}/etc/kayobe/kolla/passwords.yml
- name: Return artifact to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: "Unit Test Report"
url: "{{ inventory_hostname }}/test-results.html"
metadata:
type: unit_test_report