File tree 1 file changed +2
-2
lines changed
.buildkite/scripts/benchmark
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ pull_images() {
81
81
else
82
82
# pull the latest snapshot logstash image
83
83
# select the SNAPSHOT artifact with the highest semantic version number
84
- LS_VERSION=$( curl --retry-all-errors --retry 5 --retry-delay 1 -s https://artifacts-api.elastic.co/v1/versions | jq -r ' .versions | map(select(endswith("-SNAPSHOT"))) | max_by(rtrimstr("-SNAPSHOT")|split(".")|map(tonumber)) ' )
85
- BUILD_ID=$( curl --retry-all-errors --retry 5 --retry-delay 1 -s " https://artifacts-api.elastic.co/v1/versions/ ${LS_VERSION} /builds/latest " | jq -re ' .build .build_id' )
84
+ LS_VERSION=$( curl --retry-all-errors --retry 5 --retry-delay 1 -s " https://storage.googleapis.com/ artifacts-api/snapshots/main.json " | jq -r ' .version ' )
85
+ BUILD_ID=$( curl --retry-all-errors --retry 5 --retry-delay 1 -s " https://storage.googleapis.com/ artifacts-api/snapshots/main.json " | jq -r ' .build_id' )
86
86
ARCH=$( arch)
87
87
IMAGE_URL=" https://snapshots.elastic.co/${BUILD_ID} /downloads/logstash/logstash-$LS_VERSION -docker-image-$ARCH .tar.gz"
88
88
IMAGE_FILENAME=" $LS_VERSION .tar.gz"
You can’t perform that action at this time.
0 commit comments