From ca877d19477968e2291e7a5096dcfbca88ad6b07 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Fri, 18 Nov 2016 00:41:02 +0100 Subject: [build] use streaming encrypter branch for automatic gitlab bundles this also means that these bundles can only be used against cdev for now, since we need the latest soledad server. i'm using my personal devpi repo because the development mode install breaks the bundles for some reason (namespace probably). latest version uploaded is: leap-soledad-client-0.9.0+58.g0d9e74e which is today's shyba state but rebased on top of the 0.9.0 tag. --- pkg/build_bundle_with_venv.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'pkg') diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh index 3eb10f7..7734885 100755 --- a/pkg/build_bundle_with_venv.sh +++ b/pkg/build_bundle_with_venv.sh @@ -1,10 +1,19 @@ #!/bin/bash +########################################################### +# Build a Bitmask bundle inside a fresh virtualenv. +# To be run by Gitlab Runner, +# will produce an artifact for each build. +########################################################### virtualenv venv source venv/bin/activate $VIRTUAL_ENV/bin/pip install -U pyinstaller==3.1 packaging $VIRTUAL_ENV/bin/pip install zope.interface zope.proxy -$VIRTUAL_ENV/bin/pip install leap.soledad.common -$VIRTUAL_ENV/bin/pip install leap.soledad.client + +# CHANGE THIS IF YOU WANT A DIFFERENT BRANCH CHECKED OUT FOR COMMON/SOLEDAD -------------------- +# (this is tracking shyba/feature/streaming_encrypter for the moment) +$VIRTUAL_ENV/bin/pip install -U leap.soledad.common --find-links https://devpi.net/kali/dev +$VIRTUAL_ENV/bin/pip install -U leap.soledad.client --find-links https://devpi.net/kali/dev +# ---------------------------------------------------------------------------------------------- # XXX hack for the namespace package not being properly handled by pyinstaller touch $VIRTUAL_ENV/lib/python2.7/site-packages/zope/__init__.py -- cgit v1.2.3