mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-30 08:56:26 +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 }}'
|