forked from opensearch-project/alerting
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-picking commits for 1.3 release from main to 1.x (opensearch-p…
…roject#345) * Added support for JDK 8 and 14. (opensearch-project#335) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <[email protected]> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <[email protected]> * Added 1.3 release notes. (opensearch-project#336) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <[email protected]> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <[email protected]> * Add backport and auto delete workflow (opensearch-project#339) Signed-off-by: Annie Lee <[email protected]> * Implemented support for ClusterMetrics monitors (opensearch-project#221) (opensearch-project#342) * Implemented support for LocalUriInput monitors. Signed-off-by: AWSHurneyt <[email protected]> * Refactored feature naming convention from LocalUriInput to ClusterMetricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience. Signed-off-by: AWSHurneyt <[email protected]> * Fixed ktlint errors. Signed-off-by: AWSHurneyt <[email protected]> * Implemented randomClusterMetricsMonitor test helper, and refactored tests accordingly. Signed-off-by: AWSHurneyt <[email protected]> * Renamed some assets to align with the new name for this feature. Signed-off-by: AWSHurneyt <[email protected]> * Refactored cluster metrics feature to remove support for Cat repositories API. Signed-off-by: AWSHurneyt <[email protected]> * Refactored supported JSON payload to return all response fields. Signed-off-by: AWSHurneyt <[email protected]> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <[email protected]> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <[email protected]> * Removing unused connectionTimeout and socketTimeout params. Signed-off-by: AWSHurneyt <[email protected]> * Added cluster metrics monitor to release notes. (opensearch-project#343) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <[email protected]> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <[email protected]> * Added cluster metrics monitor to release notes. Signed-off-by: AWSHurneyt <[email protected]> * Updated DEVELOPER_GUIDE.md and workflows to reference changes to the supported JDKs. (opensearch-project#338) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <[email protected]> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <[email protected]> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <[email protected]> * Added additional release note. Signed-off-by: AWSHurneyt <[email protected]> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <[email protected]> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <[email protected]> * Updated workflows to build using JDK 11. Signed-off-by: AWSHurneyt <[email protected]> * Removing redundant JDK setup step. Signed-off-by: AWSHurneyt <[email protected]> * Fixed guide wording. Signed-off-by: AWSHurneyt <[email protected]> * Fixed guide wording. Signed-off-by: AWSHurneyt <[email protected]> * Reverted bwc workflow JDK. Signed-off-by: AWSHurneyt <[email protected]> Co-authored-by: Annie Lee <[email protected]>
- Loading branch information
1 parent
47c70b8
commit c0cd108
Showing
20 changed files
with
1,392 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
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/[email protected] | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||
installation_id: 22958780 | ||
|
||
- name: Backport | ||
uses: VachaShah/[email protected] | ||
with: | ||
github_token: ${{ steps.github_app_token.outputs.token }} | ||
branch_name: backport/backport-${{ github.event.number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.