summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-07-08 09:35:03 -0300
committerdrebs <drebs@leap.se>2017-07-08 09:35:03 -0300
commit977fe2ce81e60a85f054d54de040c43c3824cac4 (patch)
tree0bd92f7ac83ae22fbc38f7e0275b7e8bb25e4c5c /.gitlab-ci.yml
parentedae639f6cf648dd814407c698becf46dc1eff3d (diff)
[benchmarks] setup env for benchmark-all-commits earlier
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0b7510c5..8347d64b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,9 +67,9 @@ benchmark:
services:
- couchdb
script:
+ - '[ -n "${BENCHMARK_ALL_COMMITS}" ] && ./scripts/benchmark/setup-all-commits-env.sh'
- cd testing
- curl -s couchdb:5984
- - '[ -n "${BENCHMARK_ALL_COMMITS}" ] && ./scripts/benchmark/setup-all-commits-env.sh'
# You can provide a $NETRC variable containing the creds for your
# elasticsearch instance so it's protected from being leaked in the
# CI console