Skip to content

Commit

Permalink
Merge pull request opensearch-project#14 from opensearch-project/note…
Browse files Browse the repository at this point in the history
…books-beta1

Update To Beta1 for OpenSearch Release
  • Loading branch information
davidcui1225 authored Apr 27, 2021
2 parents 3d63263 + c48716a commit 0752a6b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dashboards-notebooks-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:

env:
PLUGIN_NAME: notebooksDashboards
OD_VERSION: 1.0.0.0
OPENSEARCH_VERSION: 1.0.0-beta1
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-beta1

jobs:

Expand All @@ -32,7 +33,7 @@ jobs:
uses: actions/checkout@v1
with:
repository: opensearch-project/Opensearch-Dashboards
ref: main
ref: ${{ env.OPENSEARCH_VERSION }}
path: dashboards-notebooks/OpenSearch-Dashboards

- name: Setup Node
Expand All @@ -52,7 +53,7 @@ jobs:
run: |
cd OpenSearch-Dashboards/plugins/notebooks
yarn build
mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OD_VERSION }}.zip
mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}.zip
- name: Upload to S3
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on: [pull_request, push]

env:
PLUGIN_NAME: notebooksDashboards
OD_VERSION: 1.0.0.0
OPENSEARCH_VERSION: 1.0.0-beta1
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-beta1

jobs:

Expand All @@ -21,7 +22,7 @@ jobs:
uses: actions/checkout@v1
with:
repository: opensearch-project/Opensearch-Dashboards
ref: main
ref: ${{ env.OPENSEARCH_VERSION }}
path: dashboards-notebooks/OpenSearch-Dashboards

- name: Setup Node
Expand All @@ -41,7 +42,7 @@ jobs:
run: |
cd OpenSearch-Dashboards/plugins/dashboards-notebooks
yarn build
mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OD_VERSION }}.zip
mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}.zip
- name: Upload Artifact
uses: actions/upload-artifact@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ 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

# dependencies: common-utils
- name: Checkout common-utils
uses: actions/checkout@v2
with:
ref: '1.0.0-alpha2'
ref: '1.0.0-beta1'
repository: 'opensearch-project/common-utils'
path: common-utils
- name: Build common-utils
working-directory: ./common-utils
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0-alpha2
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0-beta1

- name: Build with Gradle
run: |
cd opensearch-notebooks
./gradlew build -Dopensearch.version=1.0.0-alpha2
./gradlew build -Dopensearch.version=1.0.0-beta1
- name: Create Artifact Path
run: |
Expand Down
4 changes: 2 additions & 2 deletions dashboards-notebooks/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "notebooksDashboards",
"version": "1.0.0.0",
"opensearchDashboardsVersion": "1.0.0",
"version": "1.0.0.0-beta1",
"opensearchDashboardsVersion": "1.0.0-beta1",
"server": true,
"ui": true,
"requiredPlugins": ["navigation", "embeddable", "dashboard"],
Expand Down
6 changes: 3 additions & 3 deletions dashboards-notebooks/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "notebooks-dashboards",
"version": "1.0.0.0",
"version": "1.0.0.0-beta1",
"description": "OpenSearch Dashboards Notebooks",
"main": "index.ts",
"license": "Apache-2.0",
"opensearchDashboards": {
"version": "1.0.0",
"templateVersion": "1.0.0"
"version": "1.0.0-beta1",
"templateVersion": "1.0.0-beta1"
},
"scripts": {
"osd": "node ../../scripts/osd",
Expand Down
4 changes: 2 additions & 2 deletions opensearch-notebooks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import java.util.concurrent.Callable

buildscript {
ext {
opensearch_version = System.getProperty("opensearch.version", "1.0.0-alpha2")
opensearch_version = System.getProperty("opensearch.version", "1.0.0-beta1")
kotlin_version = System.getProperty("kotlin.version", "1.4.0")
}

Expand Down Expand Up @@ -130,7 +130,7 @@ plugins.withId('org.jetbrains.kotlin.jvm') {

allprojects {
group = "com.amazon.opendistroforelasticsearch"
version = "${opensearchVersion}.0-alpha2"
version = "${opensearchVersion}.0-beta1"

plugins.withId('java') {
sourceCompatibility = targetCompatibility = "1.8"
Expand Down

0 comments on commit 0752a6b

Please sign in to comment.