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:
@ -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
|
||||
|
Reference in New Issue
Block a user