Revert "Disable voting of broken job"

This reverts commit 9733aaaf2b.

Reason for revert: Test code must run an pass.

Change-Id: I8da10ef160e21fcc3ae18d07e63d91b8b840a688
This commit is contained in:
Sorin Sbârnea 2021-01-22 14:03:07 +00:00 committed by Sorin Sbarnea
parent 503fa8250f
commit 0548c38671
2 changed files with 11 additions and 9 deletions

View File

@ -178,12 +178,15 @@
state: absent
ignore_errors: true
- name: Extract the logs and remove tar file
shell: |
tar xf {{ inventory_hostname }}.tar
rm -f {{ inventory_hostname }}.tar
args:
chdir: "{{ artcl_collect_dir }}"
warn: false
- name: Extract the logs archive
unarchive:
src: "{{ artcl_collect_dir }}/{{ inventory_hostname }}.tar"
dest: "{{ artcl_collect_dir }}"
remote_src: true
delegate_to: localhost
- name: Remove logs archive
file:
path: "{{ artcl_collect_dir }}/{{ inventory_hostname }}.tar"
state: absent
delegate_to: localhost
changed_when: true

View File

@ -4,7 +4,6 @@
description: Validate that zuul can use that role.
parent: base
run: test-playbooks/zuul-ansible-role-collect-logs.yaml
voting: false
roles:
- zuul: opendev.org/openstack/ansible-role-collect-logs
name: collect-logs