From edae639f6cf648dd814407c698becf46dc1eff3d Mon Sep 17 00:00:00 2001 From: drebs Date: Sat, 8 Jul 2017 09:16:02 -0300 Subject: [benchmarks] properly pass environment variable to gitlab-runner --- scripts/benchmark/benchmark-all-commits.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/benchmark/benchmark-all-commits.sh b/scripts/benchmark/benchmark-all-commits.sh index 57b2adc2..132f03c6 100755 --- a/scripts/benchmark/benchmark-all-commits.sh +++ b/scripts/benchmark/benchmark-all-commits.sh @@ -46,11 +46,12 @@ do # Option 2: Run couchdb + tox in docker container using gitlab-runner git checkout origin/master .gitlab-ci.yml - BENCHMARK_ALL_COMMITS=1 time gitlab-runner exec docker \ + time gitlab-runner exec docker \ benchmark \ --timeout 7200 \ --env PYTEST_OPTS="$PYTEST_OPTS" \ - --env HOST_HOSTNAME="$(hostname)" + --env HOST_HOSTNAME="$(hostname)" \ + --env BENCHMARK_ALL_COMMITS=1 code=$? echo "$(date -Iseconds) ${commit_id} ${code}" >> results.txt -- cgit v1.2.3