Skip to content

Commit 5ef8b62

Browse files
Merge pull request #2113 from jcantrill/log1272_2
LOG-1272: Fix source of elasticsearch-prometheus-exporter
2 parents ee47a18 + bb4d2c0 commit 5ef8b62

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

elasticsearch/Dockerfile.rhel8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ENV ES_PATH_CONF=/etc/elasticsearch/ \
3030
JAVA_VER=11 \
3131
JAVA_HOME=/usr/lib/jvm/jre \
3232
NODE_QUORUM=1 \
33-
PROMETHEUS_EXPORTER_VER=6.8.1.0 \
33+
PROMETHEUS_EXPORTER_VER=6.8.1.0-redhat-00001 \
3434
OPENDISTRO_VER=0.10.0.4-redhat-00001 \
3535
PLUGIN_LOGLEVEL=INFO \
3636
RECOVER_AFTER_NODES=1 \

elasticsearch/ci-env.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
set -o xtrace
44

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}
76
OPENDISTRO_URL=${OPENDISTRO_URL:-$MAVEN_REPO_URL/com/amazon/opendistroforelasticsearch/opendistro_security/$OPENDISTRO_VER/opendistro_security-$OPENDISTRO_VER.zip}
87

98
if [[ "${OPENSHIFT_CI:-}" == "true" ]]; then
109
# This flag is set during CI runs. If no ARG was passed in,
1110
# default to maven.org.
1211
export ES_ARCHIVE_URL=https://github.com/openshift/origin-aggregated-logging/releases/download/elasticsearch-oss-$ES_VER/elasticsearch-oss-$ES_VER.zip
1312
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)
1415
export PROMETHEUS_EXPORTER_URL=https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/$PROMETHEUS_EXPORTER_VER/prometheus-exporter-$PROMETHEUS_EXPORTER_VER.zip
1516
fi
1617
es_plugins=($OPENDISTRO_URL $PROMETHEUS_EXPORTER_URL)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
- nvr: org.elasticsearch-elasticsearch-6.8.1.redhat_00006-1
22
- 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

elasticsearch/sources

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)