diff options
| author | drebs <drebs@leap.se> | 2017-07-08 09:16:02 -0300 | 
|---|---|---|
| committer | drebs <drebs@leap.se> | 2017-07-08 09:16:02 -0300 | 
| commit | edae639f6cf648dd814407c698becf46dc1eff3d (patch) | |
| tree | 37597c38418d9dbd216cf35cd85e7d9ed75d1d40 /scripts/benchmark | |
| parent | 3b51520b4be2f48a204bc0d630c88058ed51afa9 (diff) | |
[benchmarks] properly pass environment variable to gitlab-runner
Diffstat (limited to 'scripts/benchmark')
| -rwxr-xr-x | scripts/benchmark/benchmark-all-commits.sh | 5 | 
1 files 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  | 
