Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus-exporter-plugin-for-opensearch: declare compat with opensearch 2.18 #37298

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions prometheus-exporter-plugin-for-opensearch.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: prometheus-exporter-plugin-for-opensearch
version: 2.17.1.0
epoch: 0
epoch: 1
description: |
Prometheus exporter plugin for OpenSearch & OpenSearch Mixin
copyright:
Expand Down Expand Up @@ -29,13 +29,17 @@ pipeline:
tag: ${{package.version}}
recurse-submodules: true

- name: Support OpenSearch 2.18.0.0, see https://github.com/Aiven-Open/prometheus-exporter-plugin-for-opensearch/pull/316/files
runs: |
sed 's|^version = 2.17.1.0$|version = 2.18.0.0|' -i gradle.properties

- runs: |
#ignoring test as it requires to run opensearch as non-root
./gradlew build test -x integTest -x yamlRestTest

- runs: |
mkdir -p ${{targets.destdir}}/usr/share/opensearch/plugins/prometheus-exporter-plugin-for-opensearch
unzip "build/distributions/prometheus-exporter-${{package.version}}.zip" -d "${{targets.destdir}}/usr/share/opensearch/plugins/prometheus-exporter-plugin-for-opensearch"
unzip build/distributions/prometheus-exporter-*.zip -d "${{targets.destdir}}/usr/share/opensearch/plugins/prometheus-exporter-plugin-for-opensearch"

update:
enabled: true
Expand Down
Loading