From 7e86df8e3155fdb013f398d4acb578591668ad88 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Feb 26 2020 09:23:46 +0000 Subject: run-tests-yml: dumps a list of installed packages to artifacts dir --- diff --git a/roles/run-tests-yml/tasks/main.yaml b/roles/run-tests-yml/tasks/main.yaml index 872f40c..77f99aa 100644 --- a/roles/run-tests-yml/tasks/main.yaml +++ b/roles/run-tests-yml/tasks/main.yaml @@ -26,6 +26,11 @@ chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}" become: yes +- name: Dump installed packages list + shell: > + dnf list --installed > + {{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tests/artifacts/installed-packages.list + - name: Check a STI results.yml file exists in the artifacts stat: path: '{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tests/artifacts/results.yml'