File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -euo pipefail
4
4
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
-
10
5
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
13
8
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"
16
10
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
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pull_docker_snapshot() {
11
11
project=" ${1?project name required} "
12
12
local docker_image=" docker.elastic.co/${project} /${project} :${ELASTIC_STACK_VERSION} "
13
13
echo " Pulling $docker_image "
14
- docker pull " $docker_image "
14
+ docker pull -q " $docker_image "
15
15
}
16
16
17
17
if [ " $ELASTIC_STACK_VERSION " ]; then
Original file line number Diff line number Diff line change 1
- jruby-9.4.5 .0
1
+ jruby-9.4.8 .0
You can’t perform that action at this time.
0 commit comments