1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-01 00:21:59 +03:00

gitlab: add testing of the rpmbuild process

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2020-05-14 10:09:31 +01:00
parent 6088ce10b9
commit 8cbcbf2a84

View File

@ -44,6 +44,8 @@ stages:
- popd
- $PYTHON setup.py build
- $PYTHON setup.py test
- $PYTHON setup.py sdist
- if test -x /usr/bin/rpmbuild && test $NAME != "opensuse-151" ; then rpmbuild --nodeps -ta dist/libvirt-python*tar.gz ; fi
.dist_build_job_template: &dist_build_job_definition
image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
@ -53,6 +55,8 @@ stages:
script:
- $PYTHON setup.py build
- $PYTHON setup.py test
- $PYTHON setup.py sdist
- if test -x /usr/bin/rpmbuild && test $NAME != "opensuse-151" ; then rpmbuild --nodeps -ta dist/libvirt-python*tar.gz ; fi
# Check that all commits are signed-off for the DCO.
# Skip on "libvirt" namespace, since we only need to run