Skip to content

Commit

Permalink
2.15 compatability
Browse files Browse the repository at this point in the history
Bump versions of OS and ltr to 2.15.0
  • Loading branch information
bhallett-atlassian committed Oct 10, 2024
1 parent a3ad0a2 commit f57e6af
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ validateNebulaPom.enabled = false
buildscript {
ext {
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
opensearch_version = System.getProperty("opensearch.version", "2.13.0")
opensearch_version = System.getProperty("opensearch.version", "2.15.0")
lucene_version = "9.10.0"
plugin_version = opensearch_version + ".0"
if (isSnapshot) {
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG opensearch_version=2.5.0
ARG opensearch_version=2.15.0

FROM opensearchproject/opensearch:${opensearch_version}
ARG opensearch_version=2.5.0
ARG ltrversion=2.1.0
ARG opensearch_version=2.15.0
ARG ltrversion=2.15.0
RUN /usr/share/opensearch/bin/opensearch-plugin install -b https://github.com/gsingers/opensearch-learning-to-rank-base/releases/download/release-v${ltrversion}/ltr-plugin-v${ltrversion}.zip


Expand Down
9 changes: 4 additions & 5 deletions docker/local.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Build an image from a local distribution

ARG opensearch_version=2.5.0
ARG opensearch_version=2.15.0
FROM opensearchproject/opensearch:${opensearch_version}
ARG ltrversion=2.1.0
ARG opensearch_version=2.5.0
ARG ltrversion=2.15.0
ARG opensearch_version=2.15.0
ARG zip_file=ltr-${ltrversion}-os${opensearch_version}.zip
ARG plugin_file=/usr/share/opensearch/${zip_file}

COPY --chown=opensearch:opensearch build/distributions/${zip_file} ${plugin_file}
RUN /usr/share/opensearch/bin/opensearch-plugin install -b file:${plugin_file}
# check in to see if there is a better way to do this so we don't have duplicate RUN commands

# check in to see if there is a better way to do this so we don't have duplicate RUN commands
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ltrVersion = 2.2.0
opensearchVersion = 2.6.0
luceneVersion = 9.5.0
ow2Version = 9.4
ltrVersion = 2.15.0
opensearchVersion = 2.15.0
luceneVersion = 9.10.0
ow2Version = 9.6
antlrVersion=4.13.0

0 comments on commit f57e6af

Please sign in to comment.