Fedora CI: Run rpmbuild --with internet
This commit is contained in:
parent
9533571c2c
commit
e20f7b254b
1 changed files with 12 additions and 2 deletions
|
|
@ -8,16 +8,25 @@
|
|||
state: latest
|
||||
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
pre_tasks:
|
||||
- import_role:
|
||||
name: standard-test-source
|
||||
vars:
|
||||
fetch_only: True
|
||||
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
repositories:
|
||||
- repo: "https://src.fedoraproject.org/tests/python.git"
|
||||
dest: "python"
|
||||
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
||||
dest: "pyproject-rpm-macros"
|
||||
tests:
|
||||
- rpmbuild:
|
||||
dir: .
|
||||
run: "dnf -y build-dep --define '_with_internet 1' {{ tenv_workdir }}/python-tox.spec && rpmbuild --define '_sourcedir {{ tenv_workdir }}' --with internet -ba {{ tenv_workdir }}/python-tox.spec"
|
||||
- smoke27:
|
||||
dir: python/smoke
|
||||
run: VERSION=2.7 METHOD=virtualenv ./venv.sh
|
||||
|
|
@ -61,6 +70,7 @@
|
|||
- python2-devel
|
||||
- python3-devel
|
||||
- python3-tox
|
||||
- dnf
|
||||
- mock
|
||||
- rpmdevtools
|
||||
- rpm-build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue