diff options
author | drebs <drebs@leap.se> | 2016-06-10 14:40:51 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-06-22 17:51:17 -0300 |
commit | 449aaefa3a95df6f5700b645d6113458f7fde015 (patch) | |
tree | 36881567d0258c3ec9e49dfaec2c1e329badd360 /scripts/docker/files/start-server.sh | |
parent | 058fe53b02e73316359784abc57fb8d570da943b (diff) |
[test] improve repo config and checkout on docker scripts
Diffstat (limited to 'scripts/docker/files/start-server.sh')
-rwxr-xr-x | scripts/docker/files/start-server.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/docker/files/start-server.sh b/scripts/docker/files/start-server.sh index b9b5e4ad..0980d352 100755 --- a/scripts/docker/files/start-server.sh +++ b/scripts/docker/files/start-server.sh @@ -27,8 +27,8 @@ CMD="/usr/local/soledad/test-env.py" REPO="/var/local/soledad" if [ ! -z "${SOLEDAD_REMOTE}" ]; then - git -C ${REPO} remote add test ${SOLEDAD_REMOTE} - git -C ${REPO} fetch test + git -C ${REPO} remote set-url origin ${SOLEDAD_REMOTE} + git -C ${REPO} fetch origin fi if [ ! -z "${SOLEDAD_BRANCH}" ]; then @@ -80,4 +80,5 @@ fi # actually run the server #--------------------------------------------------------------------------- +echo "Starting soledad server..." ${CMD} soledad-server start --no-daemonize |