Skip to content

Commit

Permalink
Bump version to 1.0.0.0 and add release notes (#61)
Browse files Browse the repository at this point in the history
* Bump version to 1.0.0.0

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Add release notes

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Fix codecov badge link

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Update node version

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Update release notes

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Update CI

Signed-off-by: Joshua Li <joshuali925@gmail.com>

Fix CI

Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 authored Jun 30, 2021
1 parent 7a7e88a commit e137a25
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
PLUGIN_NAME: trace-analytics-dashboards
OPENSEARCH_VERSION: '1.0'
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-rc1
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0

jobs:

Expand Down
43 changes: 34 additions & 9 deletions .github/workflows/test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: [pull_request, push]
env:
PLUGIN_NAME: trace-analytics-dashboards
OPENSEARCH_VERSION: '1.0'
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-rc1
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0

jobs:

Expand All @@ -16,35 +16,60 @@ jobs:

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

- name: Get node and yarn versions
id: versions_step
run: |
echo "::set-output name=node_version::$(node -p "(require('./OpenSearch-Dashboards/package.json').engines.node).match(/[.0-9]+/)[0]")"
echo "::set-output name=yarn_version::$(node -p "(require('./OpenSearch-Dashboards/package.json').engines.yarn).match(/[.0-9]+/)[0]")"
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ steps.versions_step.outputs.node_version }}
registry-url: 'https://registry.npmjs.org'

- name: Install correct yarn version for OpenSearch Dashboards
run: |
npm uninstall -g yarn
echo "Installing yarn ${{ steps.versions_step.outputs.yarn_version }}"
npm i -g yarn@${{ steps.versions_step.outputs.yarn_version }}
- name: Checkout Plugin
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
path: OpenSearch-Dashboards/plugins/trace-analytics
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '10.23.1'

- name: Plugin Bootstrap
run: |
cd OpenSearch-Dashboards/plugins/trace-analytics
yarn osd bootstrap
- name: Test
run: |
cd OpenSearch-Dashboards/plugins/trace-analytics
yarn test --coverage
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
direcotry: ./OpenSearch-Dashboards/plugins/trace-analytics

- name: Build Artifact
run: |
cd OpenSearch-Dashboards/plugins/trace-analytics
yarn build
mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}.zip
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: trace-analytics
path: ./build
path: ./OpenSearch-Dashboards/plugins/trace-analytics/build

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Trace Analytics CI](https://github.com/opensearch-project/trace-analytics/actions/workflows/test-and-build-workflow.yml/badge.svg)](https://github.com/opensearch-project/trace-analytics/actions/workflows/test-and-build-workflow.yml)
[![codecov](https://codecov.io/gh/opensearch-project/trace-analytics/branch/main/graphs/badge.svg)](https://github.com/opensearch-project/trace-analytics)
[![codecov](https://codecov.io/gh/opensearch-project/trace-analytics/branch/main/graphs/badge.svg)](https://codecov.io/gh/opensearch-project/trace-analytics)

# OpenSearch Dashboards Trace Analytics

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-rc1",
"opensearchDashboardsVersion": "1.0.0-rc1",
"version": "1.0.0.0",
"opensearchDashboardsVersion": "1.0.0",
"server": true,
"ui": true,
"requiredPlugins": ["navigation"],
Expand Down
10 changes: 3 additions & 7 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-rc1",
"version": "1.0.0.0",
"opensearchDashboards": {
"version": "1.0.0-rc1",
"templateVersion": "1.0.0-rc1"
"version": "1.0.0",
"templateVersion": "1.0.0"
},
"license": "Apache-2.0",
"scripts": {
Expand All @@ -29,10 +29,6 @@
"eslint": "^6.8.0",
"jest-dom": "^4.0.0"
},
"engines": {
"node": "10.23.1",
"yarn": "^1.21.1"
},
"resolutions": {
"lodash": "^4.17.21"
}
Expand Down
23 changes: 23 additions & 0 deletions release-notes/opensearch-trace-analytics.release-notes-1.0.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Version 1.0.0.0 Release Notes

Compatible with OpenSearch 1.0.0

### Bug Fixes
* Bump glob-parent from 5.1.1 to 5.1.2 ([#40](https://github.com/opensearch-project/trace-analytics/pull/40))

### Infrastructure
* Add codecov ([#60](https://github.com/opensearch-project/trace-analytics/pull/60))

### Documentation
* Level up markdown contents ([#57](https://github.com/opensearch-project/trace-analytics/pull/57))

### Maintenance
* Bump version to 1.0.0.0 and add release notes ([#61](https://github.com/opensearch-project/trace-analytics/pull/61))

## OpenSearch Migration
* Migrate trace analytics to OpenSearch Dashboards ([#1](https://github.com/opensearch-project/trace-analytics/pull/1))
* Change nav bar to use OpenSearch ([#2](https://github.com/opensearch-project/trace-analytics/pull/2))
* Add license headers for OpenSearch ([#3](https://github.com/opensearch-project/trace-analytics/pull/3))
* Change plugin versions to 1.0.0 ([#4](https://github.com/opensearch-project/trace-analytics/pull/4))
* Rebase commits from opendistro repo ([#5](https://github.com/opensearch-project/trace-analytics/pull/5))
* Bump Version to Beta1 for OpenSearch Release ([#7](https://github.com/opensearch-project/trace-analytics/pull/7))

0 comments on commit e137a25

Please sign in to comment.