From de4e5195fcf320c17194abb6eb8d8ca7309d1a25 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Fri, 5 Jul 2024 15:11:09 +0200 Subject: [PATCH] Fix gating The role standard-test-source needs git to extract the source as the %prep phase of the spec file calls autosetup -S git. Signed-off-by: Florence Blanc-Renaud --- tests/driver/runtest.sh | 2 ++ tests/tests.yml | 18 ++---------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/tests/driver/runtest.sh b/tests/driver/runtest.sh index 89a8fc7..03ceb95 100644 --- a/tests/driver/runtest.sh +++ b/tests/driver/runtest.sh @@ -4,6 +4,8 @@ cd ../source # Generate Makefiles, directory layout, ... +dnf -y --nogpgcheck build-dep ../libverto.spec + autoreconf -fiv ./configure --with-glib --with-libevent --disable-dependency-tracking make -sj diff --git a/tests/tests.yml b/tests/tests.yml index 622a6ec..4f1680e 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -1,25 +1,11 @@ --- -- hosts: localhost - tags: classic - tasks: - - name: Brew a warm one - shell: dnf config-manager --add-repo 'http://download.eng.bos.redhat.com/brewroot/repos/rhel-9.0.0-build/latest/x86_64/' - -- hosts: localhost - tags: classic - tasks: - - name: Copy spec file to remote machine - copy: - src: "{{ playbook_dir }}/../libverto.spec" - dest: /tmp/libverto.spec - - name: Install build deps - shell: dnf -y --nogpgcheck build-dep /tmp/libverto.spec - - hosts: localhost roles: - role: standard-test-source tags: - always + required_packages: + - git - role: standard-test-basic tags: - atomic