From f25d9eda257dff56ccac1f3eecdb2e3425e1d62b Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Mon, 6 Mar 2017 18:01:34 +0100 Subject: [pkg] stop building the bundle if some step fails --- pkg/build_bundle_with_venv.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkg') diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh index bab8af6..cf81c31 100755 --- a/pkg/build_bundle_with_venv.sh +++ b/pkg/build_bundle_with_venv.sh @@ -4,6 +4,8 @@ # To be run by Gitlab Runner, # will produce an artifact for each build. ########################################################### +# Stop bundling in case of errors +set -e virtualenv venv source venv/bin/activate $VIRTUAL_ENV/bin/pip install appdirs packaging @@ -14,11 +16,10 @@ $VIRTUAL_ENV/bin/pip install zope.interface zope.proxy # fix for #8789 $VIRTUAL_ENV/bin/pip --no-cache-dir install pysqlcipher --install-option="--bundled" # FIXME pixelated needs some thingd but doesn't declare it -# FIXME persuade pixelated to stop using requests in favor of treq $VIRTUAL_ENV/bin/pip install chardet whoosh +# FIXME persuade pixelated to stop using requests in favor of treq $VIRTUAL_ENV/bin/pip install requests==2.11.1 - # For the Bitmask 0.9.5 bundles. $VIRTUAL_ENV/bin/pip install -U leap.soledad.common==0.9.3 $VIRTUAL_ENV/bin/pip install -U leap.soledad.client==0.9.3 -- cgit v1.2.3