From 8cbcbf2a84c57aac737520016800207232bb8364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Thu, 14 May 2020 10:09:31 +0100 Subject: gitlab: add testing of the rpmbuild process MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel P. Berrangé --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e92333..71afae3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- cgit v1.2.1