mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-22 20:59:34 +03:00
maint: Drop autobuild.sh
The Test-AutoBuild project, that this script is supposed to be used with, hasn't seen any activity in ~7 years; these days, libvirt-python CI builds are happening on the Jenkins-based CentOS CI environment under the libvirt umbrella[1], and in that context the script is not used at all. [1] https://ci.centos.org/view/libvirt/ Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
30
autobuild.sh
30
autobuild.sh
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ve
|
||||
|
||||
: ${AUTOBUILD_INSTALL_ROOT="$HOME/builder"}
|
||||
|
||||
rm -rf MANIFEST dist build
|
||||
|
||||
|
||||
python2 setup.py sdist
|
||||
|
||||
python2 setup.py build
|
||||
python2 setup.py test
|
||||
python2 setup.py install --root="$AUTOBUILD_INSTALL_ROOT"
|
||||
|
||||
if test -f /usr/bin/python3 ; then
|
||||
python3 setup.py build
|
||||
python3 setup.py test
|
||||
python3 setup.py install --root="$AUTOBUILD_INSTALL_ROOT"
|
||||
fi
|
||||
|
||||
type -p /usr/bin/rpmbuild > /dev/null 2>&1 || exit 0
|
||||
|
||||
if [ -n "$AUTOBUILD_COUNTER" ]; then
|
||||
EXTRA_RELEASE=".auto$AUTOBUILD_COUNTER"
|
||||
else
|
||||
NOW=`date +"%s"`
|
||||
EXTRA_RELEASE=".$USER$NOW"
|
||||
fi
|
||||
rpmbuild --nodeps --define "extra_release $EXTRA_RELEASE" -ta --clean dist/*.tar.gz
|
Reference in New Issue
Block a user