Skip to content

Commit 4fb1639

Browse files
committed
use credentials
1 parent a18428c commit 4fb1639

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.buildkite/hooks/pre-command

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ if [[ "${USE_PERF_CREDENTIALS:-}" == "true" ]]; then
100100
PERF_METRICS_USERNAME=$(vault read -field=es_username /secret/ci/elastic-elasticsearch/esbench-metics)
101101
PERF_METRICS_PASSWORD=$(vault read -field=es_password /secret/ci/elastic-elasticsearch/esbench-metics)
102102

103-
export METRICS_HOST
103+
export PERF_METRICS_HOST
104104
export PERF_METRICS_INDEX
105-
export METRICS_USERNAME
106-
export METRICS_PASSWORD
105+
export PERF_METRICS_USERNAME
106+
export PERF_METRICS_PASSWORD
107107
fi
108108

109109
# Authenticate to the Docker Hub public read-only registry

.buildkite/pipelines/periodic-micro-benchmarks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ steps:
33
command: |
44
.ci/scripts/run-gradle.sh :benchmarks:run --args 'org.elasticsearch.benchmark._nightly -rf json -rff build/result.json'
55
.ci/scripts/index-micro-benchmark-results.sh
6+
env:
7+
USE_PERF_CREDENTIALS: "true"
68
timeout_in_minutes: 300
79
agents:
810
provider: gcp

0 commit comments

Comments
 (0)