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

Updating 1.x branch with latest from 1.3.x #403

Merged
merged 147 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
806c2c6
Fix release notes version (#28)
zhongnansu Apr 27, 2021
047b54c
Migrate Reporting Notebooks Integration (#21)
davidcui1225 Apr 29, 2021
08fded0
Add Logic to Auto-populate Notebooks from Context Menu (#30)
davidcui1225 Apr 29, 2021
41dd2a5
Change opendistro to opensearch in email template (#31)
joshuali925 May 4, 2021
17443d9
Fix case sensitive directory name for chromium zip (#35)
davidcui1225 May 5, 2021
9d5e1a1
Use output_only Parameter for notebook reports (#32)
davidcui1225 May 10, 2021
8f2197d
replace osd-version header to remove need for version number matching…
davidcui1225 May 10, 2021
dd6e3b2
Remove visualization editor in visualization reports (#50)
joshuali925 May 14, 2021
1ba1ad7
add condition to fix negative value display (#51)
davidcui1225 May 14, 2021
0399724
[Query Builder] Correctly handle match phrases when a single value is…
MKCG May 17, 2021
22e5489
Pass processing if doc[field] == null (#361)
uzhinskiy May 11, 2021
19ca93a
add test case for commit 368eb03e200b755870f1ad373e67561201ab6f31 (#370)
zhongnansu May 18, 2021
1260f6b
Unhash page url in case store URLs in session storage is enabled from…
zhongnansu May 21, 2021
fa2d7dc
Update Namespaces/APIs/Documentation for OpenSearch (#55)
davidcui1225 May 24, 2021
b43e33e
bump path-parse version to 1.0.7 to address CVE (#59)
davidcui1225 May 25, 2021
31bbecb
merge main into dev
davidcui1225 May 25, 2021
f517f3f
increase chromium timeout to 100s (#58)
zhongnansu May 25, 2021
83bf1b4
Fix csv parsing function (#53)
joshuali925 May 25, 2021
4a791ae
Add release notes for rc1 (#60)
davidcui1225 May 25, 2021
2341aaa
configure index settings to have default 1 replica and auto-expand up…
zhongnansu May 26, 2021
b88adc3
Rc1 release note patch (#63)
davidcui1225 May 26, 2021
c325710
Bump OpenSearch Dashboards version to 1.0 (#64)
davidcui1225 May 27, 2021
8c3b56f
fix merge conflict in readme
davidcui1225 May 27, 2021
5ba1a9d
Revert .opensearch_dashboards index references to .kibana (#67)
davidcui1225 May 28, 2021
960bcaa
Add diagrams for integration with Notifications plugin (#75)
davidcui1225 Jun 8, 2021
c2c43bd
merge changes from main
davidcui1225 Jun 8, 2021
7e326be
Add i18n translation support (#362)
starcatter Jun 8, 2021
6933dd4
PDF report is no more a screenshot, increasing the overall quality
iget-esoares Apr 6, 2021
f3d5167
Add Notifications to docs (#87)
davidcui1225 Jun 15, 2021
62be0df
Better support sorting for csv report based on saved search (#86)
zhongnansu Jun 16, 2021
ab99ee3
Change Delivery Request Body for Notifications (#85)
davidcui1225 Jun 16, 2021
e5a9bfc
Remove legacy notifications/delivery related code (#94)
davidcui1225 Jun 23, 2021
3bcef87
Remove dependency on demo.elastic and use local mock html for testing…
zhongnansu Jun 24, 2021
15cb8e8
Add code cov back (#98)
zhongnansu Jun 24, 2021
48d81ab
update workflow to rename artifact in kebab case (#102)
zhongnansu Jun 25, 2021
138fb27
bump dependency version (#101)
zhongnansu Jun 25, 2021
c1bfb46
level up markdowns and readme (#97)
zhongnansu Jun 25, 2021
55d6144
Bump to version 1.0.0.0 (#103)
zhongnansu Jun 29, 2021
c7a1726
Bump test resource(job-scheduler) to 1.0.0.0 (#105)
zhongnansu Jun 30, 2021
9186448
fix failed cypress integ-testing (#106)
zhongnansu Jun 30, 2021
5c12180
Bump node version, fix workflow and gradle build (#108)
zhongnansu Jun 30, 2021
3661fa1
Add release notes for 1.0.0.0 (#104)
zhongnansu Jul 1, 2021
e517453
Fix notebooks context menu (#109)
joshuali925 Jul 6, 2021
c0b29d3
Fix context menu download request body after schema change to add not…
zhongnansu Jul 8, 2021
72705e2
Exclude time range from report details for Notebooks (#117)
davidcui1225 Jul 8, 2021
698448e
Update regex for notebooks reports (#118)
joshuali925 Jul 9, 2021
777a7f7
Add integtest script to the repo
peterzhuamazon Jul 9, 2021
938611f
Improve osd bootstrap on dub directory
peterzhuamazon Jul 10, 2021
18abf93
Improve osd bootstrap on dub directory
peterzhuamazon Jul 10, 2021
48570bd
Exclude Faulty Integration Test (#122)
davidcui1225 Jul 10, 2021
ae32282
Merge branch 'main' of github.com:opensearch-project/dashboards-repor…
peterzhuamazon Jul 10, 2021
8e2470f
Fix cypress reporting (#123)
davidcui1225 Jul 10, 2021
237a822
Merge pull request #121 from opensearch-project/opensearch-integtest-…
peterzhuamazon Jul 10, 2021
0cc55a9
toggle video on for cypress testing (#124)
davidcui1225 Jul 11, 2021
f44826f
Update Doc Links (#127)
davidcui1225 Jul 14, 2021
ea5dc61
Update template to reflect new branding (#128)
kgcreative Jul 16, 2021
a031386
Update UI for Notifications Integration (#126)
davidcui1225 Jul 19, 2021
0aeccac
Add themed logo to README (#130)
Jul 21, 2021
efb5a90
Fix url validation (#132)
joshuali925 Jul 28, 2021
55ed985
Fix url validation for context menu (#134)
joshuali925 Jul 28, 2021
b3cf1d4
Connect Notifications APIs to Reporting (#131)
davidcui1225 Jul 30, 2021
edc55c0
Fix snapshot build and upgrade to OpenSearch 1.1. (#140)
dblock Aug 19, 2021
622f334
Add release notes for 1.0.1 release (#143)
joshuali925 Aug 30, 2021
49d7937
Bump to 1.1 in main (#150)
davidcui1225 Sep 2, 2021
bf33e63
Bump opensearch ref to 1.1 in CI (#155)
joshuali925 Sep 14, 2021
dc55f62
Removed integtest.sh. (#157)
dblock Sep 17, 2021
1b08bff
Taking RBAC settings from Alerting plugin default to false
akbhatta Sep 22, 2021
c3c8e2f
Merge pull request #165 from akbhatta/main
akbhatta Sep 22, 2021
371f1d1
Bump tmpl from 1.0.4 to 1.0.5 in /dashboards-reports (#164)
dependabot[bot] Oct 1, 2021
9b1ecab
Fix quoting and url-encoding (#153)
kroussou Oct 7, 2021
6d2607b
Integrate notifications backend (#129)
joshuali925 Oct 7, 2021
a238baf
Remove hard coded localhost when calling API (#172)
joshuali925 Oct 7, 2021
5f4ef34
rename plugin helper config file name to consistent with OSD (#180)
Tengda-He Oct 12, 2021
3340e34
Add metrics for sending notifications (#173)
joshuali925 Oct 14, 2021
64c8e30
Add logic to build report detail page link and send as part of messag…
zhongnansu Oct 15, 2021
ecd95c9
Update validation for observability notebooks integration (#174)
joshuali925 Oct 18, 2021
b62ba6e
Build email message from template with reports links (#184)
zhongnansu Oct 18, 2021
b2097b8
Support range filters for csv reports (#185)
joshuali925 Oct 22, 2021
1b96740
Forward extra headers while using headless chromium (#194)
zhongnansu Oct 27, 2021
93d885c
Use advanced settings for date format in csv reports (#186)
joshuali925 Oct 27, 2021
56008de
add check in ReportInstanceActions to fix on demand report creation a…
davidcui1225 Oct 27, 2021
677fbab
Catch Notifications Errors on Details Pages (#197)
davidcui1225 Nov 1, 2021
c7b1c11
remove notifications integration from details pages and update snapsh…
davidcui1225 Nov 2, 2021
24cea4e
fix csv missing metadata fields issue and empty report on all(_source…
zhongnansu Nov 3, 2021
30bd9cf
remove notifications references from create and edit report definitio…
davidcui1225 Nov 3, 2021
b4ec424
refactor logic for creating DSL from saved object using buildOpensear…
zhongnansu Nov 3, 2021
42594da
Remove calling notifications in reports scheduler (#211)
joshuali925 Nov 4, 2021
c8dd5bf
Use advanced settings for csv separator and visual report timezone (#…
joshuali925 Nov 4, 2021
68962b3
Bump to version 1.2 (#203)
kavilla Nov 4, 2021
41523a5
Add dco and release drafter workflows (#217)
joshuali925 Nov 4, 2021
860e89c
update readme notification section (#216)
zhongnansu Nov 4, 2021
ccdadcc
revert paths to opendistro to keep cluster permissions same with ODFE…
davidcui1225 Nov 5, 2021
54b4e6c
Create opensearch-dashboards-reports.release-notes-1.2.0.0.md
kavithacm Nov 5, 2021
d0531f9
Update the copyright notices to reflect OpenSearch Contributors (#220)
davidcui1225 Nov 5, 2021
fe06fd0
changes
kavithacm Nov 5, 2021
f199e40
changes
kavithacm Nov 5, 2021
b686df8
Merge pull request #219 from kavithacm/1.2-release-notes
kavithacm Nov 5, 2021
b941c82
Remove notifications actions in reports scheduler (#221)
joshuali925 Nov 8, 2021
5f01a02
add reporting osd server configurations (#222)
zhongnansu Nov 9, 2021
1fdbadc
Add suggested font packages in troubleshooting tips (#189)
davidcui1225 Nov 10, 2021
ee7c0af
Update Copyright Headers (#226)
davidcui1225 Nov 12, 2021
507299e
Add support for codeowners to repo (#227)
ryanbogan Nov 16, 2021
497ce77
Fix reporting validation for observability (#231)
joshuali925 Nov 17, 2021
9e80976
remove poller code from frontend plugin (#235)
zhongnansu Nov 30, 2021
a2fbbe8
bump reports-scheduler to 1.3 (#241)
zhongnansu Dec 6, 2021
9f4fb7b
Fix apt source and link checker for CI (#245)
joshuali925 Dec 7, 2021
37fe669
Add Case Coverage tests for Create Report Definition (#239)
davidcui1225 Dec 7, 2021
40dc925
add bwc test for reports-scheduler (#244)
zhongnansu Dec 7, 2021
546a128
added code summary table (#243)
ps48 Dec 8, 2021
9daf116
Add Cypress Case Coverage on Details Pages (#250)
davidcui1225 Dec 9, 2021
6f30fc4
add gradle task to run integtest against remote cluster (#247)
zhongnansu Dec 9, 2021
02ae414
added untriaged and nolabel badges
ps48 Dec 17, 2021
4a93401
Merge pull request #259 from ps48/update_readme_badges
ps48 Dec 17, 2021
b08c5b4
bump dashboards-reports version to 1.3 (#265)
zhongnansu Dec 22, 2021
43bc73f
add UT for request/reseponse model (#264)
zhongnansu Dec 22, 2021
aee944b
Add .whitesource configuration file
mend-for-github-com[bot] Jan 11, 2022
d6fba2b
Address Reporting CVEs (#267)
davidcui1225 Jan 11, 2022
4355763
Merge pull request #268 from opensearch-project/whitesource/configure
ps48 Jan 11, 2022
fa3fa18
update yarn lock for cve fixes (#271)
davidcui1225 Jan 11, 2022
fed08aa
add release notes for 1.2.4
davidcui1225 Jan 12, 2022
3bf062e
remove jcenter repo from gradle build
ps48 Jan 13, 2022
48fa2c4
Merge pull request #278 from ps48/jcenter_fix_main
ps48 Jan 14, 2022
7a83ebb
Merge pull request #274 from davidcui1225/1.2.4-release-notes
ps48 Jan 18, 2022
c38ee04
update guava to 31.0.1-jre
ps48 Jan 24, 2022
03ecd26
Merge pull request #282 from ps48/guava_update
ps48 Jan 24, 2022
09fe245
WS package update (#283)
ps48 Jan 29, 2022
3b03b70
add auto-backport functionality for reporting (#286)
davidcui1225 Feb 24, 2022
f581454
Change Default CI version to JDK 11 (#290)
davidcui1225 Mar 1, 2022
a84e4b1
remove incorrect tag form issue template (#294)
zhongnansu Mar 2, 2022
d444010
Fix empty or multiple date values in csv (#293)
zhongnansu Mar 2, 2022
162373e
Update the saved object id matcher regex to match custom id (#295)
zhongnansu Mar 4, 2022
075f5ac
Replace Centos links to fix link checker CI (#297)
davidcui1225 Mar 7, 2022
d28fdd4
update regex to match custom saved object id (#298)
zhongnansu Mar 8, 2022
265e2a7
Fix reporting uuid parsing (#300)
joshuali925 Mar 8, 2022
d52091c
Add java 8 support in compile and test (#304) (#305)
opensearch-trigger-bot[bot] Mar 10, 2022
fec1eaf
Add 1.3 release notes (#307) (#308)
opensearch-trigger-bot[bot] Mar 14, 2022
50cb45b
Bump version to 1.3.1 (#324)
gaiksaya Mar 29, 2022
41c0795
Bump reports dashboards to 1.3.1 (#331)
joshuali925 Apr 5, 2022
c960d80
Incremented version to 1.3.2. (#352)
zelinh Apr 28, 2022
3bb28d1
Version bump 1.3.3
prudhvigodithi Jun 2, 2022
a14baf1
Version bump 1.3.3
prudhvigodithi Jun 3, 2022
8209900
Version bump 1.3.3
prudhvigodithi Jun 3, 2022
1d72c3f
Merge pull request #366 from prudhvigodithi/1.3.3-versionbump
anirudha Jun 6, 2022
7c92fc8
[1.3] Bump minimist to 1.2.6 (#367)
joshuali925 Jun 6, 2022
00ba034
Move HTML sanitization from client to server side (#382) (#386)
joshuali925 Jul 6, 2022
f066c65
Incremented version to 1.3.4. (#389)
zelinh Jul 12, 2022
072ac50
Add release notes for 1.3.4.0 (#393) (#394)
opensearch-trigger-bot[bot] Jul 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This should match the owning team set up in https://github.com/orgs/opensearch-project/teams
* @opensearch-project/dashboards-reports
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: 🐛 Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: 'bug, untriaged, Beta'
labels: 'bug, untriaged'
assignees: ''
---

Expand Down
45 changes: 45 additions & 0 deletions .github/draft-release-notes-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# The overall template of the release notes
template: |
Compatible with OpenSearch and OpenSearch Dashboards Version $RESOLVED_VERSION
$CHANGES
# Setting the formatting and sorting for the release notes body
name-template: Version $RESOLVED_VERSION
change-template: "* $TITLE ([#$NUMBER](https://github.com/opensearch-project/dashboards-reports/pull/$NUMBER))"
sort-by: merged_at
sort-direction: ascending
replacers:
- search: '##'
replace: '###'

# Organizing the tagged PRs into unified categories
categories:
- title: 'Breaking Changes'
labels:
- 'Breaking Changes'
- title: 'Features'
labels:
- 'feature'
- title: 'Enhancements'
labels:
- 'enhancement'
- title: 'Bug Fixes'
labels:
- 'bug'
- title: 'Infrastructure'
labels:
- 'infra'
- 'test'
- 'dependencies'
- 'github actions'
- title: 'Documentation'
labels:
- 'documentation'
- title: 'Maintenance'
labels:
- "version compatibility"
- "maintenance"
- title: 'Refactoring'
labels:
- 'refactor'
- 'code quality'
28 changes: 28 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Backport
on:
pull_request_target:
types:
- closed
- labeled

jobs:
backport:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
name: Backport
steps:
- name: GitHub App token
id: github_app_token
uses: tibdex/github-app-token@v1.5.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780

- name: Backport
uses: VachaShah/backport@v1.1.4
with:
github_token: ${{ steps.github_app_token.outputs.token }}
branch_name: backport/backport-${{ github.event.number }}
29 changes: 15 additions & 14 deletions .github/workflows/dashboards-reports-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ on:

env:
PLUGIN_NAME: reportsDashboards
ARTIFACT_NAME: reports-dashboards
OPENSEARCH_VERSION: '1.0'
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-rc1
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0

jobs:
build:
Expand All @@ -35,7 +36,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "10.23.1"
node-version: "10.24.1"

- name: Move Dashboards Reports to Plugins Dir
run: mv dashboards-reports OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}
Expand Down Expand Up @@ -69,18 +70,18 @@ jobs:
cd build
mkdir -p ./{linux-x64,linux-arm64,windows-x64}/OpenSearch-Dashboards/${{ env.PLUGIN_NAME }}
cp ./${{ env.PLUGIN_NAME }}-*.zip ./linux-x64/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-x64.zip
cp ./${{ env.PLUGIN_NAME }}-*.zip ./linux-arm64/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-arm64.zip
mv ./${{ env.PLUGIN_NAME }}-*.zip ./windows-x64/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-windows-x64.zip
cp ./${{ env.PLUGIN_NAME }}-*.zip ./linux-x64/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-x64.zip
cp ./${{ env.PLUGIN_NAME }}-*.zip ./linux-arm64/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-arm64.zip
mv ./${{ env.PLUGIN_NAME }}-*.zip ./windows-x64/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-windows-x64.zip
s3_prefix="s3://staging.artifacts.opendistroforelasticsearch.amazon.com/snapshots/kibana-plugins/reports/"
cd linux-x64
wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-linux-x64.zip
wget https://github.com/opensearch-project/dashboards-reports/releases/download/chromium-1.12.0.0/chromium-linux-x64.zip
unzip chromium-linux-x64.zip -d ./OpenSearch-Dashboards/${{ env.PLUGIN_NAME }}
rm chromium-linux-x64.zip
zip -ur ./${{ env.PLUGIN_NAME }}-*.zip ./OpenSearch-Dashboards
linux_x64_artifact=`ls ./${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-x64.zip`
zip -ur ./${{ env.ARTIFACT_NAME }}-*.zip ./OpenSearch-Dashboards
linux_x64_artifact=`ls ./${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-x64.zip`
#Inject build number before the suffix and upload to S3
linux_x64_artifact_outfile=`basename ${linux_x64_artifact%.zip}-build-${GITHUB_RUN_NUMBER}.zip`
Expand All @@ -89,11 +90,11 @@ jobs:
cd ..
cd linux-arm64
wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-linux-arm64.zip
wget https://github.com/opensearch-project/dashboards-reports/releases/download/chromium-1.12.0.0/chromium-linux-arm64.zip
unzip chromium-linux-arm64.zip -d ./OpenSearch-Dashboards/${{ env.PLUGIN_NAME }}
rm chromium-linux-arm64.zip
zip -ur ./${{ env.PLUGIN_NAME }}-*.zip ./OpenSearch-Dashboards
linux_arm64_artifact=`ls ./${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-arm64.zip`
zip -ur ./${{ env.ARTIFACT_NAME }}-*.zip ./OpenSearch-Dashboards
linux_arm64_artifact=`ls ./${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-arm64.zip`
#Inject build number before the suffix and upload to S3
linux_arm64_artifact_outfile=`basename ${linux_arm64_artifact%.zip}-build-${GITHUB_RUN_NUMBER}.zip`
Expand All @@ -102,11 +103,11 @@ jobs:
cd ..
cd windows-x64
wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-windows-x64.zip
wget https://github.com/opensearch-project/dashboards-reports/releases/download/chromium-1.12.0.0/chromium-windows-x64.zip
unzip chromium-windows-x64.zip -d ./OpenSearch-Dashboards/${{ env.PLUGIN_NAME }}
rm chromium-windows-x64.zip
zip -ur ./${{ env.PLUGIN_NAME }}-*.zip ./OpenSearch-Dashboards
windows_x64_artifact=`ls ./${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-windows-x64.zip`
zip -ur ./${{ env.ARTIFACT_NAME }}-*.zip ./OpenSearch-Dashboards
windows_x64_artifact=`ls ./${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-windows-x64.zip`
#Inject build number before the suffix and upload to S3
windows_x64_artifact_outfile=`basename ${windows_x64_artifact%.zip}-build-${GITHUB_RUN_NUMBER}.zip`
Expand Down
47 changes: 28 additions & 19 deletions .github/workflows/dashboards-reports-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on: [pull_request, push]

env:
PLUGIN_NAME: reportsDashboards
OPENSEARCH_VERSION: '1.0'
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-rc1
ARTIFACT_NAME: reports-dashboards
OPENSEARCH_VERSION: '1.3'
OPENSEARCH_PLUGIN_VERSION: 1.3.4.0

jobs:
build:
Expand All @@ -24,13 +25,14 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "10.23.1"
node-version: "10.24.1"

- name: Move Dashboards Reports to Plugins Dir
run: mv dashboards-reports OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}

- name: Add Chromium Binary to Reporting for Testing
run: |
sudo apt update
sudo apt install -y libnss3-dev fonts-liberation libfontconfig1
cd OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}
wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-linux-x64.zip
Expand All @@ -49,7 +51,14 @@ jobs:
with:
timeout_minutes: 30
max_attempts: 3
command: cd OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}; yarn test
command: cd OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}; yarn test --coverage

- name: Upload coverage
uses: codecov/codecov-action@v1
with:
flags: dashboards-reports
directory: OpenSearch-Dashboards/plugins/
token: ${{ secrets.CODECOV_TOKEN }}

- name: Build Artifact
run: |
Expand All @@ -58,45 +67,45 @@ jobs:
cd build
mkdir -p ./{linux-x64,linux-arm64,windows-x64}/opensearch-dashboards/${{ env.PLUGIN_NAME }}
cp ./${{ env.PLUGIN_NAME }}-*.zip ./linux-x64/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-x64.zip
cp ./${{ env.PLUGIN_NAME }}-*.zip ./linux-arm64/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-arm64.zip
mv ./${{ env.PLUGIN_NAME }}-*.zip ./windows-x64/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-windows-x64.zip
cp ./${{ env.PLUGIN_NAME }}-*.zip ./linux-x64/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-x64.zip
cp ./${{ env.PLUGIN_NAME }}-*.zip ./linux-arm64/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-arm64.zip
mv ./${{ env.PLUGIN_NAME }}-*.zip ./windows-x64/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-windows-x64.zip
cd linux-x64
wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-linux-x64.zip
wget https://github.com/opensearch-project/dashboards-reports/releases/download/chromium-1.12.0.0/chromium-linux-x64.zip
unzip chromium-linux-x64.zip -d ./opensearch-dashboards/${{ env.PLUGIN_NAME }}
zip -ur ./${{ env.PLUGIN_NAME }}-*.zip ./opensearch-dashboards
mv ./${{ env.PLUGIN_NAME }}-*.zip ..
zip -ur ./${{ env.ARTIFACT_NAME }}-*.zip ./opensearch-dashboards
mv ./${{ env.ARTIFACT_NAME }}-*.zip ..
cd ..
cd linux-arm64
wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-linux-arm64.zip
wget https://github.com/opensearch-project/dashboards-reports/releases/download/chromium-1.12.0.0/chromium-linux-arm64.zip
unzip chromium-linux-arm64.zip -d ./opensearch-dashboards/${{ env.PLUGIN_NAME }}
zip -ur ./${{ env.PLUGIN_NAME }}-*.zip ./opensearch-dashboards
mv ./${{ env.PLUGIN_NAME }}-*.zip ..
zip -ur ./${{ env.ARTIFACT_NAME }}-*.zip ./opensearch-dashboards
mv ./${{ env.ARTIFACT_NAME }}-*.zip ..
cd ..
cd windows-x64
wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-windows-x64.zip
wget https://github.com/opensearch-project/dashboards-reports/releases/download/chromium-1.12.0.0/chromium-windows-x64.zip
unzip chromium-windows-x64.zip -d ./opensearch-dashboards/${{ env.PLUGIN_NAME }}
zip -ur ./${{ env.PLUGIN_NAME }}-*.zip ./opensearch-dashboards
mv ./${{ env.PLUGIN_NAME }}-*.zip ..
zip -ur ./${{ env.ARTIFACT_NAME }}-*.zip ./opensearch-dashboards
mv ./${{ env.ARTIFACT_NAME }}-*.zip ..
cd ..
- name: Upload Artifact For Linux x64
uses: actions/upload-artifact@v1
with:
name: dashboards-reports-linux-x64
path: OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}/build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-x64.zip
path: OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}/build/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-x64.zip

- name: Upload Artifact For Linux arm64
uses: actions/upload-artifact@v1
with:
name: dashboards-reports-linux-arm64
path: OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}/build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-arm64.zip
path: OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}/build/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-linux-arm64.zip

- name: Upload Artifact For Windows
uses: actions/upload-artifact@v1
with:
name: dashboards-reports-windows-x64
path: OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}/build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-windows-x64.zip
path: OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}/build/${{ env.ARTIFACT_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}-windows-x64.zip
18 changes: 18 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Developer Certificate of Origin Check

on: [pull_request]

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/get-pr-commits@v1.1.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: DCO Check
uses: tim-actions/dco@v1.1.0
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
15 changes: 15 additions & 0 deletions .github/workflows/delete_backport_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Delete merged branch of the backport PRs
on:
pull_request:
types:
- closed

jobs:
delete-branch:
runs-on: ubuntu-latest
if: startsWith(github.event.pull_request.head.ref,'backport/')
steps:
- name: Delete merged branch
uses: SvanBoxel/delete-merged-branch@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/draft-release-notes-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release Drafter

on:
push:
branches:
- main

jobs:
update_release_draft:
name: Update draft release notes
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
- name: Update draft release notes
uses: release-drafter/release-drafter@v5
with:
config-name: draft-release-notes-config.yml
tag: (None)
version: 1.3.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Link Checker
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
linkchecker:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: lychee Link Checker
id: lychee
uses: lycheeverse/lychee-action@master
with:
args: --accept=200,403,429 "./**/*.md" "./**/*.txt" --exclude "https://centos.pkgs.org/7/*"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Fail if there were link errors
run: exit ${{ steps.lychee.outputs.exit_code }}
Loading