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/run-perf-test.sh | |
parent | 058fe53b02e73316359784abc57fb8d570da943b (diff) |
[test] improve repo config and checkout on docker scripts
Diffstat (limited to 'scripts/docker/files/run-perf-test.sh')
-rwxr-xr-x | scripts/docker/files/run-perf-test.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/docker/files/run-perf-test.sh b/scripts/docker/files/run-perf-test.sh index 80138b2a..ebd54d23 100755 --- a/scripts/docker/files/run-perf-test.sh +++ b/scripts/docker/files/run-perf-test.sh @@ -32,8 +32,8 @@ TIMEOUT=20 #----------------------------------------------------------------------------- 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 @@ -41,8 +41,8 @@ if [ ! -z "${SOLEDAD_BRANCH}" ]; then fi if [ ! -z "${SOLEDAD_PERF_REMOTE}" ]; then - git -C /var/local/soledad-perf remote add test ${SOLEDAD_PERF_REMOTE} - git -C /var/local/soledad-perf fetch test + git -C /var/local/soledad-perf remote set-url origin ${SOLEDAD_PERF_REMOTE} + git -C /var/local/soledad-perf fetch origin fi if [ ! -z "${SOLEDAD_PERF_BRANCH}" ]; then @@ -105,12 +105,12 @@ if [ ${elapsed} -ge ${TIMEOUT} ]; then exit 1 fi -sleep 2 - #----------------------------------------------------------------------------- # create docs and run test #----------------------------------------------------------------------------- +#set -e + # create documents in client make trigger-create-docs |