Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 1.0.0.0 and add release notes #61

Merged
merged 6 commits into from
Jun 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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))