diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-11-18 00:41:02 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-11-18 11:50:04 +0100 |
commit | ca877d19477968e2291e7a5096dcfbca88ad6b07 (patch) | |
tree | 59b4fae47f6c0c2e9267447175a4b8d8e9b45b1d /pkg/build_bundle_with_venv.sh | |
parent | 5e2b88eddc03fc130a22eaaeac0c0e0f1a987b96 (diff) |
[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.
Diffstat (limited to 'pkg/build_bundle_with_venv.sh')
-rwxr-xr-x | pkg/build_bundle_with_venv.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh index 3eb10f79..77348856 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 |