summaryrefslogtreecommitdiff
path: root/scripts/docker/files/build/install-deps-from-repos.sh
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-04-19 10:18:27 +0200
committerdrebs <drebs@leap.se>2017-04-19 11:49:42 +0200
commit40f2cb8b1f07b1346e01ff69b57e14c492f1cd0b (patch)
tree9cab2f54014ffb7a56e1d75fd5ef0a70369afd63 /scripts/docker/files/build/install-deps-from-repos.sh
parenta4558ea4874e0de3561f228b41ef0a94a2e4c326 (diff)
[test] remove docker scripts from this repo
Docker scripts are only used for CI and do not need to be in this repository. Beause of that, we decided to moved the docker scripts to a private repository where dockerfiles for other parts of leap also live.
Diffstat (limited to 'scripts/docker/files/build/install-deps-from-repos.sh')
-rwxr-xr-xscripts/docker/files/build/install-deps-from-repos.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/scripts/docker/files/build/install-deps-from-repos.sh b/scripts/docker/files/build/install-deps-from-repos.sh
deleted file mode 100755
index 46530c86..00000000
--- a/scripts/docker/files/build/install-deps-from-repos.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-# Install dependencies needed to run client and server in a test environment.
-#
-# In details, this script does the following:
-#
-# - install dependencies for packages in /var/local from their requirements
-# files in each of the repositories, using python wheels when possible.
-#
-# - install the python packages in development mode
-#
-# This script is meant to be copied to the docker container during container
-# build and run after system dependencies have been installed.
-
-BASEDIR="/var/local"
-
-# install dependencies and packages
-install_script="pkg/pip_install_requirements.sh"
-opts="--use-leap-wheels"
-pkgs="leap_pycommon soledad/common soledad/client soledad/server"
-
-for pkg in ${pkgs}; do
- pkgdir=${BASEDIR}/${pkg}
- testing=""
- if [ -f ${pkgdir}/pkg/requirements-testing.pip ]; then
- testing="--testing"
- fi
- (cd ${pkgdir} && ${install_script} ${testing} ${opts})
- (cd ${pkgdir} && python setup.py develop)
-done