Skip to content

Commit

Permalink
Fix Jenkins config for running benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
karmi committed May 24, 2020
1 parent d556c3e commit 7b39f68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/run-benchmarks
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ COMMIT="$(git rev-parse --short HEAD)"

export CLIENT_IMAGE="eu.gcr.io/elastic-clients/elasticsearch-py:$COMMIT"
export CLIENT_BRANCH='master'
export CLIENT_COMMAND='. /environment.sh && cd benchmarks && bundle exec ruby bin/run.rb'
export CLIENT_COMMAND='. /environment.sh && cd benchmarking && python main.py'

set +x
echo -e "\033[1mBuilding Docker image for commit [$COMMIT]\033[0m"
set -x
docker build --file benchmarks/Dockerfile --tag elastic/elasticsearch-py .
docker build --file benchmarking/Dockerfile --tag elastic/elasticsearch-py .

gcloud auth configure-docker --quiet
gcloud auth print-access-token | docker login -u oauth2accesstoken --password-stdin https://eu.gcr.io
Expand Down
Empty file modified .ci/scripts/run-benchmarks.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ coverage.xml
nosetests.xml
junit-*.xml
build
tmp/

0 comments on commit 7b39f68

Please sign in to comment.