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 <flo@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2024-07-05 15:11:09 +02:00
parent ab3d35e4de
commit de4e5195fc
2 changed files with 4 additions and 16 deletions

View File

@ -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

View File

@ -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