Skip to content

Commit

Permalink
Merge branch 'main' of github.com:opensearch-project/oui into update-…
Browse files Browse the repository at this point in the history
…imports
  • Loading branch information
jmetev1 committed May 18, 2023
2 parents acc7c54 + 71dc4bd commit 3b2dc7a
Show file tree
Hide file tree
Showing 1,434 changed files with 3,286 additions and 25,860 deletions.
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# This should match the owning team set up in https://github.com/orgs/opensearch-project/teams
* @opensearch-project/oui
* @seanneumann @AMoo-Miki @rednaksi91 @KrooshalUX @BSFishy @bandinib-amzn @ashwin-pc @joshuarrrr
20 changes: 20 additions & 0 deletions .github/workflows/github-workflow-badger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: github-merit-badger
on:
pull_request_target:
types:
- opened

jobs:
call-action:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: aws-github-ops/github-merit-badger@v0.0.98
id: merit-badger
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
badges: '[first-time-contributor,repeat-contributor,valued-contributor,seasoned-contributor,all-star-contributor,distinguished-contributor]'
thresholds: '[0,3,6,13,25,50]'
badge-type: 'achievement'
ignore-usernames: '[opensearch-ci-bot, dependabot, opensearch-trigger-bot]'
32 changes: 31 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,38 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- id: get_data
run: |
echo "approvers=$(cat .github/CODEOWNERS | grep @ | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')" >> $GITHUB_OUTPUT
echo "version=$(cat package.json | grep '"version": "[^ ]\+"' | cut -c15- | cut -d'"' -f1)" >> $GITHUB_OUTPUT
- uses: trstringer/manual-approval@v1
with:
secret: ${{ github.TOKEN }}
approvers: ${{ steps.get_data.outputs.approvers }}
minimum-approvals: 2
issue-title: 'Release OUI: ${{ steps.get_data.outputs.version }}'
issue-body: "Please approve or deny the release of OUI. **VERSION**: ${{ steps.get_data.outputs.version }} **TAG**: ${{ github.ref_name }} **COMMIT**: ${{ github.sha }}"
exclude-workflow-initiator-as-approver: true
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Setup Yarn
run: |
npm uninstall -g yarn
npm i -g yarn@1.22.10
yarn install --frozen-lockfile
- name: Generate build
run: |
yarn build
yarn pack --filename oui.tar.gz
mkdir oui && mv oui.tar.gz oui/oui.tar.gz
tar -cvf artifacts.tar.gz oui
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
generate_release_notes: true
generate_release_notes: true
files: |
artifacts.tar.gz
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ coverage/
reports/
tmp/
dist/
docs/
lib/
es/
test-env/
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ reports/
tmp/
wiki/
generator-oui/
test/
/test/
src-docs/
packages/react-datepicker
packages/eslint-plugin
Expand Down
2 changes: 2 additions & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
| Kroosh | [KrooshalUX](https://github.com/KrooshalUX) | Amazon |
| Matt Provost | [BSFishy](https://github.com/BSFishy) | Amazon |
| Bandini | [bandinib-amzn](https://github.com/bandinib-amzn) | Amazon |
| Ashwin P Chandran | [ashwin-pc](https://github.com/ashwin-pc) | Amazon |
| Josh Romero | [joshuarrrr](https://github.com/joshuarrrr) | Amazon |
2,585 changes: 0 additions & 2,585 deletions docs/bundle.min.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/bundle.min.js.map

This file was deleted.

Binary file removed docs/favicon.ico
Binary file not shown.
2 changes: 0 additions & 2 deletions docs/icon.accessibility-js.min.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/icon.accessibility-js.min.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions docs/icon.aggregate-js.min.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/icon.aggregate-js.min.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions docs/icon.alert-js.min.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/icon.alert-js.min.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions docs/icon.analyze_event-js.min.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/icon.analyze_event-js.min.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions docs/icon.annotation-js.min.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/icon.annotation-js.min.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions docs/icon.apm_trace-js.min.js

This file was deleted.

0 comments on commit 3b2dc7a

Please sign in to comment.