diff --git a/INSTALL.md b/INSTALL.md index 700a8cfd6..13dcebeec 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -73,7 +73,7 @@ This package uses the [Gradle](https://docs.gradle.org/current/userguide/usergui 4. Because we are supplying our own version of the RCA framework, the SHA might have changed. So, delete the old SHA file if it exists. The SHA will get updated during build time. - `rm -f licenses/performanceanalyzer-rca-2.10.0.0.jar.sha1` + `rm -f licenses/performanceanalyzer-rca-2.11.0.0.jar.sha1` 5. Trigger a gradle build. This builds the plugin, runs unit tests and creates the plugin jar. @@ -105,8 +105,8 @@ You can use the packaged Dockerfile and docker-compose.yml files [here](./docker 4. Copy the RCA framework artifact and the Performance Analyzer plugin JAR into this folder - `cp /build/distributions/performance-analyzer-rca-2.10.0.0-SNAPSHOT.zip ./` - `cp /build/distributions/opensearch-performance-analyzer-2.10.0.0-SNAPSHOT.zip ./` + `cp /build/distributions/performance-analyzer-rca-2.11.0.0-SNAPSHOT.zip ./` + `cp /build/distributions/opensearch-performance-analyzer-2.11.0.0-SNAPSHOT.zip ./` ### Installation diff --git a/build.gradle b/build.gradle index d87282e74..a73b20156 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { ext { - opensearch_version = System.getProperty("opensearch.version", "2.10.0-SNAPSHOT") + opensearch_version = System.getProperty("opensearch.version", "2.11.0-SNAPSHOT") isSnapshot = "true" == System.getProperty("build.snapshot", "true") buildVersionQualifier = System.getProperty("build.version_qualifier", "") buildDockerJdkVersion = System.getProperty("build.docker_jdk_ver", "11") diff --git a/docker/Dockerfile b/docker/Dockerfile index 0bddde03b..7fa7fab1d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -41,7 +41,7 @@ WORKDIR /usr/share/opensearch ENV BUST_CACHE 1576286189 # Download and extract defined OpenSearch version. -RUN curl -fsSL https://artifacts.opensearch.org/snapshots/core/opensearch/2.10.0-SNAPSHOT/opensearch-min-2.10.0-SNAPSHOT-linux-x64-latest.tar.gz | \ +RUN curl -fsSL https://artifacts.opensearch.org/snapshots/core/opensearch/2.11.0-SNAPSHOT/opensearch-min-2.11.0-SNAPSHOT-linux-x64-latest.tar.gz | \ tar zx --strip-components=1 RUN set -ex && for opensearchdirs in config data logs; do \ @@ -50,19 +50,19 @@ RUN set -ex && for opensearchdirs in config data logs; do \ COPY --chown=1000:0 opensearch.yml log4j2.properties config/ -COPY --chown=1000:0 performance-analyzer-rca-2.10.0.0-SNAPSHOT.zip config/ +COPY --chown=1000:0 performance-analyzer-rca-2.11.0.0-SNAPSHOT.zip config/ -COPY --chown=1000:0 performance-analyzer-2.10.0.0-SNAPSHOT.zip /tmp/ +COPY --chown=1000:0 performance-analyzer-2.11.0.0-SNAPSHOT.zip /tmp/ -RUN opensearch-plugin install --batch file:///tmp/performance-analyzer-2.10.0.0-SNAPSHOT.zip; \ - rm /tmp/performance-analyzer-2.10.0.0-SNAPSHOT.zip +RUN opensearch-plugin install --batch file:///tmp/performance-analyzer-2.11.0.0-SNAPSHOT.zip; \ + rm /tmp/performance-analyzer-2.11.0.0-SNAPSHOT.zip USER 0 # Set gid to 0 for opensearch and make group permission similar to that of user RUN chown -R opensearch:0 . && \ chmod -R g=u /usr/share/opensearch -RUN unzip config/performance-analyzer-rca-2.10.0.0-SNAPSHOT.zip +RUN unzip config/performance-analyzer-rca-2.11.0.0-SNAPSHOT.zip RUN chmod -R 755 /dev/shm @@ -138,7 +138,7 @@ EXPOSE 9200 9300 9600 9650 LABEL org.label-schema.schema-version="1.0" \ org.label-schema.name="opensearch" \ - org.label-schema.version="2.10.0" \ + org.label-schema.version="2.11.0" \ org.label-schema.url="https://opensearch.org/" \ org.label-schema.vcs-url="https://github.com/opensearch-project/opensearch-build" \ org.label-schema.license="Apache-2.0" \