mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-16 11:43:08 +00:00
395ed61a1a
This PR adds a new test that automates the above mentioned test case. It starts the installation in text mode using the `install_text` test case, which it interrupts using the Anaconda crash trigger. When the crash happens, it goes through the process of reporting the bug to Bugzilla, checks that Bugzilla sends a positive confirmation of the action, but also performs some REST API calls to do a proper check and then it closes the bug to clean up.
12 lines
327 B
YAML
12 lines
327 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Install required packages
|
|
package:
|
|
name: ['os-autoinst', 'perl-Test-Strict', 'perl-Test-Harness', 'perl-JSON', 'perl-REST-Client']
|
|
state: present
|
|
become: yes
|
|
- name: Run perl tests
|
|
command: prove t/
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|