Skip to content

Commit e77de70

Browse files
authored
updated jruby version to 9.4.8.0 (#166)
also fix detection of the 8.x branch
1 parent c2e7e10 commit e77de70

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

.buildkite/scripts/resolve_es_treeish.sh

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22

33
set -euo pipefail
44

5-
VERSION_URL="https://raw.githubusercontent.com/elastic/logstash/main/ci/logstash_releases.json"
6-
7-
echo "Fetching versions from $VERSION_URL"
8-
VERSIONS=$(curl --retry 5 --retry-delay 5 -fsSL $VERSION_URL)
9-
105
set +o nounset
11-
if [[ "$SNAPSHOT" == "true" ]]; then
12-
key=$(echo "$VERSIONS" | jq -r '.snapshots."'"$ELASTIC_STACK_VERSION"'"')
6+
if [[ "$SNAPSHOT" == "true" ]] && [[ "$ELASTIC_STACK_VERSION" == "8.x" ]]; then
7+
export ELASTICSEARCH_TREEISH=8.x
138
else
14-
key=$(echo "$VERSIONS" | jq -r '.releases."'"$ELASTIC_STACK_VERSION"'"')
15-
fi
9+
VERSION_URL="https://raw.githubusercontent.com/elastic/logstash/main/ci/logstash_releases.json"
1610

17-
export ELASTICSEARCH_TREEISH=${key%.*}
11+
echo "Fetching versions from $VERSION_URL"
12+
VERSIONS=$(curl --retry 5 --retry-delay 5 -fsSL $VERSION_URL)
13+
14+
if [[ "$SNAPSHOT" == "true" ]]; then
15+
key=$(echo "$VERSIONS" | jq -r '.snapshots."'"$ELASTIC_STACK_VERSION"'"')
16+
else
17+
key=$(echo "$VERSIONS" | jq -r '.releases."'"$ELASTIC_STACK_VERSION"'"')
18+
fi
19+
20+
export ELASTICSEARCH_TREEISH=${key%.*}
21+
fi

.ci/docker-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pull_docker_snapshot() {
1111
project="${1?project name required}"
1212
local docker_image="docker.elastic.co/${project}/${project}:${ELASTIC_STACK_VERSION}"
1313
echo "Pulling $docker_image"
14-
docker pull "$docker_image"
14+
docker pull -q "$docker_image"
1515
}
1616

1717
if [ "$ELASTIC_STACK_VERSION" ]; then

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
jruby-9.4.5.0
1+
jruby-9.4.8.0

0 commit comments

Comments
 (0)