Skip to content

Commit 5a9de8f

Browse files
authored
prometheus-exporter-plugin-for-opensearch: declare compat with opensearch 2.18 (#37298)
Upstream release of this plugging is lagging. Bump the compat version of it by hand. Also see: - Aiven-Open/prometheus-exporter-plugin-for-opensearch#317 - Aiven-Open/prometheus-exporter-plugin-for-opensearch#316 With this change, opensearch 2.18 with this plugin works again; and deploys in a helm chart.
1 parent 5f36141 commit 5a9de8f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

prometheus-exporter-plugin-for-opensearch.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: prometheus-exporter-plugin-for-opensearch
33
version: 2.17.1.0
4-
epoch: 0
4+
epoch: 1
55
description: |
66
Prometheus exporter plugin for OpenSearch & OpenSearch Mixin
77
copyright:
@@ -29,13 +29,17 @@ pipeline:
2929
tag: ${{package.version}}
3030
recurse-submodules: true
3131

32+
- name: Support OpenSearch 2.18.0.0, see https://github.com/Aiven-Open/prometheus-exporter-plugin-for-opensearch/pull/316/files
33+
runs: |
34+
sed 's|^version = 2.17.1.0$|version = 2.18.0.0|' -i gradle.properties
35+
3236
- runs: |
3337
#ignoring test as it requires to run opensearch as non-root
3438
./gradlew build test -x integTest -x yamlRestTest
3539
3640
- runs: |
3741
mkdir -p ${{targets.destdir}}/usr/share/opensearch/plugins/prometheus-exporter-plugin-for-opensearch
38-
unzip "build/distributions/prometheus-exporter-${{package.version}}.zip" -d "${{targets.destdir}}/usr/share/opensearch/plugins/prometheus-exporter-plugin-for-opensearch"
42+
unzip build/distributions/prometheus-exporter-*.zip -d "${{targets.destdir}}/usr/share/opensearch/plugins/prometheus-exporter-plugin-for-opensearch"
3943
4044
update:
4145
enabled: true

0 commit comments

Comments
 (0)