-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.x' into backport/backport-655-to-2.x
Signed-off-by: Finn <[email protected]>
- Loading branch information
Showing
125 changed files
with
7,216 additions
and
3,993 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
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 |
---|---|---|
|
@@ -33,20 +33,19 @@ jobs: | |
# this image tag is subject to change as more dependencies and updates will arrive over time | ||
image: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }} | ||
# need to switch to root so that github actions can install runner binary on container without permission issues. | ||
options: --user root | ||
|
||
env: | ||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | ||
options: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-options }} | ||
|
||
steps: | ||
- name: Run start commands | ||
run: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }} | ||
# This step uses the setup-java Github action: https://github.com/actions/setup-java | ||
- name: Set Up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
# This step uses the checkout Github action: https://github.com/actions/checkout | ||
- name: Checkout Branch | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Build with Gradle | ||
id: step-build-test-linux | ||
run: | | ||
|
@@ -60,7 +59,7 @@ jobs: | |
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: async-plugin-linux-${{ matrix.java }} | ||
path: ${{ steps.step-build-test-linux.outputs.build-test-linux }} | ||
|
@@ -79,17 +78,23 @@ jobs: | |
# This job runs on Linux. | ||
runs-on: ubuntu-latest | ||
steps: | ||
# This step uses the setup-java Github action: https://github.com/actions/setup-java | ||
- name: Set Up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin # Temurin is a distribution of adoptium | ||
java-version: ${{ matrix.java }} | ||
- name: Checkout Branch | ||
uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v3 | ||
uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: async-plugin-linux-${{ matrix.java }} | ||
- name: Pull and Run Docker for security tests | ||
run: | | ||
plugin=${{ needs.linux-build.outputs.build-test-linux }} | ||
version=`echo $plugin|awk -F- '{print $3}'| cut -d. -f 1-3` | ||
plugin_version=`echo $plugin|awk -F- '{print $3}'| cut -d. -f 1-4` | ||
qualifier=`echo $plugin|awk -F- '{print $4}'| cut -d. -f 1-1` | ||
version=`echo $plugin|awk -F- '{print $4}'| cut -d. -f 1-3` | ||
plugin_version=`echo $plugin|awk -F- '{print $4}'| cut -d. -f 1-4` | ||
qualifier=`echo $plugin|awk -F- '{print $5}'| cut -d. -f 1-1` | ||
if [ -n "$qualifier" ] && [ "$qualifier" != "SNAPSHOT" ]; then | ||
qualifier=-${qualifier} | ||
|
@@ -135,7 +140,7 @@ jobs: | |
./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" | ||
fi | ||
- name: Upload failed logs | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: logs | ||
|
@@ -154,7 +159,7 @@ jobs: | |
java-version: 11 | ||
# This step uses the checkout Github action: https://github.com/actions/checkout | ||
- name: Checkout Branch | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Build with Gradle | ||
run: ./gradlew.bat build -x integTest -x jacocoTestReport | ||
env: | ||
|
@@ -165,7 +170,7 @@ jobs: | |
cp ./build/distributions/*.zip asynchronous-search-artifacts | ||
# This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: asynchronous-search-plugin-windows | ||
path: asynchronous-search-artifacts | ||
|
@@ -183,7 +188,7 @@ jobs: | |
java-version: 11 | ||
# This step uses the checkout Github action: https://github.com/actions/checkout | ||
- name: Checkout Branch | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Build with Gradle | ||
run: ./gradlew build -x integTest -x jacocoTestReport | ||
env: | ||
|
@@ -194,7 +199,7 @@ jobs: | |
cp ./build/distributions/*.zip asynchronous-search-artifacts | ||
# This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: asynchronous-search-plugin-mac | ||
path: asynchronous-search-artifacts |
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 |
---|---|---|
|
@@ -120,4 +120,3 @@ jobs: | |
with: | ||
name: asynchronous-search-plugin | ||
path: asynchronous-search-artifacts | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
This project follows the [OpenSearch release process](https://github.com/opensearch-project/.github/blob/main/RELEASING.md). | ||
This project follows the [OpenSearch release process](https://github.com/opensearch-project/.github/blob/main/RELEASING.md). |
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.