update test.yml
make sure git is installed in the VM before extracting the source
This commit is contained in:
parent
a21276aead
commit
c4782e273c
@ -1,33 +1,14 @@
|
|||||||
---
|
---
|
||||||
# Run parted's tests by rebuilding the rpm and running the %check section
|
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
vars:
|
|
||||||
package: parted
|
|
||||||
tenv_workdir: "/tmp/workdir"
|
|
||||||
tags:
|
tags:
|
||||||
- classic
|
- classic
|
||||||
tasks:
|
|
||||||
- name: Copy the spec file over to the workdir
|
|
||||||
copy:
|
|
||||||
src: "{{ playbook_dir }}/../{{ package }}.spec"
|
|
||||||
dest: "{{ tenv_workdir }}/"
|
|
||||||
|
|
||||||
- hosts: localhost
|
|
||||||
vars:
|
|
||||||
tenv_workdir: "/tmp/workdir"
|
|
||||||
roles:
|
roles:
|
||||||
- role: standard-test-source
|
- role: standard-test-source
|
||||||
tags:
|
required_packages:
|
||||||
- always
|
- dnf
|
||||||
|
- rpm-build
|
||||||
- role: standard-test-basic
|
- git
|
||||||
tags:
|
- role: standard-test-basic
|
||||||
- classic
|
tests:
|
||||||
|
- simple:
|
||||||
required_packages:
|
run: "./run_tests.sh {{ tenv_workdir }}"
|
||||||
- dnf
|
|
||||||
- rpm-build
|
|
||||||
|
|
||||||
tests:
|
|
||||||
- simple:
|
|
||||||
run: "./run_tests.sh {{ tenv_workdir }}"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user