diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2017-07-17 14:01:35 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2017-07-17 14:01:35 +0100 |
commit | 4acf370911eb90bbfff65cb7facfb91222556d40 (patch) | |
tree | 81320db6d282de39757fe2f8e97b55ed543c4054 | |
parent | 85f9c460f7bc5db92d415d8636fa0884c733a724 (diff) |
build-all: allow to build only source packages - for CI
Change-Id: I0a2ee37e92720426755625fde50e152b0becd0e1
-rwxr-xr-x | openstack-venvs/packages/debian/_build-all.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openstack-venvs/packages/debian/_build-all.sh b/openstack-venvs/packages/debian/_build-all.sh index 9a9470e..318d7ca 100755 --- a/openstack-venvs/packages/debian/_build-all.sh +++ b/openstack-venvs/packages/debian/_build-all.sh @@ -2,6 +2,11 @@ rm *.deb *.build *.changes *.debian.tar.xz *.dsc +DEBUILD_ARGS= + +if [[ ! -z $1 && $1 == 'source' ]]; then + DEBUILD_ARGS="-S" +fi for package in cinder glance heat horizon keystone neutron nova openstack-cli swift do @@ -11,7 +16,7 @@ do cd $package rm -rf .pc QUILT_PATCHES=debian/patches quilt push -a - debuild --no-lintian -uc -us -sa + debuild --no-lintian -uc -us -sa $DEBUILD_ARGS echo "source=$BUILD_URL/artifact/`find . -name erp-${package}*.dsc`" >params-$package echo "repo=erp-17.08-staging" >>params-$package |