File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ ENV ES_PATH_CONF=/etc/elasticsearch/ \
30
30
JAVA_VER=11 \
31
31
JAVA_HOME=/usr/lib/jvm/jre \
32
32
NODE_QUORUM=1 \
33
- PROMETHEUS_EXPORTER_VER=6.8.1.0 \
33
+ PROMETHEUS_EXPORTER_VER=6.8.1.0-redhat-00001 \
34
34
OPENDISTRO_VER=0.10.0.4-redhat-00001 \
35
35
PLUGIN_LOGLEVEL=INFO \
36
36
RECOVER_AFTER_NODES=1 \
Original file line number Diff line number Diff line change 2
2
3
3
set -o xtrace
4
4
5
- # PROMETHEUS_EXPORTER_URL=${PROMETHEUS_EXPORTER_URL:-$MAVEN_REPO_URL/org/elasticsearch/plugin/prometheus/prometheus-exporter/$PROMETHEUS_EXPORTER_VER/prometheus-exporter-$PROMETHEUS_EXPORTER_VER.zip}
6
- PROMETHEUS_EXPORTER_URL=file:///prometheus-exporter-$PROMETHEUS_EXPORTER_VER .zip
5
+ PROMETHEUS_EXPORTER_URL=${PROMETHEUS_EXPORTER_URL:- $MAVEN_REPO_URL / org/ elasticsearch/ plugin/ prometheus/ prometheus-exporter/ $PROMETHEUS_EXPORTER_VER / prometheus-exporter-$PROMETHEUS_EXPORTER_VER .zip}
7
6
OPENDISTRO_URL=${OPENDISTRO_URL:- $MAVEN_REPO_URL / com/ amazon/ opendistroforelasticsearch/ opendistro_security/ $OPENDISTRO_VER / opendistro_security-$OPENDISTRO_VER .zip}
8
7
9
8
if [[ " ${OPENSHIFT_CI:- } " == " true" ]]; then
10
9
# This flag is set during CI runs. If no ARG was passed in,
11
10
# default to maven.org.
12
11
export ES_ARCHIVE_URL=https://github.com/openshift/origin-aggregated-logging/releases/download/elasticsearch-oss-$ES_VER /elasticsearch-oss-$ES_VER .zip
13
12
export OPENDISTRO_URL=https://github.com/openshift/origin-aggregated-logging/releases/download/opendistro_security-$OPENDISTRO_VER /opendistro_security-$OPENDISTRO_VER .zip
13
+
14
+ PROMETHEUS_EXPORTER_VER=$( echo $PROMETHEUS_EXPORTER_VER | cut -d' -' -f1)
14
15
export PROMETHEUS_EXPORTER_URL=https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/$PROMETHEUS_EXPORTER_VER /prometheus-exporter-$PROMETHEUS_EXPORTER_VER .zip
15
16
fi
16
17
es_plugins=($OPENDISTRO_URL $PROMETHEUS_EXPORTER_URL )
Original file line number Diff line number Diff line change 1
1
- nvr : org.elasticsearch-elasticsearch-6.8.1.redhat_00006-1
2
2
- nvr : com.amazon.opendistroforelasticsearch-opendistro_security-0.10.0.4_redhat_00001-1
3
+ - nvr : org.elasticsearch.plugin.prometheus-prometheus-exporter-6.8.1.0_redhat_00001-1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments