Skip to content

Commit

Permalink
change version to beta1, update workflows and config files (#7)
Browse files Browse the repository at this point in the history
Signed-off-by: David Cui <davidcui@amazon.com>
  • Loading branch information
davidcui1225 authored Apr 27, 2021
1 parent 55e2e1f commit 6dc245e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:

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

jobs:

Expand All @@ -25,11 +26,11 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Checkout OpenSerach Dashboards
- name: Checkout OpenSearch Dashboards
uses: actions/checkout@v1
with:
repository: opensearch-project/Opensearch-Dashboards
ref: main
ref: ${{ env.OPENSEARCH_VERSION }}
path: OpenSearch-Dashboards

- name: Checkout Plugin
Expand All @@ -42,14 +43,14 @@ jobs:
with:
node-version: '10.23.1'

- name: Pluign Bootstrap
- name: Plugin Bootstrap
run: |
yarn osd bootstrap
- name: Build Artifact
run: |
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
artifact=`ls ./build/*.zip`
# TODO change to new bucket
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on: [pull_request, push]

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

jobs:

Expand All @@ -14,11 +15,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout OpenSerach Dashboards
- name: Checkout OpenSearch Dashboards
uses: actions/checkout@v1
with:
repository: opensearch-project/Opensearch-Dashboards
ref: main
ref: ${{ env.OPENSEARCH_VERSION }}
path: OpenSearch-Dashboards
- name: Checkout Plugin
uses: actions/checkout@v1
Expand All @@ -28,7 +29,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '10.23.1'
- name: Pluign Bootstrap
- name: Plugin Bootstrap
run: |
yarn osd bootstrap
- name: Test
Expand All @@ -37,7 +38,7 @@ jobs:
- name: Build Artifact
run: |
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
with:
Expand Down
4 changes: 2 additions & 2 deletions opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "traceanalyticsDashboards",
"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"],
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "trace-analytics-dashboards",
"version": "1.0.0.0",
"version": "1.0.0.0-beta1",
"opensearchDashboards": {
"version": "1.0.0",
"templateVersion": "1.0.0"
"version": "1.0.0-beta1",
"templateVersion": "1.0.0-beta1"
},
"license": "Apache-2.0",
"scripts": {
Expand Down

0 comments on commit 6dc245e

Please sign in to comment.