Skip to content

Commit

Permalink
Build against opensearch version 1.0.0-beta1
Browse files Browse the repository at this point in the history
Signed-off-by: Sruti Parthiban <partsrut@amazon.com>
  • Loading branch information
sruti1312 committed Apr 27, 2021
1 parent 76b104f commit 78d0dfe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ jobs:
with:
repository: 'opensearch-project/OpenSearch'
path: OpenSearch
ref: '1.0.0-alpha2'
ref: '1.0.0-beta1'
- name: Build OpenSearch
working-directory: ./OpenSearch
run: ./gradlew publishToMavenLocal -Dbuild.version_qualifier=alpha2 -Dbuild.snapshot=false
run: ./gradlew publishToMavenLocal -Dbuild.version_qualifier=beta1 -Dbuild.snapshot=false
- name: Update SHA
working-directory: ./tmp/pa
run: ./gradlew updateShas
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ task copyAllArtifacts(type: Copy) {
def rcaArtifacts = Paths.get(projectPathStr, 'build', 'distributions', 'performance-analyzer-rca.zip')
def paArtifacts = Paths.get(paDir, 'build', 'distributions', 'opensearch-performance-analyzer-1.0.0.0-beta1-SNAPSHOT.zip')
// Replace this path to point to opensearch artifact local location
def opensearchArtifacts = Paths.get('../opensearch-1.0.0-alpha2-linux-x64.tar.gz')
def opensearchArtifacts = Paths.get('../opensearch-1.0.0-beta1-linux-x64.tar.gz')

dockerArtifactsDir = Paths.get(dockerBuildDir, 'rca-docker')
from(dockerArtifacts)
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ ENV BUST_CACHE 1576286189

# Download and extract defined OpenSearch version.
# TODO: Modify this link to the opensearch artifact link
COPY opensearch-1.0.0-alpha2-linux-x64.tar.gz .
RUN tar -xf opensearch-1.0.0-alpha2-linux-x64.tar.gz --strip-component=1
COPY opensearch-1.0.0-beta1-linux-x64.tar.gz .
RUN tar -xf opensearch-1.0.0-beta1-linux-x64.tar.gz --strip-component=1

RUN set -ex && for opensearchdirs in config data logs; do \
mkdir -p "$opensearchdirs"; \
Expand Down

0 comments on commit 78d0dfe

Please sign in to comment.