forked from opensearch-project/OpenSearch
-
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.
Merge branch 'main' of github.com:opensearch-project/OpenSearch
- Loading branch information
Showing
5,661 changed files
with
95,637 additions
and
37,554 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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 |
---|---|---|
|
@@ -19,3 +19,7 @@ BWC_VERSION: | |
- "2.7.0" | ||
- "2.7.1" | ||
- "2.8.0" | ||
- "2.8.1" | ||
- "2.9.0" | ||
- "2.9.1" | ||
- "2.10.0" |
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1 +1 @@ | ||
* @reta @anasalkouz @andrross @reta @Bukhtawar @CEHENKLE @dblock @gbbafna @setiah @kartg @kotwanikunal @mch2 @nknize @owaiskazi19 @Rishikesh1159 @ryanbogan @saratvemulapalli @shwetathareja @dreamer-89 @tlfeng @VachaShah @dbwiddis | ||
* @reta @anasalkouz @andrross @reta @Bukhtawar @CEHENKLE @dblock @gbbafna @setiah @kartg @kotwanikunal @mch2 @nknize @owaiskazi19 @Rishikesh1159 @ryanbogan @saratvemulapalli @shwetathareja @dreamer-89 @tlfeng @VachaShah @dbwiddis @sachinpkale @sohami @msfroh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
name: Check Compatibility | ||
|
||
on: | ||
pull_request_target | ||
|
||
jobs: | ||
check-compatibility: | ||
if: github.repository == 'opensearch-project/OpenSearch' | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Run compatibility task | ||
run: ./gradlew checkCompatibility -i | tee $HOME/gradlew-check.out | ||
|
||
- name: Get results | ||
run: | | ||
echo '## Compatibility status:' > "${{ github.workspace }}/results.txt" | ||
echo "Checks if related components are compatible with change $(git rev-parse --short HEAD)" >> "${{ github.workspace }}/results.txt" | ||
echo "### Incompatible components" >> "${{ github.workspace }}/results.txt" && grep -e 'Incompatible component' $HOME/gradlew-check.out | sed -e 's/Incompatible component: \[\(.*\)\]/- \1/' >> "${{ github.workspace }}/results.txt" | ||
echo "### Skipped components" >> "${{ github.workspace }}/results.txt" && grep -e 'Skipped component' $HOME/gradlew-check.out | sed -e 's/Skipped component: \[\(.*\)\]/- \1/' >> "${{ github.workspace }}/results.txt" | ||
echo "### Compatible components" >> "${{ github.workspace }}/results.txt" && grep -e 'Compatible component' $HOME/gradlew-check.out | sed -e 's/Compatible component: \[\(.*\)\]/- \1/' >> "${{ github.workspace }}/results.txt" | ||
- name: Upload results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: results.txt | ||
path: ${{ github.workspace }}/results.txt | ||
|
||
add-comment: | ||
needs: [check-compatibility] | ||
permissions: | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download results | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: results.txt | ||
|
||
- name: Add comment on the PR | ||
uses: peter-evans/create-or-update-comment@v3 | ||
with: | ||
issue-number: ${{ github.event.number }} | ||
body-path: results.txt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Add comment | ||
on: | ||
issues: | ||
types: | ||
- labeled | ||
jobs: | ||
add-comment: | ||
if: github.event.label.name == 'poc' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Add comment | ||
uses: peter-evans/create-or-update-comment@v2 | ||
with: | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
### POC Checklist: | ||
Please go through the following checklist to ensure these items are taken into account while designing the POC. | ||
- [ ] Supports safe upgrade paths from all supported BWC versions to the current version | ||
- [ ] Supports compatibility with all plugins | ||
- [ ] opensearch-alerting | ||
- [ ] opensearch-anomaly-detection | ||
- [ ] opensearch-asynchronous-search | ||
- [ ] opensearch-cross-cluster-replication | ||
- [ ] opensearch-geospatial | ||
- [ ] opensearch-index-management | ||
- [ ] opensearch-job-scheduler | ||
- [ ] opensearch-knn | ||
- [ ] opensearch-ml | ||
- [ ] opensearch-notifications | ||
- [ ] opensearch-notifications-core | ||
- [ ] opensearch-observability | ||
- [ ] opensearch-performance-analyzer | ||
- [ ] opensearch-reports-scheduler | ||
- [ ] opensearch-security | ||
- [ ] opensearch-sql | ||
- [ ] Supports lucene upgrades across minor lucene versions | ||
- [ ] Supports lucene upgrades across major lucene versions | ||
- [ ] Supports lucene upgrades across underlying lucene codec bumps (Eg: Lucene95Codec -> Lucene96Codec) | ||
- [ ] Supports wire compatibility of OpenSearch | ||
- [ ] Plan to measure performance degradation/improvement (if any) | ||
- [ ] Plan to document any user facing changes introduced by this feature | ||
- [ ] Ensure working and passing CI | ||
Thank you for your contribution! | ||
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 |
---|---|---|
@@ -1,19 +1,34 @@ | ||
name: Gradle Precommit | ||
name: Gradle Precommit and Asssemble | ||
on: [pull_request] | ||
|
||
jobs: | ||
precommit: | ||
if: github.repository == 'opensearch-project/OpenSearch' | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: adopt | ||
- name: Run Gradle | ||
distribution: temurin | ||
cache: gradle | ||
- name: Run Gradle (precommit) | ||
run: | | ||
./gradlew javadoc precommit --parallel | ||
- name: Setup docker (missing on MacOS) | ||
if: runner.os == 'macos' | ||
run: | | ||
# Workaround for https://github.com/actions/runner-images/issues/8104 | ||
brew remove --ignore-dependencies qemu | ||
curl -o ./qemu.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/f88e30b3a23ef3735580f9b05535ce5a0a03c9e3/Formula/qemu.rb | ||
brew install ./qemu.rb | ||
brew install docker | ||
colima start | ||
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock | ||
- name: Run Gradle (assemble) | ||
run: | | ||
./gradlew assemble --parallel |
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.